我已經在.npmrc文件中設置了代理配置。 執行故宮安裝命令給我的錯誤如下」npm安裝錯誤/問題
$ npm install 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" npm ERR! node v6.9.4 npm ERR! npm v3.10.10 npm ERR! code ECONNRESET
npm ERR! network tunneling socket could not be established, statusCode=400 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! Please include the following file with any support request: npm ERR! D:\Pooja\quickstart\npm-debug.log
在用戶文件夾中的.npmrc文件包含以下值
1. registry=https://registry.npmjs.org/
2. proxy=http://[email protected]:8080/
3. http_proxy=http://username:[email protected]@domain.com:8080/
有什麼辦法來解決這個問題?
什麼文件'd:\普加\快速入門\ NPM-debug.log'說? – Ankur
信息經由: 88855冗長可選SKIPPING可選依賴:NPM所有者LS UTF-8-驗證 88855冗長可選SKIPPING可選依賴:存在上述可能的附加的日誌輸出。 88856詳細堆棧錯誤:[email protected] install:'node install.js' 88856詳細堆棧退出狀態1 88856 EventEmitter的詳細堆棧。 (Event.js:106:13) 88856 EventEmitter.emit上的詳細堆棧(Event.js:106:13)(C:\ Program Files \ nodejs \ node_modules \ npm \ lib \ utils \ lifecycle.js:255:16) 88856 verbose stack at EventEmitter.emit events.js:191:7) –