question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't npm start in a new app

See original GitHub issue

HI 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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
keyzcommented, Jul 23, 2016

No, our error message should be better 😃

0reactions
kuznetscommented, Sep 23, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found