Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module '/usr/src/app/server/node_modules/sqlite3/lib/binding/node-v57-linux-x64/node_sqlite3.node #42

Open
Vineet-Sharma29 opened this issue Feb 2, 2020 · 0 comments

Comments

@Vineet-Sharma29
Copy link
Contributor

I am trying to run client and server services using docker-compose. However on running docker-compose up I am getting following error:-

[nodemon] starting `node server.js`
backend     | module.js:550
backend     |     throw err;
backend     |     ^
backend     | 
backend     | Error: Cannot find module '/usr/src/app/server/node_modules/sqlite3/lib/binding/node-v57-linux-x64/node_sqlite3.node'
backend     |     at Function.Module._resolveFilename (module.js:548:15)
backend     |     at Function.Module._load (module.js:475:25)
backend     |     at Module.require (module.js:597:17)
backend     |     at require (internal/module.js:11:18)
backend     |     at Object.<anonymous> (/usr/src/app/server/node_modules/sqlite3/lib/sqlite3.js:4:15)
backend     |     at Module._compile (module.js:653:30)
backend     |     at Object.Module._extensions..js (module.js:664:10)
backend     |     at Module.load (module.js:566:32)
backend     |     at tryModuleLoad (module.js:506:12)
backend     |     at Function.Module._load (module.js:498:3)
backend     | [nodemon] app crashed - waiting for file changes before starting...
nodecloud-web_sqlite_1 exited with code 0
nodecloud-web_sqlite_1 exited with code 0

I found similar issue here. And according to it nodejs should be down graded to older version.

Need comments from maintainers, what should be done? Would like work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant