执行npm install安装的时候报错
发布于 9天前 作者 WebHunters 162 次浏览 最后一次编辑是 8天前 来自 问答

报错如下:

npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND
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! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "supervisor"
npm ERR! cwd C:\Users\A4080924\WebstormProjects\blog2\microblog
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! code ECONNRESET
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\A4080924\WebstormProjects\blog2\microblog\npm-debug.log
npm ERR! not ok code 0
3 回复

@jysperm 大神,能说清楚点呢

一直使用npm install都会碰到这个问题,求各位大神给条活路啊,根本学习不下去了

回到顶部