colinbendell / homebridge-blink-for-home

Blink For Home Camera Homebridge plugin
MIT License
87 stars 27 forks source link

Won't run after install #104

Open Scirocco3 opened 2 years ago

Scirocco3 commented 2 years ago

Hi @all

The install runs cleanly, but after the start I get the following error message.

The login fits and I have already reinstalled it 2x. What goes wrong here, what can I do?

` /homebridge/node_modules/homebridge-blink-for-home/src/homebridge/blink-hap.js:222 const [context] = cachedAccessories?.map(a => a.context)?.filter(a => a.canonicalID === this.canonicalID) || []; ^

SyntaxError: Unexpected token '.' at wrapSafe (internal/modules/cjs/loader.js:1054:16) at Module._compile (internal/modules/cjs/loader.js:1102:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) at Module.load (internal/modules/cjs/loader.js:986:32) at Function.Module._load (internal/modules/cjs/loader.js:879:14) at Module.require (internal/modules/cjs/loader.js:1026:19) at require (internal/modules/cjs/helpers.js:72:18) at HomebridgeBlink.setupBlink (/homebridge/node_modules/homebridge-blink-for-home/src/homebridge/index.js:106:28) at HomebridgeBlink.init (/homebridge/node_modules/homebridge-blink-for-home/src/homebridge/index.js:41:37) at HomebridgeAPI. (/homebridge/node_modules/homebridge-blink-for-home/src/homebridge/index.js:27:49)`