错误安装离子科尔多瓦

问题描述:

因此,我正在尝试在计算机上安装ionic cordova,但没有成功.有人可以帮我吗?

So, I'm trying to install ionic cordova in my computer, but don't have sucess. Can anybody help me, please?

npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "c:\Program Files\nodejs\node.exe" "c:\Program Files\n
node_modules\npm\bin\npm-cli.js" "install" "-g" "ionic"
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

我尝试做很多事情:以adm身份执行,然后重新安装. 我的系统是64位 这是我的路径:

I tried do a lot of things: execute as adm, reinstall. My system is 64-bit and this is my path:

C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Users\Cássia\AppData\Local\Android\android-sdk\platform-tools ;C:\Program Files\nodejs\

看到您提供的路径,它仍然缺少npm的路径.我建议您从控制面板中卸载节点,重新启动设备并安装正确版本的节点.对我来说,node version 5.3.0也可以正常工作.但是,安装Node version 0.10.38可能会帮助您解决问题.
我的路径:

Seeing the path that you have provided, it still has the path for npm missing. I recommend you to uninstall the node from control panel, restart your device and install the correct version of node. For me, node version 5.3.0 is working as well. However, installing Node version 0.10.38 may do the trick for you.
My path:

C:\Program Files\Java\jdk1.8.0_65\bin;C:\Program Files (x86)\Android\android-sdk\platform-tools;
C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files (x86)\apache-ant-1.9.6-bin\apache-ant-1.9.6\bin;
C:\Windows\System32;C:\Users\office\AppData\Roaming\npm;