Hi there,
i was trying to run the server.js with node server.js
. But it just throw an error “Error: Cannot find module ‘sqlite3’”.
I thought no big deal, i just must install the sqlite3 with npm install sqlite3
.
But this throws an error too:
npm ERR! sqlite3@4.2.0 install:
node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@4.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
It would be great if anyone could help my, by solving this problem.
If you need the full error log just tell me.
Here the link to the project: https://www.codecademy.com/paths/web-development/tracks/sql-for-web-development/modules/project-gold-medal-metrics/informationals/bapi-p5-gold-medal-metrics