当我运行ionic serve时,我的web浏览器中没有显示任何内容
ionic serve这是我收到的:
Monas-MacBook-Pro:myDemoApp mona$ ionic serve
The port 35729 was taken on the host localhost - using port 35730 instead
Running live reload server: http://localhost:35730
Watching : [ 'www/**/*', '!www/lib/**/*' ]
Running dev server: http://localhost:8100
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 $ An uncaught exception occured and has been reported to Ionic
listen EADDRINUSE (CLI v1.5.0)
Your system information:
Cordova CLI: 5.0.0
Gulp version: CLI version 3.9.0
Gulp local:
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.0
Ionic App Lib Version: 0.1.0
ios-deploy version: Not installed
ios-sim version: 3.1.1
OS: Mac OS X Mavericks
Node Version: v0.10.24
Xcode version: Xcode 6.2 Build version 6C131e 出现这种情况的原因是什么?如何解决?
发布于 2015-06-09 20:05:42
侦听EADDRINUSE (CLI v1.5.0)表示地址正在使用中。
请在终端上尝试"killall ionic“杀死端口上正在运行的ionic进程,并使用"ionic server”重启服务器。
https://stackoverflow.com/questions/30725560
复制相似问题