Ionic服务未捕获的异常



当我运行ionic service时,浏览器中没有显示任何内容

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 

这个问题的原因是什么?如何解决?

listen EADDRINUSE (CLI v1.5.0)表示地址正在使用

请打开终端,使用"killall ionic"命令终止正在运行的ionic进程,并使用"ionic serve"命令重新启动服务器。

相关内容

最新更新