ionic $ An uncaught exception occured and has been reported to Ionic

时间:2015-07-29 00:30:38

标签: cordova ionic-framework bower

first my project is work fine..... After restart System it show me the error(ionic $ An uncaught exception occured and has been reported to Ionic)

Gulp startup tasks: [ 'sass', 'watch' ] Running live reload server: http://localhost:35729 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

spawn cmd ENOENT (CLI v1.4.5)

Your system information:

Cordova CLI: 5.1.1 Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.0 Ionic Version: 1.0.0 Ionic CLI Version: 1.4.5 Ionic App Lib Version: 0.0.22 OS: Windows 7 SP1 Node Version: v0.12.7

reinstall npm-ionic,bower,cordova but still problem not solved. please help me thank you

1 个答案:

答案 0 :(得分:0)

  1. 最后的手段。重启你的电脑。
  2. 此错误基本上来自     ionic-cli,可能的解决方案会杀死所有正在运行的npm服务器     你当地的机器。
  3. 删除最新的cli版本并安装         旧版本的ionic-cli。