[]npm install layacmd -g之错
c:\Users\qykings\Documents\h5work\layaGame\trunk>npm install layacmd -g
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" "layacmd" "-g"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code E500
npm ERR! getaddrinfo ENOTFOUND layacmd layacmd:80 : ,layacmd
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! c:\Users\qykings\Documents\h5work\layaGame\trunk\npm-debug.log
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" "layacmd" "-g"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code E500
npm ERR! getaddrinfo ENOTFOUND layacmd layacmd:80 : ,layacmd
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! c:\Users\qykings\Documents\h5work\layaGame\trunk\npm-debug.log
没有找到相关结果
已邀请:
1 个回复
layabox
赞同来自:
1、检查代理或VPN是否开户,如果开启需要关掉。或者删除代理试下:
2、确定是安装源是从官网下载。如果不是删除去官网下一份。
3、如果npm安装成功,但是layacmd安装不成功,则需要先去安装别的模块能不能正常安装,如果别的模块也安装不了。那去检查网络吧,几乎可以判断是网络问题了,是不是防火墙拦了之类的。