Hinzufügen von Cordova/Phonegap-plugins hinter einem proxy

Habe ich erfolgreich installiert Cordova (clean install unter Windows), und ich bin in der Lage, implementieren eine kleine Anwendung für Android, aber nicht fügen Sie alle plugins, die hinter meiner Firma proxy. Ich habe bereits versucht die Einstellung jedes möglichen npm und git-variable, die ich denken konnte, über:

npm config set proxy url:port
npm config set http-proxy url:port
npm config set https-proxy url:port

(ersetzt url:port mit dem eigentlichen proxy) und

git config --system --add http.proxy url:port
git config --global --add http.proxy url:port

aber ohne Erfolg.

Jedes mal, wenn ich etwas laufen so einfach wie

cordova plugin add org.apache.cordova.splashscreen

Bekomme ich die folgende:

Fetching plugin "org.apache.cordova.splashscreen" via plugin registry
Error: Fetching plugin failed: Error: read ECONNRESET
at C:\Users\x\AppData\Roaming\npm\node_modules\cordova\src\plugin.js:105:41
at _rejected  (C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:808:24)
at C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:834:30
at Promise.when (C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1079:31)
at Promise.promise.promiseDispatch (C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:752:41)
at C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:574:44
at flush (C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:108:17)
at process._tickCallback (node.js:415:13)

Jede Hilfe wäre sehr geschätzt werden!

InformationsquelleAutor white_pawn | 2014-02-27
Schreibe einen Kommentar