小编Bhu*_*a K的帖子

错误:getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443

我正在建立一个企业网络.

试图安装npm.但是我一次又一次地收到这个错误.

$ npm install
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program     Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.1.0
npm ERR! npm  v3.8.6
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo

npm ERR! network getaddrinfo ENOTFOUND registry.npmjs.org    registry.npmjs.org:443
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 …
Run Code Online (Sandbox Code Playgroud)

windows node.js npm angularjs npm-install

18
推荐指数
5
解决办法
6万
查看次数

标签 统计

angularjs ×1

node.js ×1

npm ×1

npm-install ×1

windows ×1