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.
I'm facing the same issue.
@afonsolopez : Type "unset HOST" on the terminal it will solve the issue.
Most helpful comment
@afonsolopez : Type "unset HOST" on the terminal it will solve the issue.