Can't seen to get node cec library working as it's not installable via npm. Instructions would be useful
Steps tried
On raspberry pi
// Install cec library manually in global npm folder
cd /usr/local/lib/node_modules/
git clone https://github.com/adammw/node-cec.git
git checkout transmit
cd cec
npm install
homebridge
Errors below
[4/28/2016, 1:51:03 PM] ====================
[4/28/2016, 1:51:03 PM] ERROR LOADING PLUGIN homebridge-cec:
[4/28/2016, 1:51:03 PM] Error: Cannot find module './build/Release/addon'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object. (/usr/local/lib/node_modules/cec/index.js:3:13)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
[4/28/2016, 1:51:03 PM] ====================
Can't seen to get node cec library working as it's not installable via npm. Instructions would be useful
Steps tried
On raspberry pi
// Install cec library manually in global npm folder
cd /usr/local/lib/node_modules/
git clone https://github.com/adammw/node-cec.git
git checkout transmit
cd cec
npm install
homebridge
Errors below
[4/28/2016, 1:51:03 PM] ====================
[4/28/2016, 1:51:03 PM] ERROR LOADING PLUGIN homebridge-cec:
[4/28/2016, 1:51:03 PM] Error: Cannot find module './build/Release/addon'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object. (/usr/local/lib/node_modules/cec/index.js:3:13)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
[4/28/2016, 1:51:03 PM] ====================