Sqlite3 problem

Error: Cannot find module ‘/rbd/pnpm-volume/c58b72b4-288c-4e7f-bd3b-213eb365eebb/node_modules/.registry.npmjs.org/sqlite3/3.1.13/node_modules/sqlite3/lib/binding/node-v59-linux-x64/node_sqlite3.node’ I get this error how do I fix it

Hi :slight_smile:

You have to use node 8, as the sqlite package doesn’t support node 9. In package.json, set node to “8.x”

so do nvm use 8.0.0?

No, in package.json, the section

"engines": {
  "node": "9.x"

has to be changed to:

"engines": {
  "node": "8.x"

then close and reopen any Console window you have open to get the change there too.

Okay I’ll try that ty for the help

throw err;
Error: Cannot find module ‘/rbd/pnpm-volume/c58b72b4-288c-4e7f-bd3b-213eb365eebb/node_modules/.registry.npmjs.org/sqlite3/3.1.13/node_modules/sqlite3/lib/binding/n
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/rbd/pnpm-volume/c58b72b4-288c-4e7f-bd3b-213eb365eebb/node_modules/.registry.npmjs.org/sqlite3/3.1.13/node_modules/sqlite3/lib/sqlite3.j
at Module._compile (module.js:652:30)
at Object.Module._extensions…js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3) I get this error still when I try to run my bot