snowdd1 / homebridge-knx

KNX platform shim for homebridge
https://github.com/nfarina/homebridge
GNU General Public License v2.0
97 stars 56 forks source link

Syntax Error - Homebridge does not start anymore #146

Closed giase82 closed 5 years ago

giase82 commented 5 years ago

Hi,

Since an updated today, I get the following syntax-error during startup. Does anybody have an idea?

Feb 20 19:57:24 shpi2 homebridge[21502]: /usr/local/lib/node_modules/homebridge-knx/node_modules/debug/src/node.js:132 Feb 20 19:57:24 shpi2 homebridge[21502]: let val = process.env[key]; Feb 20 19:57:24 shpi2 homebridge[21502]: ^^^ Feb 20 19:57:24 shpi2 homebridge[21502]: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode Feb 20 19:57:24 shpi2 homebridge[21502]: at exports.runInThisContext (vm.js:53:16) Feb 20 19:57:24 shpi2 homebridge[21502]: at Module._compile (module.js:373:25) Feb 20 19:57:24 shpi2 homebridge[21502]: at Object.Module._extensions..js (module.js:416:10) Feb 20 19:57:24 shpi2 homebridge[21502]: at Module.load (module.js:343:32) Feb 20 19:57:24 shpi2 homebridge[21502]: at Function.Module._load (module.js:300:12) Feb 20 19:57:24 shpi2 homebridge[21502]: at Module.require (module.js:353:17) Feb 20 19:57:24 shpi2 homebridge[21502]: at require (internal/module.js:12:17) Feb 20 19:57:24 shpi2 homebridge[21502]: at Object. (/usr/local/lib/node_modules/homebridge-knx/node_modules/debug/src/index.js:9:19 Feb 20 19:57:24 shpi2 homebridge[21502]: at Module._compile (module.js:409:26) Feb 20 19:57:24 shpi2 homebridge[21502]: at Object.Module._extensions..js (module.js:416:10) Feb 20 19:57:24 shpi2 homebridge[21502]: at Module.load (module.js:343:32) Feb 20 19:57:24 shpi2 homebridge[21502]: at Function.Module._load (module.js:300:12) Feb 20 19:57:24 shpi2 homebridge[21502]: at Module.require (module.js:353:17) Feb 20 19:57:24 shpi2 homebridge[21502]: at require (internal/module.js:12:17) Feb 20 19:57:24 shpi2 homebridge[21502]: at Object. (/usr/local/lib/node_modules/homebridge-knx/lib/customtypes/knxthermostat.js:8:1 Feb 20 19:57:24 shpi2 homebridge[21502]: at Module._compile (module.js:409:26)

coinraiser commented 5 years ago

Did u update homebridge or knxd?

giase82 commented 5 years ago

homebridge-knx and homebridge using npm update

coinraiser commented 5 years ago

But did u update knxd?

coinraiser commented 5 years ago

Whay version of knxd and homebridge are u running?

coinraiser commented 5 years ago

I have created discod server for homebridge-knx and knx general talk if someone is interested. https://discord.gg/VbVuGKB

giase82 commented 5 years ago

Sorry, closing this right away. Had a too old version of node running and had to re-compile.

Cheers!