Closed samj closed 8 years ago
I have the same error when attempting to run homebridge w/ this plugin installed.
Hi, I experience the same issue on Centos7: [Mon Jul 11 2016 05:14:08 GMT-0400 (EDT)] ---
/usr/lib/node_modules/homebridge-netatmo/index.js:261
for (var device of devices) {
^^
[Mon Jul 11 2016 05:14:08 GMT-0400 (EDT)] ====================
[Mon Jul 11 2016 05:14:08 GMT-0400 (EDT)] ERROR LOADING PLUGIN homebridge-netatmo:
[Mon Jul 11 2016 05:14:08 GMT-0400 (EDT)] SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Plugin.load (/usr/lib/node_modules/homebridge/lib/plugin.js:65:22)
at Server.
The new modularized version should avoid this part of the ECMAScript 2015 (ES6) standard. SO should work on older implementations now.
I'm getting the following error with homebridge 0.3.4 on Linux raspberrypi 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux