为了账号安全,请及时绑定邮箱和手机立即绑定

node js npm的安装问题 谢谢

node js npm的安装问题 谢谢

一梦千古_ 2016-05-11 23:47:14
λ npm install -g gulpnpm WARN package.json jwz@1.0.0 No repository field.npm WARN package.json jwz@1.0.0 No README datanpm ERR! Windows_NT 10.0.10586npm 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.4npm ERR! npm  v2.15.1npm ERR! code ENOTFOUNDnpm ERR! errno ENOTFOUNDnpm ERR! syscall getaddrinfonpm ERR! network getaddrinfo ENOTFOUND server server:80npm ERR! network This is most likely not a problem with npm itselfnpm 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! networknpm ERR! network If you are behind a proxy, please make sure that thenpm 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
查看完整描述

1 回答

?
new_object_

TA贡献55条经验 获得超117个赞

更换node版本,比如换成4.2.6试试

查看完整回答
反对 回复 2016-06-15
  • 1 回答
  • 0 关注
  • 6089 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信