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

Failed at the [email protected] start script 'node app.js' #4

Open
MuhammadTamzid opened this issue May 31, 2016 · 3 comments
Open

Comments

@MuhammadTamzid
Copy link

after run npm start raise this error

[email protected] start /home/tamzid/workspace/react/chat_demo
node app.js

events.js:141
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE :::3000
at Object.exports._errnoException (util.js:870:11)
at exports._exceptionWithHostPort (util.js:893:20)
at Server._listen2 (net.js:1234:14)
at listen (net.js:1270:10)
at Server.listen (net.js:1366:5)
at Object. (/home/tamzid/workspace/react/chat_demo/app.js:29:8)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)

npm ERR! Linux 3.19.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.4.3
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node app.js'.
npm ERR! This is most likely a problem with the reactjs-socket-io-chat-app package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node app.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs reactjs-socket-io-chat-app
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls reactjs-socket-io-chat-app
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/tamzid/workspace/react/chat_demo/npm-debug.log

@ribeiroevandro
Copy link

This is looking like permission error, a module is not installed properly, tried to run using sudo or giving permission for your user?
I run here and had no problems, I believe that it can be...

@ppozniak
Copy link

Isn't Error: listen EADDRINUSE :::3000 thrown when port 3000 is already in use?

@Paramchoudhary
Copy link

install node module or copy paste N.M. in the folder.

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

4 participants