2016-09-06 65 views
0

上安装StrongLoop我在窗口,我尝试使用Node.js的命令行安装StrongLoop:不能在我的机器

npm install -g strongloop,我得到这个错误:

npm ERR! network read ECONNRESET 
npm ERR! network This is most likely not a problem with npm itself 
npm ERR! network and is related to network connectivity. 
npm ERR! network In most cases you are behind a proxy or have bad network settings. 
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 10.0.10586 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "strongloop" 

有我的网络连接没有问题。我不明白什么是错的。

+0

这是否发生其他模块?这很可能与防火墙或整体连接问题有关。 – broguinn

回答

0

它也可能是用户权限错误。也许你需要root权限或以管理员身份运行它。

相关问题