@ejerskov wrote:
When running
ionic serve --labI suddenly get this error:[INFO] Waiting for connectivity with ng... > ionic-lab http://localhost:8100 --host localhost --port 8200 --project-type angular --app-name foodioApp --app-version 0.0.1 [lab] events.js:174 [lab] throw er; // Unhandled 'error' event [lab] ^ [lab] Error: getaddrinfo ENOTFOUND localhost [lab] at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26) [lab] Emitted 'error' event at: [lab] at GetAddrInfoReqWrap.doListen [as callback] (net.js:1455:12) [lab] at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:17) [ERROR] ionic-lab has unexpectedly closed (exit code 1). The Ionic CLI will exit. Please check any output above for error details.This is my
ionic info:Ionic: ionic (Ionic CLI) : 4.10.2 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 4.6.0 @angular-devkit/build-angular : 0.13.9 @angular-devkit/schematics : 7.2.4 @angular/cli : 7.3.9 @ionic/angular-toolkit : 1.4.1 Cordova: cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : ios 4.5.5 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 6 other plugins) System: ios-deploy : 1.9.4 ios-sim : ios-sim/9.0.0-dev.1 darwin-x64 node-v10.15.1 NodeJS : v10.15.1 (/usr/local/bin/node) npm : 6.4.1 OS : macOS Mojave Xcode : Xcode 10.2.1 Build version 10E1001
Posts: 1
Participants: 1