Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Milight Adapter Error nach JS Update auf 18.16.1

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Milight Adapter Error nach JS Update auf 18.16.1

    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      URI3L last edited by

      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 Braun Ro75 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @URI3L last edited by

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

        iob nodejs-update 20
        
        1 Reply Last reply Reply Quote 0
        • Ro75
          Ro75 @URI3L last edited by

          @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 1 Reply Last reply Reply Quote 0
          • U
            URI3L @Ro75 last edited by

            @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 Thomas Braun 2 Replies Last reply Reply Quote 0
            • Ro75
              Ro75 @URI3L last edited by

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

              Ro75.

              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @URI3L last edited by

                @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 1 Reply Last reply Reply Quote 0
                • U
                  URI3L @Thomas Braun last edited by

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

                  Danke an alle

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  781
                  Online

                  31.8k
                  Users

                  80.0k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  245
                  Loading More Posts
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes
                  Reply
                  • Reply as topic
                  Log in to reply
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  The ioBroker Community 2014-2023
                  logo