已安装 Ionic 2,但它未显示在 ionic 信息上



我安装了Ionic 2和cordova,但它没有显示在ion信息上。所以我无法在我的Windows系统上运行我的ionic项目。

这是ionic info的输出:

E:SandboxionicdemoApp>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:SandboxionicdemoApp>cordova -v
4.3.1

你需要检查,这里是否存在:

C:\Users\yourPC\AppData\Roamingpm

并且您还需要为相同的环境变量设置,请确保您的变量名称 "Path" 都有 npm 和 JDK 的值。 完成此过程后,您的台式机/笔记本电脑可能需要重新启动

相关内容

  • 没有找到相关文章

最新更新