This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Description
Hey Colin,
I have installed the latest version of your plugin for my Homebridge. After I set the Credentials of my Blink Account in the Plugin and restart the Bridge this Eror popped out in the Log.
"[7/21/2024, 10:06:10 AM] [Blink] Init Blink
[7/21/2024, 10:06:10 AM] [Blink] Error [ERR_REQUIRE_ESM]: require() of ES Module /var/lib/homebridge/node_modules/@crb2nu/homebridge-blink-cameras/node_modules/@adobe/fetch/src/index.js from /var/lib/homebridge/node_modules/@crb2nu/homebridge-blink-cameras/src/blink-api.js not supported.
Instead change the require of index.js in /var/lib/homebridge/node_modules/@crb2nu/homebridge-blink-cameras/src/blink-api.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/var/lib/homebridge/node_modules/@crb2nu/homebridge-blink-cameras/src/blink-api.js:3:24) {
code: 'ERR_REQUIRE_ESM'
}
[7/21/2024, 10:06:10 AM] [Blink] NOTE: Blink devices in HomeKit will not be responsive."
Whats the meaning of the Error and how can I fix it, or do you want to fix it for the next version.
BR
Jérôme