1
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module 'quick.db'
Require stack:
- C:\Users\Igor\github\litchbot\index.js

My dependencies:

  "dependencies": {
    "discord.js": "^12.2.0",
    "fs": "0.0.1-security",
    "json": "^9.0.6",
    "quick.db":"^7.1.1"
  }
}
Syntle
  • 5,168
  • 3
  • 13
  • 34
Duca
  • 87
  • 9
  • Did you get any problems with downloading it, or are you sure it downloaded **everything** successfully? If you're using Windows, you can open CMD as administrator (make sure it's as administrator) and type `npm -g install windows-build-tools node-gyp --save` and then download quick.db once its done. – Hao C. May 17 '20 at 03:23
  • Yes! I'm sure! I used this commands: ``npm install --global --production --vs2015 --add-python-to-path windows-build-tools`` ``npm install --global --production --add-python-to-path windows-build-tools node-gyp`` – Duca May 17 '20 at 03:37
  • It is returning this error codes: code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\\Users\\Igor\\github\\litchbot\\index.js' ] – Duca May 17 '20 at 03:40
  • Hmm.. that's weird.. Do you mind trying to install quick.db again and perhaps take a screenshot if you see errors during the download? – Hao C. May 17 '20 at 03:41
  • Ok! I'll try it – Duca May 17 '20 at 03:49
  • I don't know why, but always when I try to install a file with npm, a new terminal open and install the code...And when it's done, I can't see the logs, because the new terminal automatically close. – Duca May 17 '20 at 03:52
  • Weird... Are you sure you did `npm -g install windows-build-tools node-gyp --save` in cmd as administrator? Like exactly `npm -g install windows-build-tools node-gyp --save`? – Hao C. May 17 '20 at 04:15
  • Now, in the installation, I received this inssue: npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 – Duca May 17 '20 at 04:21
  • Well seeing a WARN is usually normal I believe – Hao C. May 17 '20 at 04:24
  • I had these errors: https://i.imgur.com/KmMXCqg.jpg – Duca May 17 '20 at 17:20
  • I see... You opened cmd.exe as administrator right? – Hao C. May 17 '20 at 17:34
  • Yes, I open the PowerShell in administrator – Duca May 17 '20 at 18:24
  • That is very weird... and just double checking, you ran `npm -g install windows-build-tools node-gyp --save` right? – Hao C. May 17 '20 at 18:33
  • In the installation a error ocurrs and show a message like "Node is not an internal program", but the terminal close so fast and I can't read it all, "node is not an internal module" something like this... – Duca May 17 '20 at 18:55
  • How about you add me on Discord, I can try to help you out :) – Hao C. May 17 '20 at 18:57
  • Yes, my discord id is: ~Igor~#3404 – Duca May 17 '20 at 19:02
  • I found the error: 'prebuild-install' is not known as an internal or external command, an operable program or a batch file 'npm' is not recognized as an internal command – Duca May 17 '20 at 19:02

0 Answers0