我安装了Ionic 2和cordova,但它没有显示离子信息。所以我无法在我的Windows系统上运行我的离子项目。
这是ionic info
:
E:\Sandbox\ionic\demoApp>ionic info
******************************************************
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Please install your Cordova CLI to version >=4.2.0 `npm install -g cordova`
******************************************************
Your system information:
Cordova CLI: Not installed
Ionic Framework Version: 2.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.9.5
Xcode version: Not installed
******************************************************
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Please install your Cordova CLI to version >=4.2.0 `npm install -g cordova`
******************************************************
E:\Sandbox\ionic\demoApp>cordova -v
4.3.1
答案 0 :(得分:0)
你需要检查一下,是否存在:
C:\用户\ yourPC \应用程序数据\漫游\ NPM
并且你还需要设置相同的环境变量,确保你的变量名称,"路径"具有npm和JDK的值。 您的桌面/笔记本电脑可能需要在此过程后重新启动