IONIC:实用程序CLI意外关闭 [英] IONIC : A utility CLI has unexpectedly closed
本文介绍了IONIC:实用程序CLI意外关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
运行离子发球机时出现此错误 Ionic CLI将退出.请检查上面的任何输出以获取错误详细信息.
I got this error when i run ionic serve The Ionic CLI will exit. Please check any output above for error details.
我的离子信息
$ionic info
Ionic:
ionic (Ionic CLI) : 4.0.1 (C:\Users\Pc\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.8
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0
System:
Android SDK Tools : 25.3.1
NodeJS : v6.10.1 (C:\Program Files\nodejs\node.exe)
npm : 5.3.0
OS : Windows 10
Environment:
ANDROID_HOME : C:\Users\Pc\AppData\Local\Android\sdk
推荐答案
在Ionic项目的根目录中运行以下命令:
Run the below command, being in root directory of Ionic project:
npm install @ionic/app-scripts@latest --save-dev
然后您可以尝试Ionic Serv或Ionic s.
Then you can try Ionic serve or Ionic s.
这篇关于IONIC:实用程序CLI意外关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文