generator-angular安装不了?

来源:3-1 Yeoman实践

zhangdulin

2017-01-02 11:33

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回答

  • 咕咕问
    2017-01-09 14:55:25

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

  • zhangdulin
    2017-01-02 11:34:26

    请问怎么解决的??

Grunt-beginner前端自动化工具

通过配置Grunt自动化工具,提高您的工作效率,出乎您的想象

60388 学习 · 408 问题

查看课程

相似问题