LoopBack 安装失败,错误代码为 "ECONNRESET"
LoopBack installation failed with error code "ECONNRESET"
我想关注this tutorial and one of the first steps - the installation of LoopBack失败了。
type npm-debug.log
告诉:
41099 error argv "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js"
"install" "-g" "strongloop"
41100 error node v0.12.2
41101 error npm v2.7.4
41102 error code ECONNRESET
41103 error errno ECONNRESET
41104 error syscall read
41105 error network read ECONNRESET
41105 error network This is most likely not a problem with npm itself
41105 error network and is related to network connectivity.
41105 error network In most cases you are behind a proxy or have bad network settings.
41105 error network
41105 error network If you are behind a proxy, please make sure that the
41105 error network 'proxy' config is set properly. See: 'npm help config'
41106 verbose exit [ 1, true ]
最容易混淆的行是:
This is most likely not a problem with npm itself
In most cases you are behind a proxy or have bad network settings
我没有使用代理,事实上,我是从同一台机器上向 SO 发布问题的,这让我假设网络设置没问题。这里可能有什么问题?
P.S: 看看其他关于 node.js 的问题,希望这个问题得到解答的希望和遵循节点路径的愿望正在消失。
(把我最初写的这个答案作为评论放在这里,因为 OP 说它对他们有用。)
如果如您所说,您没有使用代理等,请重新安装。您的终端或您与 npm 注册表之间的任何地方可能刚刚出现临时网络故障。
我想关注this tutorial and one of the first steps - the installation of LoopBack失败了。
type npm-debug.log
告诉:
41099 error argv "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js"
"install" "-g" "strongloop"
41100 error node v0.12.2
41101 error npm v2.7.4
41102 error code ECONNRESET
41103 error errno ECONNRESET
41104 error syscall read
41105 error network read ECONNRESET
41105 error network This is most likely not a problem with npm itself
41105 error network and is related to network connectivity.
41105 error network In most cases you are behind a proxy or have bad network settings.
41105 error network
41105 error network If you are behind a proxy, please make sure that the
41105 error network 'proxy' config is set properly. See: 'npm help config'
41106 verbose exit [ 1, true ]
最容易混淆的行是:
This is most likely not a problem with npm itself In most cases you are behind a proxy or have bad network settings
我没有使用代理,事实上,我是从同一台机器上向 SO 发布问题的,这让我假设网络设置没问题。这里可能有什么问题?
P.S: 看看其他关于 node.js 的问题,希望这个问题得到解答的希望和遵循节点路径的愿望正在消失。
(把我最初写的这个答案作为评论放在这里,因为 OP 说它对他们有用。)
如果如您所说,您没有使用代理等,请重新安装。您的终端或您与 npm 注册表之间的任何地方可能刚刚出现临时网络故障。