Create-react-app: Issue while starting the app using node

Created on 28 Nov 2018  路  2Comments  路  Source: facebook/create-react-app

I am trying to create a react app using the react starter app using the below commands:-

npx create-react-app my-app
cd my-app
npm start
I am getting the below error in my mac which executing this command.

vents.js:167
throw er; // Unhandled 'error' event
^

Error: getaddrinfo ENOTFOUND x86_64-apple-darwin13.4.0
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26)
Emitted 'error' event at:
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1457:12)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:17)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Most helpful comment

@afonsolopez : Type "unset HOST" on the terminal it will solve the issue.

All 2 comments

I'm facing the same issue.

@afonsolopez : Type "unset HOST" on the terminal it will solve the issue.

Was this page helpful?
0 / 5 - 0 ratings