"events.js:183 error" after "npm start"
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
npm i -g create-react-appcreate-react-app my-appnpm 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.
almost the same thing happends to me when i run yarn start and it worked a few days ago, events.js:167 throw er; // Unhandled 'error' event
almost the same thing happends to me when i run yarn start and it worked a few days ago, events.js:167 throw er; // Unhandled 'error' event
As I see, the exact line (183/167/...) depends on version of Node, because I had yours while I was testing different approaches.
I fixed this by typing unset HOST in terminal.
I fixed this by typing
unset HOSTin terminal.
That works for me. Thank you!
@davidsaccavino, do you know how works unset HOST ?