Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Milight Adapter Error nach JS Update auf 18.16.1

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.6k

Milight Adapter Error nach JS Update auf 18.16.1

Geplant Angeheftet Gesperrt Verschoben Error/Bug
7 Beiträge 3 Kommentatoren 430 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • U Offline
    U Offline
    URI3L
    schrieb am zuletzt editiert von
    #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
    
    Thomas BraunT Ro75R 2 Antworten Letzte Antwort
    0
    • U URI3L

      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
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @uri3l Bring es auf nodejs@20 und schau es dir dann nochmal an.

      iob nodejs-update 20
      

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Antwort Letzte Antwort
      0
      • U URI3L

        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
        
        Ro75R Offline
        Ro75R Offline
        Ro75
        schrieb am zuletzt editiert von
        #3

        @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

        SERVER = Beelink U59 16GB DDR4 RAM 512GB SSD, FB 7490, FritzDect 200+301+440, ConBee II, Zigbee Aqara Sensoren + NOUS A1Z, NOUS A1T, Philips Hue ** ioBroker, REDIS, influxdb2, Grafana, PiHole, Plex-Mediaserver, paperless-ngx (Docker), MariaDB + phpmyadmin *** VIS-Runtime = Intel NUC 8GB RAM 128GB SSD + 24" Touchscreen

        U 1 Antwort Letzte Antwort
        0
        • Ro75R Ro75

          @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

          U Offline
          U Offline
          URI3L
          schrieb am zuletzt editiert von
          #4

          @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
          
          
          Ro75R Thomas BraunT 2 Antworten Letzte Antwort
          0
          • U URI3L

            @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
            
            
            Ro75R Offline
            Ro75R Offline
            Ro75
            schrieb am zuletzt editiert von
            #5

            @uri3l Mit Buster kommst du nicht auf Nodejs 20! Viel zu alt.

            Ro75.

            SERVER = Beelink U59 16GB DDR4 RAM 512GB SSD, FB 7490, FritzDect 200+301+440, ConBee II, Zigbee Aqara Sensoren + NOUS A1Z, NOUS A1T, Philips Hue ** ioBroker, REDIS, influxdb2, Grafana, PiHole, Plex-Mediaserver, paperless-ngx (Docker), MariaDB + phpmyadmin *** VIS-Runtime = Intel NUC 8GB RAM 128GB SSD + 24" Touchscreen

            1 Antwort Letzte Antwort
            0
            • U URI3L

              @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
              
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #6

              @uri3l

              Da siehste auch schon die Fehler. OS zu alt und nodejs ist da irgendwie reingeklatscht worden.

              Installier da NEU ein Raspberry OS 12.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              U 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @uri3l

                Da siehste auch schon die Fehler. OS zu alt und nodejs ist da irgendwie reingeklatscht worden.

                Installier da NEU ein Raspberry OS 12.

                U Offline
                U Offline
                URI3L
                schrieb am zuletzt editiert von
                #7

                @thomas-braun Vielen Dank. Ich bin jetzt auf OS12 und es läuft wieder.

                Danke an alle

                1 Antwort Letzte Antwort
                0
                Antworten
                • In einem neuen Thema antworten
                Anmelden zum Antworten
                • Älteste zuerst
                • Neuste zuerst
                • Meiste Stimmen


                Support us

                ioBroker
                Community Adapters
                Donate

                435

                Online

                32.5k

                Benutzer

                81.6k

                Themen

                1.3m

                Beiträge
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                ioBroker Community 2014-2025
                logo
                • Anmelden

                • Du hast noch kein Konto? Registrieren

                • Anmelden oder registrieren, um zu suchen
                • Erster Beitrag
                  Letzter Beitrag
                0
                • Home
                • Aktuell
                • Tags
                • Ungelesen 0
                • Kategorien
                • Unreplied
                • Beliebt
                • GitHub
                • Docu
                • Hilfe