npm installieren -> tunneling-socket konnte nicht eingerichtet werden

Diese Fehlermeldung beantwortet wurde schon ein paar mal auf Stack Overflow, aber alle Lösungen nicht für mich arbeiten.

Immer wenn ich npm install bekomme ich folgende Meldung:

npm ERR! network tunneling socket could not be established, statusCode=407
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.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\Repos\[repo-name]
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ECONNRESET

Er arbeitete viele Male zuvor, aber es funktioniert plötzlich nicht mehr. Das einzige, was sich geändert hat, dass ich mich erinnern kann, ist, dass ich habe installiert den VMWare-Player. Aber ich sehe nicht ein, warum, das verwandt ist.

Manchmal, statt statusCode=407 die Nachricht sagen cause=Parse Error.

Ich habe versucht, die folgenden:

  • Einstellung der proxy mit npm config set proxy und npm config set https-proxy
  • Ändern Sie die Registrierung, um http://registry.npmjs.org
  • Einstellung strict-ssl false
  • Clearing npm-cache mit npm cache clean

Bin ich aus der Optionen

InformationsquelleAutor Paul Verbeek-Mast | 2014-09-26

Schreibe einen Kommentar