【发布时间】:2017-07-27 09:09:01
【问题描述】:
使用 Ionic 3 / AngularJS 开发移动应用程序,我的 CLI 最近非常(!)慢。当我键入命令并按 Enter 键时,大约需要 30 - 120 秒才能开始执行命令。当我运行ionic cordova run android 时,性能特别差。这需要长达 10 分钟,这真是令人沮丧。
我已经尝试过npm rebuild node-sass,但是这并没有提高性能。
我在 Windows 10 上使用命令行工具 Cmder。但是,当我改用 Git Bash 时会出现同样的问题。
Ionic Info 给我:
global packages:
@ionic/cli-utils : 1.5.0
Cordova CLI : 7.0.1
Ionic CLI : 3.5.0
local packages:
@ionic/app-scripts : 2.1.0
@ionic/cli-plugin-cordova : 1.4.1
@ionic/cli-plugin-ionic-angular : 1.3.2
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.5.3
System:
Node : v6.11.1
OS : Windows 10
Xcode : not installed
ios-deploy : not installed
ios-sim : not installed
npm : 3.10.10
如果有任何建议,我会很高兴...
【问题讨论】:
标签: angularjs node.js cordova command-line-interface ionic3