Node.js 获取npm安装错误

Node.js 获取npm安装错误,node.js,npm,Node.js,Npm,当我尝试npm安装时,我遇到以下错误。请告诉我这个问题可能存在的问题和解决方案 npm ERR! network tunneling socket could not be established, cause=connect ECONNR EFUSED npm ERR! network This is most likely not a problem with npm itself npm ERR! network and is related to network connectivity

当我尝试npm安装时,我遇到以下错误。请告诉我这个问题可能存在的问题和解决方案

npm ERR! network tunneling socket could not be established, cause=connect ECONNR
EFUSED
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 settin
gs.
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! System Windows_NT 6.1.7601
npm ERR! command "d:\\Program Files\\nodejs\\node.exe" "d:\\Program Files\\nodej
s\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd d:\Asgard_Odin\odin\asgard-framework
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code ECONNRESET
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     d:\Asgard_Odin\odin\asgard-framework\npm-debug.log
npm ERR! not ok code 0

此错误可能由多种原因造成:

  • npm服务器出现一些问题。尝试一个mirrow,例如:
  • 你在防火墙后面?试着为npm做些准备

嗯,您看到错误消息了吗?这是代理问题吗?