having some error log usually from sqlite3 will cause my bot to go down on discord.
i usually solve it by typing npm rebuild but this time i get this error after typing it
$ npm rebuild
sqlite3@4.0.1 install /app/node_modules/sqlite3
node-pre-gyp install --fallback-to-build
module.js:550
throw err;
^
Error: Cannot find module ‘/node-pre-gyp/0.10.2/node_modules/node-pre-gyp/bin/node-pre-gyp’
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@4.0.1 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@4.0.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npm-cache/8.15.1/_logs/2019-04-16T15_49_32_751Z-debug.log