plugin
plugin copied to clipboard
[Bug]: startup error after updating to v4.3.1
What happened?
A bug happened!
Getting the following error after updating the plugin when it tries to start up.
Device Type
other (UnSupported)
Plugin Version
other (UnSupported)
HomeBridge Version
other (UnSupported)
NodeJS Version
v20 (Supported)
Operating System
Raspbian 10+ (Supported)
Relevant log output
/var/lib/homebridge/node_modules/homebridge-e ufy-security/dist/utils/ffmpeg.js:13
const camera utils_1 = require( "@homebridge/c
amera-utils");
Error [ERR REQUIRE ESM]: require() of ES Modu le /var/ 1ib/homebridge/node_modules/homebridg e-eufy-security/node_
_modules/@homebridge/came
ra-utils/dist/index.js from /var/lib/homebrid ge/node_modules/homebridge-eufy-security/dist
/utils/ffmpeg. js not supported.
Instead change the require of index.js in /va r/ lib/homebridge/node_modules/homebridge-eufy
-security/dist/utils/ffmpeg.js to a dynamic i mport () which is available in all CommonJS mo dules.
at Object. <anonymous> (/var/lib/homebridg e/node_modules/homebridge-eufy-security/dist/
config
Na
hey, can you test on 4.3.7?