Skip to content

getaddrinfo ENOTFOUND when starting GUI with vue ui #4263

@katerlouis

Description

@katerlouis

Version

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions