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.
    • 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

                          448
                          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