normen / homebridge-landroid

Homebridge plugin to control Worx Landroid robo mowers through the Worx Cloud
24 stars 8 forks source link

ERROR LOADING PLUGIN homebridge-landroid #47

Closed Przylepzwm closed 1 year ago

Przylepzwm commented 1 year ago

Everything worked fine for a year. Now when restarting homebridge I have this info as below. Does anyone know what the cause could be?

[22/11/2022, 19:52:21] ==================== [22/11/2022, 19:52:21] ERROR LOADING PLUGIN homebridge-landroid: [22/11/2022, 19:52:21] Error: Cannot find module 'node:url'

Require stack:

[22/11/2022, 19:52:21] ====================

normen commented 1 year ago

Apart from the fact that the plugin currently doesn't work this error is something different. What version of Node are you running your homebridge on?

Przylepzwm commented 1 year ago

@normen v14.17.1

There is another log during the reboot: [22/11/2022, 19:52:26] No plugin was found for the platform "Landroid" in your config.json. Please make sure the corresponding plugin is installed correctly.

*Landroid is added in the configuration file (worked before)

normen commented 1 year ago

Wow, thats ancient. Homebridge itself requires at least Node 16 by now. I guess thats the core issue here. The latter error is due to the first. That is the plugin can't be loaded hence it can't be found.

Przylepzwm commented 1 year ago

Will try to do an update and let you know if the problem has disappeared

normen commented 1 year ago

As said the plugin currently isn't working properly anyway as the login method changed, still it should not crash like that.

jbuttnz commented 1 year ago

Please advise once updated.

normen commented 1 year ago

Please test now that its updated.

Przylepzwm commented 1 year ago

Now its works!

jbuttnz commented 1 year ago

Yes! working perfectly. Thank you :)