App is stuck trying to start up -- Sqlite3 not found

Help please! My app (bloomx-currency-bot) suddenly stopped working today and seems to be stuck at boot. The issue appears to be with SQLite3.

internal/modules/cjs/loader.js:584

11:44 AM

throw err;

11:44 AM

^

11:44 AM

11:44 AM

Error: Cannot find module 'sqlite3'

11:44 AM

at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)

11:44 AM

at Function.Module._load (internal/modules/cjs/loader.js:508:25)

11:44 AM

at Module.require (internal/modules/cjs/loader.js:637:17)

11:44 AM

at require (internal/modules/cjs/helpers.js:22:18)

11:44 AM

Jump Toat Object.<anonymous> (/app/app.js:14:15)

Just checked from Console and although I can load my sqlite3 from the command line it spits out:

sqlite3 .data/prod.db
SQLite version 3.11.0 2016-02-15 17:29:24
Enter ".help" for usage hints.
sqlite> select * from admins;
Error: unable to open database ".data/prod.db": unable to open database file

Same thing here, think pnpm is not working.

1 Like

this is the standalone cli tool, which is installed in the project container, independently of the sqlite3 npm module.

ok fair enough – although not sure what to do about my app not starting