Can't npm start in a new app
See original GitHub issueHI everybody,
I’m doing npm start in a just created app and it won’t work. it throws the following:
events.js:160
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE 127.0.0.1:3000
at Object.exports._errnoException (util.js:1012:11)
at exports._exceptionWithHostPort (util.js:1035:20)
at Server._listen2 (net.js:1252:14)
at listen (net.js:1288:10)
at net.js:1398:9
at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:65:16)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:84:10)
Also, I have npm 3.10.3 node 6.3.1 in a ubuntu machine.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
npm start fails after creating a new react project using create ...
I created/initialised the project using npx create-react-app dashboard . After going inside the dashboard folder and running npm start ...
Read more >How to fix npm start command not working - Nathan Sebhastian
How to fix npm start command not working · Check if you have a package.json file in your project · Check if you...
Read more >Can't `npm start` new app, SyntaxError: Unexpected token ...
My steps to the error: npm install -g create-react-app ... Can't npm start new app, SyntaxError: Unexpected token => on a fresh install...
Read more >Old React App Not Starting | Solution | Yarn Start Error
I created this app one and half year ago. I used create-reat- app to start this react project. Node JS has been upgraded,...
Read more >How to fix npm start not working error in React JS - YouTube
How to solve npm err code enoent error syscall open no such file or directory , npm start not working in react js...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No, our error message should be better 😃
Hi, I get same error at the first app start. I check 3000 port with netstat -natp it is clean. I check npm process with ps aux | grep npm it is not started. I try “PORT=3005 npm start” and get same error.