在升级了我的所有软件包之后,一旦我运行gulp,这就是我得到的 TypeError: Invalid Version: Not installedInvalid Version: Not installed (CLI v1.6.1)'run-ionic' errored after 12 s[10:12:30] Error in plugin 'gulp-shell'Messa
TypeError: Invalid Version: Not installed Invalid Version: Not installed (CLI v1.6.1) 'run-ionic' errored after 12 s [10:12:30] Error in plugin 'gulp-shell' Message: Command `ionic serve` failed with exit code 1
和:
Invalid Version: Not installed (CLI v1.6.1) Your system information: Cordova CLI: Not installed Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.0 Ionic Version: 1.0.0-nightly-1299 Ionic CLI Version: 1.6.1 Ionic App Lib Version: 0.3.3 OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Node Version: v0.12.4
我该怎么办 ?
我试图启动一个新的离子应用程序并得到相同的错误.我猜你已经安装了npm,但没有安装Cordova CLI,所以我建议你在npm安装在终端上.sudo npm install -g cordova
它对我有用,我希望它对你有所帮助.