Raspberry pi - cannot load bindings error
See original GitHub issueI’m getting an error when trying to get Homebridge working on a Raspberry Pi B+. Anyone seen this?
Node: 6.9.1 Npm: 3.10.8
Installing per Pi instructions, but need to install a slightly different node package since I only have the arm6 architecture. No issues on install, but on running homebridge command I get the following:
` *** 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 /usr/local/lib/node_modules/homebridge/node_modules/bindings/bindings.js:91 throw err ^
Error: Could not locate the bindings file. Tried: → /usr/local/lib/node_modules/homebridge/node_modules/ed25519/build/ed25519.node → /usr/local/lib/node_modules/homebridge/node_modules/ed25519/build/Debug/ed25519.node → /usr/local/lib/node_modules/homebridge/node_modules/ed25519/build/Release/ed25519.node → /usr/local/lib/node_modules/homebridge/node_modules/ed25519/out/Debug/ed25519.node → /usr/local/lib/node_modules/homebridge/node_modules/ed25519/Debug/ed25519.node → /usr/local/lib/node_modules/homebridge/node_modules/ed25519/out/Release/ed25519.node → /usr/local/lib/node_modules/homebridge/node_modules/ed25519/Release/ed25519.node → /usr/local/lib/node_modules/homebridge/node_modules/ed25519/build/default/ed25519.node → /usr/local/lib/node_modules/homebridge/node_modules/ed25519/compiled/6.9.1/linux/arm/ed25519.node at bindings (/usr/local/lib/node_modules/homebridge/node_modules/bindings/bindings.js:88:9) at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/ed25519/index.js:1:99) 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) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:6:15)`
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top GitHub Comments
my solution is : cd /usr/local/lib/node_modules/homebridge/node_modules/ed25519 sudo node-gyp BUILDTYPE=Release rebuild
@stardustliu Your solution worked for me.
Don’t forget to install node-gyp first through NPM.