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.

"events.js:183 error" after "npm start"

See original GitHub issue

Is this a bug report?

Yes

Did you try recovering your dependencies?

npm --version
5.6.0

Environment

Environment:
  OS:  macOS 10.14.1
  Node:  8.9.4
  Yarn:  Not Found
  npm:  5.6.0
  Watchman:  4.9.0
  Xcode:  Not Found
  Android Studio:  Not Found

Packages: (wanted => installed)
  react: ^16.6.3 => 16.6.3
  react-dom: ^16.6.3 => 16.6.3
  react-scripts: 2.1.1 => 2.1.1

Steps to Reproduce

  1. npm i -g create-react-app
  2. create-react-app my-app
  3. npm start

Expected Behavior

Starting the application in the browser

Actual Behavior


events.js:183
      throw er; // Unhandled 'error' event
      ^
Error: getaddrinfo ENOTFOUND x86_64-apple-darwin13.4.0
    at errnoException (dns.js:50:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)

Unfortunately, this solution does not helps me.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
davidsaccavinocommented, Nov 26, 2018

I fixed this by typing unset HOST in terminal.

0reactions
JABES123commented, Dec 7, 2018

@davidsaccavino, do you know how works unset HOST ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

events.js 183 error in node js - javascript - Stack Overflow
The error code EADDRINUSE indicates that the port you are using for your NodeJS application already is in use. Therefore your NodeJS ...
Read more >
How to Fix "throw er; // Unhandled 'error' event"? - YouTube
... events js183 throw er unhandled error event nodejs events js174 ... npm start error : spawn cmd enoent fs js 1453 throw...
Read more >
cross-env not found on npm run dev - Laracasts
When I run npm run dev, I get the cross-env not found error. My environment, all freshly ... events.js:183\n throw er; // Unhandled...
Read more >
React js Project Giving error on console? - Super User
This error seems to be related to this bug. The problem probably is that you don't have enough space on your disk and...
Read more >
scripts - npm Docs
These scripts happen in addition to the pre<event> , post<event> , and <event> ... Runs BEFORE the package is prepared and packed, ONLY...
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