安装离子框架时出错 [英] Error while installing ionic framework

查看:91
本文介绍了安装离子框架时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我查看了其他问题和答案,但我的问题仍未解决。

I have looked at the other questions and answers but still my issue is not solved.

我已成功安装node.js
节点版本:0.12 .7
NPM版本:2.11.3

I have successfully installed node.js Node version: 0.12.7 NPM version: 2.11.3

现在当我安装Cordova时,有一些警告,但它确实安装了。

Now when I install Cordova, there are some warnings but it does get installed.

之后当我尝试安装离子时,它会显示所有错误并且不会安装。

After that when I try to install ionic, it shows all errors and doesn't install.

我在Windows机器上..所以我没有在命令中使用'sudo'。

I am on a Windows machine... so I am not using the 'sudo' in the command.

我还没有尝试过安装JDK,Apache Ant和Android SDK。安装时是否需要它们?

I haven't also tried to install the JDK, Apache Ant and Android SDK. Are they needed while installing?

如果你想截图,请告诉我。
谢谢

Please let me know if you want screenshots. Thank you

推荐答案

在windows系统中没有必要编写sudo,我们可以使用npm install -g ionic安装离子框架

工作步骤Ionic Framework

1)你必须安装nodeJS

2)你必须安装Java并配置它环境变量中的路径。

3)你必须安装Apache-ant

4)你必须安装Android-sdk并在环境变量中配置它的路径

供参考,请参阅以下链接安装Ionic Framework Windows7,8上的Ionic frameowrk ¥b $ b如有任何疑问,请回复

In windows system there is no need to write sudo,we can use npm install -g ionic to install ionic framework
Steps to work Ionic Framework
1)you have to install nodeJS
2)you have to install Java and configure it's path in environmental variables.
3)you have to install Apache-ant
4)you have to install Android-sdk and configure it's path in environmental variables
for reference please see these links Install Ionic Framework, Ionic frameowrk on windows7,8
For any queries reply

这篇关于安装离子框架时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆