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檢查了節點版本。 –