Open migabc opened 4 years ago
Hello,
I tried to make a new install but I can't get it working.
I'm getting these erros after I installed wiringpi 2.46 and homebridge-gpio-device according to the instructions here https://github.com/dubocr/homebridge-gpio-device
pi@raspberrypi-mainfloor:/tmp $ sudo journalctl | grep homebridge Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: [1/14/2020, 11:44:43 AM] ==================== Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: [1/14/2020, 11:44:43 AM] ERROR LOADING PLUGIN homebridge-gpio-device: Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: [1/14/2020, 11:44:43 AM] Error: Could not locate the bindings file. Tried: Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/Debug/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/Release/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/out/Debug/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/Debug/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/out/Release/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/Release/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/default/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/compiled/11.15.0/linux/arm/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at bindings (/usr/lib/node_modules/homebridge-gpio-device/node_modules/bindings/bindings.js:88:9) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Object. (/usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/index.js:1:37) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Module._compile (internal/modules/cjs/loader.js:816:30) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Module.load (internal/modules/cjs/loader.js:685:32) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Function.Module._load (internal/modules/cjs/loader.js:620:12) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Module.require (internal/modules/cjs/loader.js:723:19) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at require (internal/modules/cjs/helpers.js:14:16) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Object. (/usr/lib/node_modules/homebridge-gpio-device/index.js:3:11) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Module._compile (internal/modules/cjs/loader.js:816:30) Jan 14 11:44:44 raspberrypi-mainfloor homebridge[7573]: [1/14/2020, 11:44:43 AM] ====================
Any help appreciated for this wonderful plug-in.
Solved by:
sudo npm uninstall -g --unsafe-perm node-gyp
Apparently the homebridge-gpio-device install uses it's own cached version
/root/.cache/node-gyp/11.15.0
Hello,
I tried to make a new install but I can't get it working.
I'm getting these erros after I installed wiringpi 2.46 and homebridge-gpio-device according to the instructions here https://github.com/dubocr/homebridge-gpio-device
pi@raspberrypi-mainfloor:/tmp $ sudo journalctl | grep homebridge Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: [1/14/2020, 11:44:43 AM] ==================== Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: [1/14/2020, 11:44:43 AM] ERROR LOADING PLUGIN homebridge-gpio-device: Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: [1/14/2020, 11:44:43 AM] Error: Could not locate the bindings file. Tried: Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/Debug/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/Release/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/out/Debug/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/Debug/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/out/Release/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/Release/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build/default/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: → /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/compiled/11.15.0/linux/arm/nodeWiringPi.node Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at bindings (/usr/lib/node_modules/homebridge-gpio-device/node_modules/bindings/bindings.js:88:9) Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Object. (/usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/index.js:1:37)
Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Module._compile (internal/modules/cjs/loader.js:816:30)
Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Module.load (internal/modules/cjs/loader.js:685:32)
Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Function.Module._load (internal/modules/cjs/loader.js:620:12)
Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Module.require (internal/modules/cjs/loader.js:723:19)
Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at require (internal/modules/cjs/helpers.js:14:16)
Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Object. (/usr/lib/node_modules/homebridge-gpio-device/index.js:3:11)
Jan 14 11:44:43 raspberrypi-mainfloor homebridge[7573]: at Module._compile (internal/modules/cjs/loader.js:816:30)
Jan 14 11:44:44 raspberrypi-mainfloor homebridge[7573]: [1/14/2020, 11:44:43 AM] ====================
Any help appreciated for this wonderful plug-in.