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

Cannot find module '/home/ws-node-demo/dist/server.js #1

Open
Thavaprakash opened this issue Jan 22, 2018 · 0 comments
Open

Cannot find module '/home/ws-node-demo/dist/server.js #1

Thavaprakash opened this issue Jan 22, 2018 · 0 comments

Comments

@Thavaprakash
Copy link

Thavaprakash commented Jan 22, 2018

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:

@Thavaprakash Thavaprakash changed the title Cannot find module '/home/administrator/workspace/ws-node-demo/dist/server.js Cannot find module '/home/ws-node-demo/dist/server.js Jan 22, 2018
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