在Windows上安装离子10

时间:2016-07-19 19:02:39

标签: node.js windows cordova mobile ionic-framework

我正在尝试使用以下命令ionic在Windows 10上安装npm install -g cordova ionic但是我收到以下错误:

npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Admin\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "-g" "cordova" "ionic"
npm ERR! node v6.3.0
npm ERR! npm v3.10.5
npm ERR! code EADDRINUSE
npm ERR! errno EADDRINUSE
npm ERR! syscall connect

npm ERR! connect EADDRINUSE 151.101.16.162:80 - Local (undefined:undefined)
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! C:\Windows\system32\npm-debug.log

日志的内容为npm-debug.log

我当前的系统路径:

C:\Program Files (x86)\PC Connectivity Solution\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\‌​Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\Admin\Downloads\gradle-2.13-all\gradle-2.13\bi‌​n;C:\Program Files\Git\cmd;C:\Program Files (x86)\Windows Live\Shared;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs\;C:\Users\Admin\AppData\Roaming\npm

如果有人可以提供帮助,那就太棒了

0 个答案:

没有答案