You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: getaddrinfo ENOTFOUND localhost at errnoException (dns.js:26:10) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26)
I've checked the hosts file and localhost is correctly listed there. I am also using MAMP for another project on port 80, so I tried running the server on a different port with the command webpack-dev-server --port 3001 but got the exact same error. Any ideas why this is happening?
The text was updated successfully, but these errors were encountered:
I'm running Yosemite on a mac. I installed the webpack server ok but when I run the command
webpack-dev-server
I get the error:events.js:154
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND localhost
at errnoException (dns.js:26:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26)
I've checked the hosts file and localhost is correctly listed there. I am also using MAMP for another project on port 80, so I tried running the server on a different port with the command
webpack-dev-server --port 3001
but got the exact same error. Any ideas why this is happening?The text was updated successfully, but these errors were encountered: