Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst]Adapter Update Probleme wegen NPM Error

    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

    [gelöst]Adapter Update Probleme wegen NPM Error

    This topic has been deleted. Only users with topic management privileges can see it.
    • coyote
      coyote Most Active last edited by coyote

      Guten morgen,

      ich hab seit kurzem Probleme beim Updaten von den Adaptern, da kommt immer folgende Fehlermeldung und der Adapter wird nicht geupdatet:

      $ iobroker upgrade linux-control@1.1.3
      
      Update linux-control from @1.1.2 to @1.1.3
      
      NPM version: 6.14.15
      
      npm install iobroker.linux-control@1.1.3 --loglevel error --prefix "/opt/iobroker" (System call)
      
      npm ERR! code ENOTSUP
      
      npm ERR! notsup Unsupported engine for homebridge-hue@0.13.25: wanted: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"} (current: {"node":"12.22.6","npm":"6.14.15"})
      
      npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25
      
      npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25
      
      npm ERR! notsup Required: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"}
      
      npm ERR! notsup Actual: {"npm":"6.14.15","node":"12.22.6"}
      
      npm ERR! A complete log of this run can be found in:
      
      npm ERR! /home/iobroker/.npm/_logs/2021-10-08T07_45_36_400Z-debug.log
      
      upload [20] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/words.js words.js application/javascript
      
      upload [19] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/style.css style.css text/css
      
      upload [18] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/linux-control.png linux-control.png image/png
      
      upload [17] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/updates.json lib/updates.json application/json
      
      upload [16] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/services.json lib/services.json application/json
      
      upload [15] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/needrestart.json lib/needrestart.json application/json
      
      upload [14] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/jquery.fancytree.dnd5.js lib/jquery.fancytree.dnd5.js application/javascript
      
      upload [13] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/info.json lib/info.json application/json
      
      upload [12] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/distribution.json lib/distribution.json application/json
      
      upload [11] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/lib/control.json lib/control.json application/json
      
      upload [10] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/index_m.js index_m.js application/javascript
      
      upload [9] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/index_m.html index_m.html text/html
      
      upload [8] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/state.png img/state.png image/png
      
      upload [7] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/menu_right.svg img/menu_right.svg image/svg+xml
      
      upload [6] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/menu_down.svg img/menu_down.svg image/svg+xml
      
      upload [5] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/info-big.png img/info-big.png image/png
      
      upload [4] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/folder.png img/folder.png image/png
      
      upload [3] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/checkbox_marked.svg img/checkbox_marked.svg image/svg+xml
      
      upload [2] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/checkbox_intermediate.svg img/checkbox_intermediate.svg image/svg+xml
      
      upload [1] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/img/checkbox.svg img/checkbox.svg image/svg+xml
      
      upload [0] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/admin.d.ts admin.d.ts video/mp2t
      
      Adapter "linux-control" updated
      
      Process exited with code 0
      

      Ich frage mich jetzt gerade wo "homebridge-hue@0.13.25" her kommt, weil das ja angemeckert wird.
      Hatte die Tage den "HAM" Adapter installiert, aber auch wieder entfernt. Desweiteren ist noch yahka und deconz installiert.
      Ist dieses "homebridge-hue@0.13.25" mit im yahka Adapter? Ansonsten wüsste ich nicht wo es herkommt. Oder vom "HAM" Adapter wurde etwas nicht richtig deinstalliert.

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

        @coyote sagte in Adapter Update Probleme wegen NPM Error:

        "homebridge":"^1.3.4","node":"^14.18.0"

        Der Adapter benötigt also node 14.

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

          @thomas-braun ja, das hab ich gesehen, aber welcher Adapter? Laut log ja "homebridge-hue@0.13.25" , hab ich aber nicht installiert, ich wüsste nicht wo

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

            @coyote sagte in Adapter Update Probleme wegen NPM Error:

            homebridge-hue

            cd /opt/iobroker 
            npm list homebridge-hue
            
            coyote 1 Reply Last reply Reply Quote 0
            • coyote
              coyote Most Active @Thomas Braun last edited by

              @thomas-braun

              iobroker.inst@3.0.0 /opt/iobroker
              └─┬ iobroker.ham@4.0.2
                └── UNMET DEPENDENCY homebridge-hue@^0.13.23
              
              npm ERR! missing: homebridge-hue@^0.13.23, required by iobroker.ham@4.0.2
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @coyote last edited by

                @coyote

                Da siehtst du wo es klemmt.
                Installier halt node14, dann dürfte sich das erledigen.

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

                  @thomas-braun
                  nee will ich nicht, habe gerade gesehen, dass er mir den Homebridge Adapter nicht deinstalliert hat, daher auch die Fehlermeldung. Wenn ich den deinstallieren will kommt:

                  $ iobroker del ham
                  
                  Delete adapter "ham"
                  
                  host.ioBroker object ham deleted
                  
                  host.ioBroker object ham.admin deleted
                  
                  npm uninstall iobroker.ham --loglevel error --prefix "/opt/iobroker" (System call)
                  
                  npm ERR! code ENOTSUP
                  
                  npm ERR! notsup Unsupported engine for homebridge-hue@0.13.25: wanted: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"} (current: {"node":"12.22.6","npm":"6.14.15"})npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25npm ERR! notsup Not compatible with your version of node/npm: homebridge-hue@0.13.25npm ERR! notsup Required: {"BSB001":"1.16.0","BSB002":"1.46.0","deCONZ":"2.12.6","homebridge":"^1.3.4","node":"^14.18.0"}npm ERR! notsup Actual: {"npm":"6.14.15","node":"12.22.6"}
                  
                  npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-10-08T08_48_28_728Z-debug.log
                  
                  Error deleting adapter ham from disk: Error: host.ioBroker: Cannot uninstall iobroker.ham: 1
                  
                  You might have to delete it yourself!
                  
                  Process exited with code 0
                  

                  Wie bekomme ich den manuell deinstalliert?

                  Und hast du Node 14 installiert?

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

                    @coyote sagte in Adapter Update Probleme wegen NPM Error:

                    Und hast du Node 14 installiert?

                    node16. Aber das empfehle ich nicht!
                    node14 läuft aber, soweit ich das hier lese, unauffällig ohne Probleme. Kann man nehmen.

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

                      @thomas-braun

                      Ah ok, naja ich schau mal.

                      Aber wie deinstalliere ich den HAM Adapter jetzt von Hand?

                      coyote 1 Reply Last reply Reply Quote 0
                      • coyote
                        coyote Most Active @coyote last edited by

                        Habe das Verzeichnis jetzt gelöscht per "rm -r /opt/iobroker/node_modules/iobroker.ham" und den Fixer drüber laufen lassen. Läuft alles wieder.

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

                          @coyote
                          Das hätte ich nicht gemacht. Das ist die Holzfällermethode. Das fliegt dir künftig wieder um die Ohren.
                          Was hält dich von einem simplen Upgrade auf Node14 ab?

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

                            @thomas-braun ja das kann ich ja machen, aber ich will/wollte doch auch den ham Adapter weg haben und das ging anscheinend nicht anders

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

                              @coyote
                              Mit sauberem node14 wäre auch eine reguläre Deinstallation der Adapter wieder möglich gewesen

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

                                @thomas-braun gut ok, da gebe ich dir recht, das wäre eine Möglichkeit gewesen. Nun ja, jetzt hab ich es gelöscht, bisher ok. Soll ich jetzt trotzdem noch was machen?

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                603
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                error homebridge yahka
                                2
                                14
                                427
                                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