node js npm的安装问题 谢谢

λ npm install -g gulp

npm WARN package.json jwz@1.0.0 No repository field.

npm WARN package.json jwz@1.0.0 No README data

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" "gulp"

npm ERR! node v4.4.4

npm ERR! npm  v2.15.1

npm ERR! code ENOTFOUND

npm ERR! errno ENOTFOUND

npm ERR! syscall getaddrinfo


npm ERR! network getaddrinfo ENOTFOUND server server:80

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! Please include the following file with any support request:

npm ERR!     C:\Users\lenovo\npm-debug.log


一梦千古_
浏览 6090回答 1
1回答

new_object_

更换node版本,比如换成4.2.6试试
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Node.js