Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no install possible... #35

Open
platini76 opened this issue Nov 4, 2018 · 4 comments
Open

no install possible... #35

platini76 opened this issue Nov 4, 2018 · 4 comments

Comments

@platini76
Copy link

npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone -q https://github.com/mranney/node_pcap.git /var/homebridge/.npm/_cacache/tmp/git-clone-073cd943
npm ERR! /var/homebridge/.npm/_cacache/tmp/git-clone-073cd943/.git: Permesso negato
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /var/homebridge/.npm/_logs/2018-11-04T01_09_52_248Z-debug.log

@TubadoG
Copy link

TubadoG commented Nov 10, 2018

Same problem for me... did you find a fix?

@platini76
Copy link
Author

no sorry...

@TubadoG
Copy link

TubadoG commented Nov 10, 2018

I'm getting the same errors that others have posted. I have tried running as pi and as root, I followed the ReadMe and confirmed that I have libpcap installed and up to date. @KhaosT any thoughts would be very appreciated.

root@raspberrypi:/# npm install -g homebridge-amazondash
ERR! code 128
ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master https://github.com/mranney/node_pcap.git /root/.npm/_cacache/tmp/git-clone-ee90020c
ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-ee90020c': Permission denied
ERR!
ERR! A complete log of this run can be found in:
ERR! /root/.npm/_logs/2018-11-10T19_43_59_183Z-debug.log

@TubadoG
Copy link

TubadoG commented Nov 10, 2018

Okay, I got it to install!!

Needed to run in root and also use sudo. (Scary, but it worked). From there, I got everything to install. However; now, I can't get the plugin to load... I'm not sure if perhaps the plugin isn't in the right location...? Can you help me understand how to figure out where Homebridge is looking for the plugin? Side note - I'm running the Homebridge service via the systemd method.
systemctl start homebridge

Error: The requested platform 'AmazonDash' was not registered by any plugin.
Nov 10 15:39:52 raspberrypi homebridge[2859]: at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:316:45)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:36)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at Module._compile (module.js:635:30)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at Object.Module._extensions..js (module.js:646:10)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at Module.load (module.js:554:32)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at tryModuleLoad (module.js:497:12)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at Function.Module._load (module.js:489:3)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at Function.Module.runMain (module.js:676:10)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at startup (bootstrap_node.js:187:16)
Nov 10 15:39:52 raspberrypi homebridge[2859]: at bootstrap_node.js:608:3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants