FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: fireb am 24 September 2016, 13:49:50

Titel: Homebridge installation schlägt fehl
Beitrag von: fireb am 24 September 2016, 13:49:50
Hallo,

ich versuche nun schon seit einigen Stunden Homebridge zu installieren.
FHEM läuft bei mir auf einem virtuellen Debian in der aktuellsten Version.

Vorgegangen bin ich bei der Installation nach dieser Anleitung: https://haus-automatisierung.com/hardware/fhem/2016/09/14/fhem-tutorial-reihe-part-16-ios10-homekit-fhem-integration.html

Leider scheitert es bei mir schon bei diesem Befehl
sudo npm install -g homebridge homebridge-fhem homebridge-http

Hier erhalte ich nach einiger Zeit des wartens folgende Fehler:

root@fhem:/home/fhem# npm install -g homebridge homebridge-fhem homebridge-http
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/node-curve25519.git /root/.npm/_git-remotes/git-github-com-KhaosT-node-curve25519-git-0d5915d0: Klone in Bare-Repository '/root/.npm/_git-remotes/git-github-com-KhaosT-node-curve25519-git-0d5915d0'...
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/node-curve25519.git /root/.npm/_git-remotes/git-github-com-KhaosT-node-curve25519-git-0d5915d0: fatal: unable to connect to github.com:
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/node-curve25519.git /root/.npm/_git-remotes/git-github-com-KhaosT-node-curve25519-git-0d5915d0: github.com[0: 192.30.253.112]: errno=Die Wartezeit für die Verbindung ist abgelaufen
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/ed25519.git /root/.npm/_git-remotes/git-github-com-KhaosT-ed25519-git-b795f4e8: Klone in Bare-Repository '/root/.npm/_git-remotes/git-github-com-KhaosT-ed25519-git-b795f4e8'...
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/ed25519.git /root/.npm/_git-remotes/git-github-com-KhaosT-ed25519-git-b795f4e8: fatal: unable to connect to github.com:
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/ed25519.git /root/.npm/_git-remotes/git-github-com-KhaosT-ed25519-git-b795f4e8: github.com[0: 192.30.253.112]: errno=Die Wartezeit für die Verbindung ist abgelaufen
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/node-srp.git /root/.npm/_git-remotes/git-github-com-KhaosT-node-srp-git-7ab735e3: Klone in Bare-Repository '/root/.npm/_git-remotes/git-github-com-KhaosT-node-srp-git-7ab735e3'...
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/node-srp.git /root/.npm/_git-remotes/git-github-com-KhaosT-node-srp-git-7ab735e3: fatal: unable to connect to github.com:
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/node-srp.git /root/.npm/_git-remotes/git-github-com-KhaosT-node-srp-git-7ab735e3: github.com[0: 192.30.253.112]: errno=Die Wartezeit für die Verbindung ist abgelaufen
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "homebridge" "homebridge-fhem" "homebridge-http"
npm ERR! node v4.5.0
npm ERR! npm  v3.10.8
npm ERR! code 128

npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/KhaosT/node-curve25519.git /root/.npm/_git-remotes/git-github-com-KhaosT-node-curve25519-git-0d5915d0
npm ERR! Klone in Bare-Repository '/root/.npm/_git-remotes/git-github-com-KhaosT-node-curve25519-git-0d5915d0'...
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 192.30.253.112]: errno=Die Wartezeit für die Verbindung ist abgelaufen
npm ERR!
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/fhem/npm-debug.log


Woran kann es hier liegen? Ich kann GitHub über den Browser ohne Probleme erreichen.

Liebe Grüße
fireb
Titel: Antw:Homebridge installation schlägt fehl
Beitrag von: juergen012 am 24 September 2016, 14:39:43
Hallo,

versuch mal:

sudo npm install -g --unsafe-perm homebridge (http://sudo%20npm%20install%20-g%20--unsafe-perm%20homebridge)

dami hat´s bei mir geklappt...

https://alexbloggt.com/homebridge-installieren/ (https://alexbloggt.com/homebridge-installieren/)

Gruß
Jürgen K.