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.