NEWS
Milight Adapter Error nach JS Update auf 18.16.1
-
Hallo zusammen,
ich habe den JS Controller auf 18.16.1 upgedated und jetzt spuckt der Milight Adapter folgende Fehlermeldungen aus:
Aus den Fehlermeldungen werde ich nicht schlau. Kann mir jemand bitte helfen?
2024-09-01 17:12:17.364 - error: host.iobroker Caught by controller[0]: /opt/iobroker/node_modules/iobroker.milight/milight.js:472 2024-09-01 17:12:17.364 - error: host.iobroker Caught by controller[0]: adapter = new utils.Adapter(options); 2024-09-01 17:12:17.364 - error: host.iobroker Caught by controller[0]: ^ 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: TypeError: utils.Adapter is not a constructor 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at startAdapter (/opt/iobroker/node_modules/iobroker.milight/milight.js:472:16) 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.milight/milight.js:682:5) 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14) 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at node:internal/main/run_main_module:23:47 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: Node.js v18.16.1 2024-09-01 17:12:17.367 - error: host.iobroker instance system.adapter.milight.2 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-09-01 17:12:17.367 - info: host.iobroker Restart adapter system.adapter.milight.2 because enabled -
Hallo zusammen,
ich habe den JS Controller auf 18.16.1 upgedated und jetzt spuckt der Milight Adapter folgende Fehlermeldungen aus:
Aus den Fehlermeldungen werde ich nicht schlau. Kann mir jemand bitte helfen?
2024-09-01 17:12:17.364 - error: host.iobroker Caught by controller[0]: /opt/iobroker/node_modules/iobroker.milight/milight.js:472 2024-09-01 17:12:17.364 - error: host.iobroker Caught by controller[0]: adapter = new utils.Adapter(options); 2024-09-01 17:12:17.364 - error: host.iobroker Caught by controller[0]: ^ 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: TypeError: utils.Adapter is not a constructor 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at startAdapter (/opt/iobroker/node_modules/iobroker.milight/milight.js:472:16) 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.milight/milight.js:682:5) 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14) 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at node:internal/main/run_main_module:23:47 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: Node.js v18.16.1 2024-09-01 17:12:17.367 - error: host.iobroker instance system.adapter.milight.2 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-09-01 17:12:17.367 - info: host.iobroker Restart adapter system.adapter.milight.2 because enabled@uri3l Bring es auf nodejs@20 und schau es dir dann nochmal an.
iob nodejs-update 20 -
Hallo zusammen,
ich habe den JS Controller auf 18.16.1 upgedated und jetzt spuckt der Milight Adapter folgende Fehlermeldungen aus:
Aus den Fehlermeldungen werde ich nicht schlau. Kann mir jemand bitte helfen?
2024-09-01 17:12:17.364 - error: host.iobroker Caught by controller[0]: /opt/iobroker/node_modules/iobroker.milight/milight.js:472 2024-09-01 17:12:17.364 - error: host.iobroker Caught by controller[0]: adapter = new utils.Adapter(options); 2024-09-01 17:12:17.364 - error: host.iobroker Caught by controller[0]: ^ 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: TypeError: utils.Adapter is not a constructor 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at startAdapter (/opt/iobroker/node_modules/iobroker.milight/milight.js:472:16) 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.milight/milight.js:682:5) 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14) 2024-09-01 17:12:17.365 - error: host.iobroker Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: at node:internal/main/run_main_module:23:47 2024-09-01 17:12:17.366 - error: host.iobroker Caught by controller[0]: Node.js v18.16.1 2024-09-01 17:12:17.367 - error: host.iobroker instance system.adapter.milight.2 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-09-01 17:12:17.367 - info: host.iobroker Restart adapter system.adapter.milight.2 because enabled -
@uri3l sagte in Milight Adapter Error nach JS Update auf 18.16.1:
JS Controller auf 18.16.1 upgedated
von was eigentlich? 16.x? Welches BS läuft denn da (noch) ? GGfs. Debian Buster?
Ro75
@ro75 Raspbian 10 ist installiert. Welche Node Version vorher war, kann ich nicht sagen. war aber kein großer Versionssprung, da ich öfters mal update. Könnte man das aus den Backitup-Sicherungen auslesen?
@Thomas-Braun Wenn ich auf 20 update, kommt folgende Meldung:
ioBroker nodejs fixer 2024-05-23 You requested to install latest version from nodejs v20 tree. Your current setup is: /usr/bin/node v18.16.1 /usr/local/bin/npm 9.6.7 /usr/local/bin/npx 9.6.7 /usr/local/bin/corepack 0.18.0 *** nodejs is NOT correctly installed *** We found these nodejs versions available for installation: nodejs: Installed: 18.16.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x buster/main armhf Packages *** 18.16.1-deb-1nodesource1 100 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages Your nodejs-Installation seems to be faulty. Shall we try to fix it? Press <y> to continue or any other key to quit -
@ro75 Raspbian 10 ist installiert. Welche Node Version vorher war, kann ich nicht sagen. war aber kein großer Versionssprung, da ich öfters mal update. Könnte man das aus den Backitup-Sicherungen auslesen?
@Thomas-Braun Wenn ich auf 20 update, kommt folgende Meldung:
ioBroker nodejs fixer 2024-05-23 You requested to install latest version from nodejs v20 tree. Your current setup is: /usr/bin/node v18.16.1 /usr/local/bin/npm 9.6.7 /usr/local/bin/npx 9.6.7 /usr/local/bin/corepack 0.18.0 *** nodejs is NOT correctly installed *** We found these nodejs versions available for installation: nodejs: Installed: 18.16.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x buster/main armhf Packages *** 18.16.1-deb-1nodesource1 100 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages Your nodejs-Installation seems to be faulty. Shall we try to fix it? Press <y> to continue or any other key to quit -
@ro75 Raspbian 10 ist installiert. Welche Node Version vorher war, kann ich nicht sagen. war aber kein großer Versionssprung, da ich öfters mal update. Könnte man das aus den Backitup-Sicherungen auslesen?
@Thomas-Braun Wenn ich auf 20 update, kommt folgende Meldung:
ioBroker nodejs fixer 2024-05-23 You requested to install latest version from nodejs v20 tree. Your current setup is: /usr/bin/node v18.16.1 /usr/local/bin/npm 9.6.7 /usr/local/bin/npx 9.6.7 /usr/local/bin/corepack 0.18.0 *** nodejs is NOT correctly installed *** We found these nodejs versions available for installation: nodejs: Installed: 18.16.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x buster/main armhf Packages *** 18.16.1-deb-1nodesource1 100 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages Your nodejs-Installation seems to be faulty. Shall we try to fix it? Press <y> to continue or any other key to quitDa siehste auch schon die Fehler. OS zu alt und nodejs ist da irgendwie reingeklatscht worden.
Installier da NEU ein Raspberry OS 12.
-
Da siehste auch schon die Fehler. OS zu alt und nodejs ist da irgendwie reingeklatscht worden.
Installier da NEU ein Raspberry OS 12.
@thomas-braun Vielen Dank. Ich bin jetzt auf OS12 und es läuft wieder.
Danke an alle
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden