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

generator-angular安装不了?

C:\Users\Administrator> npm install -g generator-angular

npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail o

n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible

. Use 'npm ls graceful-fs' to find it in the tree.

npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher

 to avoid a RegExp DoS issue

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" "-g" "generator-angular"

npm ERR! node v6.9.2

npm ERR! npm  v3.10.9

npm ERR! code ECONNRESET

npm ERR! errno ECONNRESET

npm ERR! syscall read


npm ERR! network read ECONNRESET

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 settin

gs.

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\Administrator\npm-debug.log


正在回答

2 回答

重新下载一个nojs试试 去官网下载

0 回复 有任何疑惑可以回复我~

请问怎么解决的??

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

generator-angular安装不了?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信