itsmepetrov / homebridge-zigbee

ZigBee Platform plugin for HomeBridge
https://itsmepetrov.github.io/homebridge-zigbee/
MIT License
106 stars 36 forks source link

Installation issues on Raspbian #29

Open Davst opened 5 years ago

Davst commented 5 years ago

Tried installing this, and couldnt get past issues with github access.

I installed a few other plugins fine.. this one.. since it wouldn't install without sudo had the issue of running a sudo global install i got the following.

pi@raspberrypi:~ $ sudo npm install -g --unsafe-perm homebridge-zigbee
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master git://github.com/itsmepetrov/zigbee-shepherd.git /root/.npm/_cacache/tmp/git-clone-9f676f28
npm ERR! fatal: kunde inte skapa inledande kataloger för "/root/.npm/_cacache/tmp/git-clone-9f676f28": Åtkomst nekas
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-04-11T23_26_52_215Z-debug.log

Not sure how to solve this or if this is a problem with the pi or the plugin

mrdc commented 5 years ago

@Davst Hi, try "sudo sudo npm install -g --unsafe-perm itsmepetrov/homebridge-zigbee". homebridge-zigbee package is outdated.