0
E:\Harish\Deploy>npm install -g @angular/cli
npm http GET https://registry.npmjs.org/yo
npm http GET https://registry.npmjs.org/yo
npm http GET https://registry.npmjs.org/yo
npm ERR! network read ECONNRESET
NPM不工作 - “读ECONNRESET”安装angularjs2 CLI时
And i also tried npm registery settings npm config set registry
http://registry.npmjs.org/
But it didn't resolve my issue
Any Idea About this?How to overcome this proxy connection settings
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! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program
Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo"
npm ERR! cwd C:\Windows\system32
npm ERR! node -v v0.10.17
npm ERR! npm -v 1.3.8
npm ERR! syscall read
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Windows\system32\npm-debug.log
npm ERR! not ok code 0
And i also tried npm registery settings npm config set registry
http://registry.npmjs.org/
我使用节点8.1.3和5.0.3 NPM。当我安装npm install -g @ angular/cli
我正在连接拒绝和一些代理错误。我还在npm注册表中注册了代理设置,但仍然收到相同的代理连接拒绝错误请将错误图像填充为附件。
如果妳使用代理服务器运行,请确保代理配置正确设置
如何解决这个问题?
npm ERR!网络如果您在代理后面,请确保npm ERR!网络'代理'配置设置正确。请参阅:'npm help config'
npm ERR!请在任何支持请求中包含以下文件:npm ERR! C:\ WINDOWS \ SYSTEM32 \ NPM-的debug.log
But it didn't resolve my issue
Any Idea About this?How to overcome this proxy connection settings
您需要安装最新的nodejs https://nodejs.org/dist/v6.11.1/node-v6.11.1-x64.msi –
@VindhyachalKumar即使我安装了node-v6.11.1我也面临同样的问题问题 – Harish
您是否使用节点-v检查了节点版本。 –