gismo141 / homebridge-server

Server plugin for homebridge
https://gismo141.github.io/configure-your-homebridge-2/
152 stars 20 forks source link

home bridge got error after install home bridge-server plugin #17

Closed Juniorchen2012 closed 7 years ago

Juniorchen2012 commented 7 years ago

/usr/local/lib/node_modules/homebridge/lib/server.js:176 throw err; ^

SyntaxError: Unexpected token [ at Object.parse (native) at Server._loadConfig (/usr/local/lib/node_modules/homebridge/lib/server.js:170:19) at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:44:23) at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16) at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10)

this is the error. thx

gismo141 commented 7 years ago

This issue seems to be raised by Homebridge itself - could you please post your config.json and the plugins you`ve installed?

Thanks

Juniorchen2012 commented 7 years ago

I have fixed the problem, thx