jpgorganizer / ioBroker.smartgarden

GARDENA smart system adapter for ioBroker
Other
21 stars 8 forks source link

Adapter startet nicht mehr nach JS-Controller Update 6.x #76

Closed LastPerfectTobi closed 1 month ago

LastPerfectTobi commented 2 months ago

JS-Controller wurde auf 6.0.1 aktualisiert. Damit startet die Smartgarden Instanz mit v2.0.1 nicht mehr und bringt folgende Fehler:

2024-06-10 20:56:27.118 - info: host.raspberrypi instance system.adapter.smartgarden.0 started with pid 29887
2024-06-10 20:56:29.378 - error: host.raspberrypi Caught by controller[0]: /opt/iobroker/node_modules/iobroker.smartgarden/main.js:260
2024-06-10 20:56:29.378 - error: host.raspberrypi Caught by controller[0]: class Smartgarden extends utils.Adapter {
2024-06-10 20:56:29.379 - error: host.raspberrypi Caught by controller[0]: ^
2024-06-10 20:56:29.379 - error: host.raspberrypi Caught by controller[0]: TypeError: Class extends value # is not a constructor or null
2024-06-10 20:56:29.379 - error: host.raspberrypi Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.smartgarden/main.js:260:33)
2024-06-10 20:56:29.379 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
2024-06-10 20:56:29.379 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
2024-06-10 20:56:29.379 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32)
2024-06-10 20:56:29.379 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12)
2024-06-10 20:56:29.379 - error: host.raspberrypi Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
2024-06-10 20:56:29.380 - error: host.raspberrypi Caught by controller[0]: at node:internal/main/run_main_module:28:49
2024-06-10 20:56:29.380 - error: host.raspberrypi Caught by controller[0]: Node.js v18.20.3
2024-06-10 20:56:29.380 - error: host.raspberrypi instance system.adapter.smartgarden.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
2024-06-10 20:56:29.380 - info: host.raspberrypi Restart adapter system.adapter.smartgarden.0 because enabled
foxriver76 commented 2 months ago

@jpgorganizer please just release a new version with the current content which is visible at GitHub

LastPerfectTobi commented 2 months ago

Hab gerade die Version aus GIT installiert, die funktioniert 👍

mcm1957 commented 1 month ago

@LastPerfectTobi Please re-check with latest js-controller 6 and smartgarden 2.0.1

LastPerfectTobi commented 1 month ago

Works fine with Adapter version 2.0.1 and latest JS Controller 6.0.9

mcm1957 commented 1 month ago

Thanks for feedback. @jpgorganizer currently has no time to support this adapter, so it's good that there is no big problem. I'll release 2.0.1 to stable. Let wait for end of year for fixing other open issues. (https://github.com/jpgorganizer/ioBroker.smartgarden/issues/75#issuecomment-2242461352)