Closed SSMARTREPAIR closed 5 years ago
Me too - I get this after setting up iTunes. When I remove the accessory, the error goes away
/usr/local/lib/node_modules/homebridge/lib/api.js:50 if (name.indexOf('.') == -1) { ^
TypeError: Cannot read property 'indexOf' of undefined
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:50:12)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:286:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:87:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object.
same error, did you find any solutions? @RSMBS @9SL9
No
got the same problem still no solution?
I get this error after installing damp... could somebody help me? newest Homebridge and damp version newest npm version too
/usr/local/lib/node_modules/homebridge/lib/api.js:50 if (name.indexOf('.') == -1) { ^ TypeError: Cannot read property 'indexOf' of undefined at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:50:12) at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:286:42) at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:87:38) at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10) at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)