Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Fehler bei Adapter Updates

    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

    UNSOLVED Fehler bei Adapter Updates

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      thomasSC @Thomas Braun last edited by

      @Thomas-Braun

      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      /usr/bin/nodejs
      v12.18.3
      /usr/bin/node
      v12.18.3
      /usr/bin/npm
      6.14.6
      nodejs:
       Installiert:           12.18.3-1nodesource1
       Installationskandidat: 12.18.3-1nodesource1
       Versionstabelle:
      *** 12.18.3-1nodesource1 500
             500 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages
             100 /var/lib/dpkg/status
          8.10.0~dfsg-2ubuntu0.4 500
             500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
          8.10.0~dfsg-2ubuntu0.2 500
             500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
          8.10.0~dfsg-2 500
             500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @thomasSC last edited by

        @thomasSC
        Okay, das sieht gut aus.
        Halte aber das Verfallsdatum von Bionic im Auge. Je später der Absprung, desto kniffliger kann das erfahrungsgemäß werden.

        T 1 Reply Last reply Reply Quote 0
        • T
          thomasSC @Thomas Braun last edited by

          @Thomas-Braun

          hm... leider habe ich mit linux nicht so den plan.

          was meinst du mit verfallsdatum? Was kann ich tun das nichts passiert?

          Danke schonmal

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

            @thomasSC
            https://wiki.ubuntuusers.de/Bionic_Beaver/

            Beizeiten mal auf die nächste LTS-Version hüpfen. Also vor 04/2023 bei Bionic Beaver.

            C 1 Reply Last reply Reply Quote 0
            • C
              cactus-online @Thomas Braun last edited by

              Hallo,

              ich habe ein Problem mit meiner Node Installation.

              iobroker@fuchs-virt:/var/cache/apt/archives$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
              iobroker@fuchs-virt:/var/cache/apt/archives$ which node && node -v
              /usr/bin/node
              v12.19.0
              iobroker@fuchs-virt:/var/cache/apt/archives$ which npm && npm -v
              /usr/local/bin/npm
              6.7.0
              iobroker@fuchs-virt:/var/cache/apt/archives$ apt policy nodejs
              nodejs:
                Installiert:           12.19.0-deb-1nodesource1
                Installationskandidat: 12.19.0-deb-1nodesource1
                Versionstabelle:
               *** 12.19.0-deb-1nodesource1 500
                      500 https://deb.nodesource.com/node_12.x focal/main amd64 Packages
                      100 /var/lib/dpkg/status
                   10.19.0~dfsg-3ubuntu1 500
                      500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
              
              

              Ich frage mich, warum der Link zu nodejs fehlt. Ich habe sowohl die v12 als auch v10 mehrfach installiert und purged. Leider kann ich mit der derzeitigen Installation kein weiteren Adapter installieren, weil

              iobroker@fuchs-virt:/opt/iobroker$ iobroker install vis-metro
              NPM version: 6.7.0
              npm install iobroker.vis-metro@1.1.2 --loglevel error --prefix "/opt/iobroker" (System call)
              npm ERR! cb.apply is not a function
              
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2020-11-02T12_09_39_687Z-debug.log
              host.fuchs-virt Cannot install iobroker.vis-metro@1.1.2: 1
              
              

              Ich vermute, es liegt am o.g. fehlenden Link ?

              Asgothian Thomas Braun 2 Replies Last reply Reply Quote 0
              • Asgothian
                Asgothian Developer @cactus-online last edited by

                @cactus-online sagte in Fehler bei Adapter Updates:

                Ich vermute, es liegt am o.g. fehlenden Link ?

                Nein, es liegt daran das npm zu alt ist.

                Siehe hier:

                https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @cactus-online last edited by Thomas Braun

                  @cactus-online sagte in Fehler bei Adapter Updates:

                  /usr/local/bin/npm

                  Das muss weg.

                  sudo rm /usr/local/bin/npm
                  

                  Lies dich hier ein:
                  https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                  Da ist auch erklärt, wie man unter Ubuntu

                  nodejs -v
                  

                  zu einer Ausgabe motiviert.

                  Ich habe sowohl die v12 als auch v10 mehrfach installiert und purged.

                  Das nutzt dir nur nichts bei einer 'Installation' die neben der Paket-Datenbank läuft.

                  Leider baut nodesource die Pakete für Ubuntu aus meiner Sicht 'falsch' zusammen, hatte da auch schon mal ein Issue hinterlassen, aber kein Feedback dazu bekommen. Naja, muss man halt linken. Bei den debian-Paketen machen die das ja auch.

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    cactus-online @Thomas Braun last edited by

                    @Thomas-Braun Wow, das war schnell. Herzlichen Dank! so funktioniert es.

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @cactus-online last edited by

                      @cactus-online

                      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                      

                      Ist nun sauber?

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        cactus-online @Thomas Braun last edited by cactus-online

                        @Thomas-Braun Ja.

                        iobroker@fuchs-virt:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                        /usr/bin/nodejs
                        v12.19.0
                        /usr/bin/node
                        v12.19.0
                        /usr/bin/npm
                        6.14.8
                        nodejs:
                          Installiert:           12.19.0-deb-1nodesource1
                          Installationskandidat: 12.19.0-deb-1nodesource1
                          Versionstabelle:
                         *** 12.19.0-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_12.x focal/main amd64 Packages
                                100 /var/lib/dpkg/status
                             10.19.0~dfsg-3ubuntu1 500
                                500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
                        
                        

                        Jetzt habe ich ja offensichtlich die "richtigen" Links. Vielen Dank nochmal.

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @cactus-online last edited by

                          @cactus-online Ja, jetzt sieht das gut aus.

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          938
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          npm err update
                          5
                          18
                          1782
                          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