2016-07-30 14 views
-1

Ich kann keine Pakete von Npm installieren.NodeJS NPM Problem

npm ERR! Windows_NT 6.3.9600 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "ionic" 
npm ERR! node v6.3.1 
npm ERR! npm v3.10.3 
npm ERR! code ECONNRESET 

npm ERR! network tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80 
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!  E:\myApps\mobileApp\shym\npm-debug.log 

npm Config-Proxy erhalten -> null

npm Config-get https-Proxy -> null

npm Config registery bekommen -> Registry = "https://registry.npmjs.org/"

+1

Dies scheint ein Problem mit Ihrer Internetverbindung zu sein. – alexi2

+0

siehe http://stackoverflow.com/questions/41670317/npm-command-issue –

Antwort

0

Sie müssen auf sich warten ein proxy, um abhängigkeit zu installieren, müssen sie npm für die verbindung zu ihrem proxy konfigurieren, indem sie

npm config set proxy http://proxy.example.com:3000 
npm config set https-proxy https://proxy.example.com:3000` 
tun

in Ihrem Terminal.

+0

http://stackoverflow.com/questions/41670317/npm-command-issue –