I can’t open the browser with live reload, i google it and try some ,but none of them works, so what should i do? Thanks in advance.
➜ Diana $ ionic serve
Native thread-sleep not available.
This will result in much slower performance, but it will still work.
You should re-install spawn-sync or upgrade to the lastest version of node if possible.
Check /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/cross-spawn/node_modules/spawn-sync/error.log for more details
The port 8100 was taken on the host localhost - using port instead
Gulp startup tasks: 0=sass, 1=watch
Running live reload server: undefined
Watching: 0=www//*, 1=!www/lib//*
Running dev server: http://localhost:
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exit
ionic $
events.js:72
throw er; // Unhandled ‘error’ event
^
Error: getaddrinfo ENOTFOUND
at errnoException (dns.js:37:11)
at Object.onanswer [as oncomplete] (dns.js:124:16)
➜ Diana [11:50:59] Using gulpfile ~/Desktop/Diana/Diana/gulpfile.js
[11:50:59] Starting ‘sass’…
[11:50:59] Starting ‘watch’…
[11:50:59] Finished ‘watch’ after 8.59 ms
[11:51:00] Finished ‘sass’ after 980 ms
➜ Diana ionic info
Your system information:
Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.1.1
Ionic CLI Version: 1.7.11
Ionic App Lib Version: 0.6.5
ios-deploy version: Not installed
ios-sim version: 5.0.4
OS: Mac OS X El Capitan
Node Version: v0.10.29
Xcode version: Xcode 7.1 Build version 7B91b
Dependency warning - for the CLI to run correctly,
it is highly suggested to install/upgrade the following:
Please update your Node runtime to version >=0.12.x
Install ios-deploy to deploy iOS applications to devices. npm install -g ios-deploy
(may require sudo)