无法安装离子框架

时间:2017-03-18 16:10:30

标签: cordova ionic-framework npm install

尝试安装离子框架以开始应用程序开发并继续获取限制我实际安装软件的这些警告

我尝试更新节点,但它没有帮助

npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated node-uuid@1.3.3: use uuid module instead
/Users/tyler/bin/cordova -> /Users/tyler/lib/node_modules/cordova/bin/cordova
/Users/tyler/bin/ionic -> /Users/tyler/lib/node_modules/ionic/bin/ionic
/Users/tyler/lib
├── cordova@6.5.0 
└── ionic@2.2.1 

npm WARN In ionic@2.2.1 replacing bundled version of mime-types with mime-types@2.0.14
npm WARN In ionic@2.2.1 replacing bundled version of cross-spawn with cross-spawn@4.0.2
npm WARN In ionic@2.2.1 replacing bundled version of semver with semver@4.2.0
npm WARN In ionic@2.2.1 replacing bundled version of form-data with form-data@0.2.0
npm WARN In ionic@2.2.1 replacing bundled version of request with request@2.51.0
npm WARN In ionic@2.2.1 replacing bundled version of ionic-app-lib with ionic-app-lib@2.2.0

1 个答案:

答案 0 :(得分:0)

确保您的系统上安装了最新版本的Node.js。如果您没有安装Node.js,则可以安装它。

Open your CMD enter
 npm install -g cordova ionic
2: install cordova 
npm install -g cordova ionic