Closed sholzmayer closed 7 years ago
I also get this error before:
[2016-10-27 19:12:40] ERROR LOADING PLUGIN homebridge-camera-motion:
[2016-10-27 19:12:40] SyntaxError: Unexpected token [
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
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 Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Plugin.load (/opt/homebridge/node_modules/homebridge/lib/plugin.js:65:22)
at Server.<anonymous> (/opt/homebridge/node_modules/homebridge/lib/server.js:112:14)
at Array.forEach (native)
@sholzmayer What version of Node.js are you using (check with node -v
), if not the latest can you try upgrading to Node v6+ or later?
Thank you, this solved the problem 👍
Now I can use the camera in homekit!
Hi,
I just installed, but I get the following error while starting it:
My first thought was that it is not installed correctly, but it seems to because it is in the node_modules directory.
The platform-entry in the config.json is:
Do you have an idea?