2016-05-01 15 views
0

Ich versuche, cordova auf meinem Windows 10 Laptop zu installieren, aber am Ende mit Fehler.Cordova Installationsfehler

npm ERR! Windows_NT 10.0.10586 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova" 
npm ERR! node v5.4.1 
npm ERR! npm v3.3.12 
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!  C:\Users\jk2\npm-debug.log 

ich zu Heimnetzwerk verbunden bin so wird kein Proxy erforderlich. Ich habe versucht, npm Cache sauber, aber kein Glück. Was kann jetzt noch überprüft werden?

[Cordova Installation error]

npm installieren -g [email protected] --verbose gibt mir unter Fehler:

image1 image2

Antwort

0

Es ist ein Problem mit der Netzwerkverbindung, versuchen zu laufen

npm install xxx --verbose 

um weitere Informationen zu erhalten.

Ich merke cause=connect ECONNREFUSED 127.0.0.1:80 in Ihrem Protokoll, stellen Sie den Npm-Proxy auf 127.0.0.1:80?

versuchen

npm config get proxy 
npm config get https-proxy 

Wenn entweder vorhanden ist, laufen

npm config delete proxy 
npm config delete https-proxy 

unscharf zu schalten, um sie auszuführen.

Das sollte das Problem lösen.

+0

npm config erhalten Proxy npm Konfig bekommen https-proxy gib mir 'null'. Wenn ich npm ausführen install -g [email protected] --verbose Ich habe Bilder in der Hauptfrage angefügt. Bild1 Bild2 – user3173593