getaddrinfo ENOTFOUND when starting GUI with `vue ui`
See original GitHub issueVersion
3.9.2
Environment info
System:
OS: macOS High Sierra 10.13.6
CPU: (8) x64 Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
Binaries:
Node: 11.15.0 - ~/.nvm/versions/node/v11.15.0/bin/node
Yarn: Not Found
npm: 6.9.2 - ~/.nvm/versions/node/v11.15.0/bin/npm
Browsers:
Chrome: 75.0.3770.100
Firefox: 67.0.4
Safari: 12.1.1
npmGlobalPackages:
@vue/cli: 3.9.2
Steps to reproduce
vue ui
produces this error:
Renes-MacBook-Pro:03 – Der Konfigurator reneeschke$ vue ui
🚀 Starting GUI...
events.js:170
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND localhost
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:26)
Emitted 'error' event at:
at Server.emit (events.js:193:13)
at Server.EventEmitter.emit (domain.js:481:20)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1443:12)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:58:17)
I tried it with node v10.7.0
and npm v6.9.0
and still the same error.
Macbook reboot and reinstalling @vue/cli
also didn’t work.
I don’t know what changed– I had it working a few days back.
What is expected?
Working vue ui 😦
What is actually happening?
It’s not!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Run vue project getaddrinfo ENOTFOUND localhost error
Check if there is already any service running on that host and port. In my case, I was trying to run it on...
Read more >Node.js Error Message “getaddrinfo ENOTFOUND localhost ...
Today I want to go over a quick fix to an error that had me very confused when I first started my program...
Read more >activeevents.js:173_WenZheSpace的博客 - CSDN博客
vue 运行时报错:一般是运行vue 项目或node时报这种错误,但解决办法都一样C:\Users\Administrator\Desktop\code>vue ui Starting GUI.
Read more >[Solved]-How can I safely change listeners?-Java - appsloveworld.com
It all depends on whether you are creating new labels or not, and whether you want to dispose of Fonts immediately or only...
Read more >Vue CLIのGUIによるツールでプロジェクトを生成したい - Teratail
環境OS: macOS Catalina 10.15.7 Vue CLI -> v4.5.11 プラウザ:Google Chrome ### やっ ... could not be established, cause=getaddrinfo ENOTFOUND proxyserver\".
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please make sure the following line exists (and not commented out) in your
/etc/hosts
@sodatea , API which i was using is a local VM API, I was trying to hit that API from AWS server, That was the error. Thanks for your response.