Hi,
I'm getting below error after runing npm run start
[email protected] start:simple /home/ws-node-demo
node ./dist/server.js
module.js:538
throw err;
^
Error: Cannot find module '/home/ws-node-demo/dist/server.js'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:simple: node ./dist/server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start:simple script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
ERROR: "start:simple" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: npm-run-all -s clean build start:simple
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: