Discord bot wont go online with error on sqlite3


#1

here is my URL

i am getting some error log this morning and prevented my bot to go online.

Error: Cannot find module ‘/rbd/pnpm-volume/7dee5140-a74d-4228-a09d-27f556cebcb1/node_modules/.registry.npmjs.org/sqlite3/3.1.13/node_modules/sqlite3/lib/binding/node-v57-linux-x64/node_sqlite3.node’

at Function.Module._resolveFilename (module.js:489:15)

at Function.Module._load (module.js:439:25)

at Module.require (module.js:517:17)

at require (internal/module.js:11:18)

at Object.<anonymous> (/rbd/pnpm-volume/7dee5140-a74d-4228-a09d-27f556cebcb1/node_modules/.registry.npmjs.org/sqlite3/3.1.13/node_modules/sqlite3/lib/sqlite3.js:4:15)

at Module._compile (module.js:573:30)

at Object.Module._extensions..js (module.js:584:10)

at Module.load (module.js:507:32)

at tryModuleLoad (module.js:470:12)

at Function.Module._load (module.js:462:3)

not sure why tho this happen.


#2

Running npm rebuild in your console should solve the problem.