Ich versuche, Knotenpakete auf meinem Windows-Rechner mit npm von einer neuen Installation von Knoten zu installieren.ETIMEDOUT Fehler bei der Installation von Knotenpaketen unter Windows
jedoch bekomme ich ETIMEDOUT Fehler. Ich habe einige andere stackoverflow Fragen mit ähnlichen Problemen überprüft und fast alle von ihnen sind mit Problemen verbunden, wenn sie hinter einem Proxy stehen. Bei mir ist das nicht der Fall. Mein System befindet sich nicht hinter einem Proxy-Server. Kann mir jemand bei der Lösung helfen?
PS C:\windows\system32> npm -v
2.5.1
PS C:\windows\system32> npm install bower -g
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" "i
nstall" "bower" "-g"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT
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:\windows\system32\npm-debug.log
vollständig Sie, ganz, 100% sicher, dass Sie nicht hinter einem Proxy? Sind Sie sicher, dass Ihr System nicht für die Verwendung eines Proxys konfiguriert ist? Vielleicht ist nur npm konfiguriert, um einen Proxy zu verwenden ...? Überprüfen Sie 'npm Config Liste'. –
konnte ich das lösen. Ich war eigentlich nicht hinter einem Proxy, aber irgendwie wurde der Proxy-Parameter in npm config gesetzt. Ich war in der Lage, das Problem zu lösen, indem ich folgenden Befehl benutze: npm config delete proxy – EagleEye