0

This is my error. I constantly keep getting this error while trying to npm install quick.db

I am using Visual Studio Code, Node version 17.0.0, discord.js version 13.3.1, please help me, any help would be appreciated.

Lapuroid
  • 23
  • 1
  • 5

1 Answers1

1

See the installation section of quick.db

enter image description here

Troubleshooting quick.db/better-sqlite3 installation

  1. Make sure you're using nodejs v10.20.1 or later

  2. Make sure you have node-gyp globally installed, including all of its dependencies. On Windows you may need to configure some things manually. Use npm ls node-gyp to make sure none of your local packages installed an outdated version of node-gyp that is used over the global one.

  3. If you're using Electron, try running electron-rebuild

  4. If you're using Windows, follow these steps. Do them in this order, and don't skip steps.

    1. Install the latest of node 10, 12, or 14.
    2. Install latest Visual Studio Community and Desktop Development with C++ extension.
    3. Install latest Python.
    4. Run following commands:
    npm config set msvs_version 2019
    npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe"
    
    1. Run npm install quick.db
Andromeda
  • 340
  • 4
  • 9