-
Notifications
You must be signed in to change notification settings - Fork 14
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
ERROR LOADING PLUGIN homebridge-amazondash #19
Comments
copied in the build folder from homebridge and that works. not a great fix though. |
Hi Komainu85, could you explain exactly what you did? I don't really understand how to do that. |
Have the same error? A detailed description would be perfect. |
@KhaosT Any help? Is this plugin dead? |
|
I have it installed, nonetheless, I have this issue. |
In that case can you post the full error log when you run homebridge? |
Hi, having the same issue. Hope someone can help libcap-dev installed in the newest version. Error Log: |
@KhaosT do you have any Hit how to solve it? Or @komainu85 maybe you can explain what you exactly did? |
Sammy, were you ever able to get this running? I have a suspicion that I've got either a permission problem or an install location problem, but I don't have enough experience to know how to debug this on my own. I'm running this as a systemd service and libpcap-dev seems to be installed correctly etc... |
Installed home bridge, dash button and homebridge-amazondash per the instructions on my raspberry pi zero.
calling sudo homebridge as root is throwing the below exception. Any ideas?
root@raspberrypi:/usr/local/lib/node_modules/homebridge/devPlugins/homebridge-suncalc# sudo homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[5/31/2017, 4:46:21 PM] ====================
[5/31/2017, 4:46:21 PM] ERROR LOADING PLUGIN homebridge-amazondash:
[5/31/2017, 4:46:21 PM] Error: Cannot find module './build/Release/pcap_binding'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/usr/local/lib/node_modules/homebridge-amazondash/node_modules/pcap/pcap.js:3:21)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
[5/31/2017, 4:46:21 PM] ====================
[5/31/2017, 4:46:21 PM] No plugins found. See the README for information on installing plugins.
[5/31/2017, 4:46:21 PM] Loaded config.json with 0 accessories and 1 platforms.
[5/31/2017, 4:46:21 PM] ---
[5/31/2017, 4:46:21 PM] Loading 1 platforms...
/usr/local/lib/node_modules/homebridge/lib/api.js:122
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'AmazonDash' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:284:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:80:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
The text was updated successfully, but these errors were encountered: