You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[4/6/2022, 8:02:33 PM] ERROR LOADING PLUGIN homebridge-eufy:
[4/6/2022, 8:02:33 PM] /usr/lib/node_modules/homebridge-eufy/node_modules/node-eufy-api/lib/index.js:1
import fetch from "node-fetch";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object.<anonymous> (/usr/lib/node_modules/homebridge-eufy/lib/index.js:2:23)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
[4/6/2022, 8:02:33 PM] ====================
NodeJS: 14.9.1
Homebridge: 1.4.0
I saw #20 and think this might be similar.
When I check node-eufy-api's package.json I see this:
I don't know enough about node to tell if that means 0.4.1 or 0.4.0 is installed.
Either way, 0.3.5 works fine so I'll keep using that until I can get this resolved. Any ideas?
The text was updated successfully, but these errors were encountered: