Homebridge lässt sich nicht installieren

Begonnen von mhelgers, 04 Oktober 2016, 18:15:30

Vorheriges Thema - Nächstes Thema

mhelgers


Hallo zusammen,


Ich habe Probleme bei der Installation von Homebridge
[size=78%]Hat jemand eine Idee??[/size]




Installation wie folgt
siehe auch https://haus-automatisierung.com/hardware/fhem/2016/09/14/fhem-tutorial-reihe-part-16-ios10-homekit-fhem-integration.html
[/code]sudo apt-get install -y libavahi-compat-libdnssd-dev


dann


sudo npm install -g homebridge homebridge-fhem homebridge-http


und dann kommen die Fehler!!!

[code]gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.6.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519-n/.node-gyp"





[/code]make: Leaving directory '/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519-n/build' gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.1.4v7-aufs
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519-n
gyp ERR! node -v v4.6.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok


[font=Verdana][size=78%]
[/font][/size]
[font=Verdana][size=78%]und [/font][/size]
[font=Verdana][size=78%]

[bignum] Success: "/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum/binding/bignum.node" is installed via remote
npm ERR! Linux 4.1.4v7-aufs
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "homebridge" "homebridge-fhem" "homebridge-http"
npm ERR! node v4.6.0
npm ERR! npm  v2.15.9
npm ERR! code ELIFECYCLE


npm ERR! curve25519-n@1.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the curve25519-n@1.1.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the curve25519-n package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs curve25519-n
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls curve25519-n
npm ERR! There is likely additional logging output above.


npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/npm-debug.log
[/font][/size]
[font=Verdana][size=78%]
[/font][/size]
[font=Verdana][size=78%]
[/font][/size]
[font=Verdana][size=78%][[/font][/size]

Jamo

Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/Conbee III, FB7690, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack, Sonos, ESPresence

mhelgers

Ganz einfach!!
Nach Update auf Jessie war alles kein Problem mehr!