Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

    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

    Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

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

      @thomas-braun

      Sorry, mein Fehler.

      Jetzt sieht es so aus:

      pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv7l
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v16.17.0
      v16.17.0
      8.15.0
      pi
      /home/pi
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:3 https://deb.nodesource.com/node_16.x buster InRelease
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Alle Pakete sind aktuell.
      nodejs:
        Installiert:           16.17.0-deb-1nodesource1
        Installationskandidat: 16.17.0-deb-1nodesource1
        Versionstabelle:
       *** 16.17.0-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      pi@raspberrypi:~ $
      
      

      Jetzt nochmal die Anleitung komplett durchgehen bis Fehler kommen?

      Thomas Braun W 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Weiland last edited by

        @weiland

        for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
        

        sollte das Problem mit den Adapter-Updates lösen.

        iobroker update -i
        iobroker upgrade all
        
        W 1 Reply Last reply Reply Quote 0
        • W
          Weiland @Weiland last edited by

          @weiland said in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

          Jetzt nochmal die Anleitung komplett durchgehen bis Fehler kommen?

          Sieht noch nicht gut aus.

          pi@raspberrypi:~ $ cd /opt/iobroker
          pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR'
          npm ERR! code ELSPROBLEMS
          npm ERR! extraneous: @types/component-emitter@1.2.11 /opt/iobroker/node_modules/@types/component-emitter
          npm ERR! extraneous: @types/cookie@0.4.1 /opt/iobroker/node_modules/@types/cookie
          npm ERR! extraneous: @types/cors@2.8.12 /opt/iobroker/node_modules/@types/cors
          npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T08_34_41_336Z-debug-0.log
          pi@raspberrypi:/opt/iobroker $ cd /opt/iobroker && npm prune
          npm WARN old lockfile
          npm WARN old lockfile The package-lock.json file was created with an old version of npm,
          npm WARN old lockfile so supplemental metadata must be fetched from the registry.
          npm WARN old lockfile
          npm WARN old lockfile This is a one-time fix-up, please be patient...
          npm WARN old lockfile
          npm ERR! code ENOTEMPTY
          npm ERR! syscall rename
          npm ERR! path /opt/iobroker/node_modules/acorn
          npm ERR! dest /opt/iobroker/node_modules/.acorn-zHERliMH
          npm ERR! errno -39
          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acorn' -> '/opt/iobroker/node_modules/.acorn-zHERliMH'
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T08_35_22_749Z-debug-0.log
          pi@raspberrypi:/opt/iobroker $
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Weiland last edited by

            @weiland

            Hast du

            for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
            

            ausgeführt?

            1 Reply Last reply Reply Quote 0
            • W
              Weiland @Thomas Braun last edited by

              @thomas-braun said in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

              for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done

              Hier fehlen wohl Berechtigungen, in ioBroker?

              Gekürzt:

              rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/set.js' ist nicht möglich: Keine Berechtigung
              rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/timestamp.js' ist nicht möglich: Keine Berechtigung
              rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/pairs.js' ist nicht möglich: Keine Berechtigung
              rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/null.js' ist nicht möglich: Keine Berechtigung
              rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/merge.js' ist nicht möglich: Keine Berechtigung
              rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/schema.js' ist nicht möglich: Keine Berechtigung
              rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml.js' ist nicht möglich: Keine Berechtigung
              rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/dist/js-yaml.min.js' ist nicht möglich: Keine Berechtigung
              rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/dist/js-yaml.js' ist nicht möglich: Keine Berechtigung
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Weiland last edited by Thomas Braun

                @weiland

                Dann hast du da vermutlich mal als root herumgeschraubt, denn eigentlich reichen die Berechtigungen von 'pi' aus.

                groups
                iobroker stop 
                iobroker fix
                for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                
                W 1 Reply Last reply Reply Quote 1
                • W
                  Weiland @Thomas Braun last edited by

                  @thomas-braun said in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                  for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done

                  Ich hoffe das war kein Problem "groups" zwischenzuschieben:

                  pi@raspberrypi:~ $ iobroker stop
                  iobrokepi@raspberrypi:~ $
                  pi@raspberrypi:~ $ iobroker fix
                  library: loaded
                  Library version=2022-06-15
                  
                  ==========================================================================
                  
                      Welcome to the ioBroker installation fixer!
                      Script version: 2022-06-03
                  
                      You might need to enter your password a couple of times.
                  
                  ==========================================================================
                  
                  
                  ==========================================================================
                      Installing prerequisites (1/3)
                  ==========================================================================
                  
                  OK:1 http://archive.raspberrypi.org/debian buster InRelease
                  OK:2 https://deb.nodesource.com/node_16.x buster InRelease
                  OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Installed gcc-c++
                  Installed cmake
                  
                  ==========================================================================
                      Checking ioBroker user and directory permissions (2/3)
                  ==========================================================================
                  
                  Created /etc/sudoers.d/iobroker
                  Fixing directory permissions...
                  
                  ==========================================================================
                      Checking autostart (3/3)
                  ==========================================================================
                  
                  Enabling autostart...
                  Autostart enabled!
                  
                  ==========================================================================
                  
                      Your installation was fixed successfully
                      Run iobroker start to start ioBroker again!
                  
                  ==========================================================================
                  
                  pi@raspberrypi:~ $ groups
                  pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                  pi@raspberrypi:~ $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                  pi@raspberrypi:~ $
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Weiland last edited by

                    @weiland sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                    Ich hoffe das war kein Problem "groups" zwischenzuschieben:

                    Nein, dient nur zur Info für mich, ob die Gruppenzugehörigkeiten richtig sind.
                    Sind sie, und nach dem Fix kommst du ja auch an die Verzeichnisse ran.
                    Also hast du da mal mit zu hohen Rechten herumgefummelt. Mit 'sudo' oder direkt als root. Ist beides verboten im Zusammenhang mit dem ioBroker.

                    W 2 Replies Last reply Reply Quote 0
                    • W
                      Weiland @Thomas Braun last edited by

                      @thomas-braun

                      Scheint nun zu klappen, update gerade die Adapter. Tausend Dank! Würde dir gerne nen Kaffee rüberschieben.

                      Soll ich nun noch was an der NPM-Version machen?

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • W
                        Weiland @Thomas Braun last edited by

                        @thomas-braun said in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                        Also hast du da mal mit zu hohen Rechten herumgefummelt. Mit 'sudo' oder direkt als root. Ist beides verboten im Zusammenhang mit dem ioBroker.

                        Das ist übrigens möglich, ich werde es mir hinter die Ohren schreiben

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

                          @weiland sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                          Soll ich nun noch was an der NPM-Version machen?

                          Nein, nur die Finger davon lassen.
                          npm wird immer zusammen mit nodejs automatisch in der richtigen Version installiert, da muss man gar nix dran machen.

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

                            @weiland sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                            Das ist übrigens möglich

                            Das ist auch die einzige Möglichkeit, warum in dem Pfad Dateien oder Verzeichnisse liegen können auf die du mit einem Standarduser aus der Gruppe 'iobroker' nicht zugreifen kannst.

                            cd /opt/iobroker
                            npm ls
                            

                            sagt nun?

                            W 1 Reply Last reply Reply Quote 0
                            • W
                              Weiland @Thomas Braun last edited by Weiland

                              @thomas-braun said in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                              cd /opt/iobroker
                              npm ls

                              sagt nun?

                              pi@raspberrypi:/opt/iobroker $ npm ls
                              iobroker.inst@2.0.3 /opt/iobroker
                              ├── @types/component-emitter@1.2.11 extraneous
                              ├── @types/cookie@0.4.1 extraneous
                              ├── @types/cors@2.8.12 extraneous
                              ├── colors@1.4.0
                              ├── fs-extra@7.0.1
                              ├── iobroker.accuweather@1.2.4
                              ├── iobroker.admin@6.2.21
                              ├── iobroker.alexa2@3.19.7
                              ├── iobroker.backitup@2.4.12
                              ├── iobroker.binance@1.1.3
                              ├── iobroker.bosesoundtouch@0.10.3
                              ├── iobroker.botvac@1.0.0
                              ├── iobroker.cloud@4.2.2
                              ├── iobroker.daswetter@3.1.4
                              ├── iobroker.discovery@3.0.5
                              ├── iobroker.fakeroku@0.2.1
                              ├── iobroker.flot@1.11.0
                              ├── iobroker.fritzdect@2.2.3
                              ├── iobroker.ham@5.1.0
                              ├── iobroker.harmony@1.2.2
                              ├── iobroker.history@2.2.1
                              ├── iobroker.hm-rega@3.0.43
                              ├── iobroker.hm-rpc@1.15.15
                              ├── iobroker.hmip@1.19.1
                              ├── iobroker.homeconnect@1.0.1
                              ├── iobroker.hue-extended@2.0.0
                              ├── iobroker.hue@3.7.1
                              ├── iobroker.icons-icons8@0.0.1
                              ├── iobroker.info@1.9.19
                              ├── iobroker.javascript@6.0.1
                              ├── iobroker.js-controller@4.0.23
                              ├── iobroker.material@1.1.2
                              ├── iobroker.mihome-vacuum@3.6.0
                              ├── iobroker.mobile@1.0.1
                              ├── iobroker.node-red@4.0.0 invalid: "3.3.0" from the root project
                              ├── iobroker.openweathermap@0.3.0
                              ├── iobroker.pi-hole@1.3.4
                              ├── iobroker.ping@1.5.3
                              ├── iobroker.samsung@0.5.11
                              ├── iobroker.schoolfree@1.0.1
                              ├── iobroker.simple-api@2.7.1
                              ├── iobroker.socketio@6.1.10
                              ├── iobroker.spotify-premium@1.2.2
                              ├── iobroker.sql@2.1.8
                              ├── iobroker.synology@2.1.9
                              ├── iobroker.tileboard@0.3.1
                              ├── iobroker.tr-064@4.2.16
                              ├── iobroker.trashschedule@2.0.3
                              ├── iobroker.vis-google-fonts@1.0.3
                              ├── iobroker.vis-history@1.0.0
                              ├── iobroker.vis-hqwidgets@1.3.0
                              ├── iobroker.vis-materialdesign@0.5.9
                              ├── iobroker.vis@1.4.15
                              ├── iobroker.web@5.2.5
                              ├── iobroker.whatsapp-cmb@0.2.3
                              ├── iobroker.ws@2.1.5
                              ├── iobroker.yahka@0.13.1
                              ├── iobroker@2.0.3
                              ├── semver@5.7.1
                              └── yargs@7.1.0
                              
                              npm ERR! code ELSPROBLEMS
                              npm ERR! extraneous: @types/component-emitter@1.2.11 /opt/iobroker/node_modules/@types/component-emitter
                              npm ERR! extraneous: @types/cookie@0.4.1 /opt/iobroker/node_modules/@types/cookie
                              npm ERR! extraneous: @types/cors@2.8.12 /opt/iobroker/node_modules/@types/cors
                              npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T09_12_10_695Z-debug-0.log
                              pi@raspberrypi:/opt/iobroker $
                              
                              

                              Tatsächlich habe ich auch festgestellt, dass der Node-Red-Adapter der einzige ist der sich nicht updaten lässt.

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

                                @weiland

                                node-red 4.0.0 ist eh erst noch Beta. Solltest du nicht verwenden.

                                iobroker update
                                iobroke upgrade node-red@3.3.1
                                

                                Du scheinst da generell als Beta-Tester unterwegs zu sein.

                                iobroker repo list
                                

                                sagt?

                                W 1 Reply Last reply Reply Quote 0
                                • W
                                  Weiland @Thomas Braun last edited by

                                  @thomas-braun said in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                                  @weiland

                                  node-red 4.0.0 ist eh erst noch Beta. Solltest du nicht verwenden.

                                  iobroker update
                                  iobroke upgrade node-red@3.3.1
                                  

                                  Du scheinst da generell als Beta-Tester unterwegs zu sein.

                                  iobroker repo list
                                  

                                  sagt?

                                  stimmt:

                                  pi@raspberrypi:/opt/iobroker $ iobroker repo list
                                  stable        : http://download.iobroker.net/sources-dist.json
                                  beta          : http://download.iobroker.net/sources-dist-latest.json
                                  
                                  Active repo(s): beta
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Weiland last edited by Thomas Braun

                                    @weiland

                                    Und warum?

                                    Stell das auf stable ein.

                                    iobroker repo unset beta
                                    iobroker repo set stable
                                    iobroker update
                                    
                                    W 1 Reply Last reply Reply Quote 0
                                    • W
                                      Weiland @Thomas Braun last edited by

                                      @thomas-braun

                                      erledigt, genau kann ich dir das garnicht sagen, wahrscheinlich gab es mal einen Adapter den ich brauchte nur in Beta

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        iobrokerle last edited by

                                        @thomas-braun

                                        Ich komme auch nicht weiter und bitte um Hilfe.
                                        Ich habe ein ähnliches Probleme und habe mich schon durch den Thread durchgearbeitet.:

                                        Bei mir sieht es so aus:

                                        pi@raspberry-iob:/opt/iobroker $ npm ls
                                        iobroker.inst@2.0.3 /opt/iobroker
                                        ├── @abandonware/bluetooth-hci-socket@0.5.3-8 extraneous
                                        ├── @abandonware/noble@1.9.2-15 extraneous
                                        ├── @types/caseless@0.12.2 extraneous
                                        ├── @types/request@2.48.8 extraneous
                                        ├── @types/tough-cookie@4.0.2 extraneous
                                        ├── bignumber.js@9.0.2 extraneous
                                        ├── coffeescript@1.12.7 extraneous
                                        ├── colors@1.4.0
                                        ├── fs-extra@7.0.1
                                        ├── http-cookie-agent@1.0.5 extraneous
                                        ├── iobroker-react-components@1.0.0 extraneous
                                        ├── iobroker.admin@6.2.22
                                        ├── iobroker.alexa2@3.19.9
                                        ├── UNMET DEPENDENCY iobroker.ble@0.13.0
                                        ├── UNMET DEPENDENCY iobroker.bmw@2.5.3
                                        ├── iobroker.coronavirus-statistics@0.8.7
                                        ├── UNMET DEPENDENCY iobroker.daswetter@3.1.2
                                        ├── iobroker.devices@1.0.12
                                        ├── iobroker.discovery@3.0.5
                                        ├── iobroker.ds18b20@1.6.0
                                        ├── iobroker.echarts@1.0.12
                                        ├── iobroker.email@1.1.3
                                        ├── iobroker.firetv@1.0.0
                                        ├── iobroker.flot@1.11.0
                                        ├── iobroker.history@2.2.0
                                        ├── iobroker.icons-ultimate-png@1.0.1
                                        ├── iobroker.info@1.9.19
                                        ├── iobroker.javascript@6.0.3
                                        ├── iobroker.js-controller@4.0.23
                                        ├── iobroker.node-red@3.3.1
                                        ├── iobroker.proxy@1.3.1
                                        ├── iobroker.shelly@6.0.0
                                        ├── iobroker.simple-api@2.7.0
                                        ├── iobroker.socketio@4.2.0
                                        ├── iobroker.sonoff@2.5.1
                                        ├── iobroker.statistics@2.2.0
                                        ├── iobroker.tankerkoenig@2.1.1
                                        ├── iobroker.telegram@1.14.1
                                        ├── iobroker.text2command@2.2.2
                                        ├── iobroker.vis-bars@0.1.4
                                        ├── iobroker.vis-fancyswitch@1.1.0
                                        ├── iobroker.vis-history@1.0.0
                                        ├── iobroker.vis-hqwidgets@1.3.0
                                        ├── iobroker.vis-icontwo@ extraneous
                                        ├── iobroker.vis-inventwo@3.3.1
                                        ├── iobroker.vis-jqui-mfd@1.0.12
                                        ├── iobroker.vis-map@1.0.4
                                        ├── iobroker.vis-materialdesign@0.3.0
                                        ├── iobroker.vis-metro@1.2.0
                                        ├── iobroker.vis-timeandweather@1.2.2
                                        ├── iobroker.vis-weather@2.5.5
                                        ├── iobroker.vis@1.4.15
                                        ├── iobroker.weatherunderground@3.4.2
                                        ├── iobroker.web@4.3.0
                                        ├── iobroker@2.0.3
                                        ├── json-bigint@1.0.0 extraneous
                                        ├── node-inspect@2.0.0 extraneous
                                        ├── node-schedule@2.1.0 extraneous
                                        ├── picocolors@1.0.0 extraneous
                                        ├── semver@5.7.1
                                        ├── setimmediate@1.0.5 extraneous
                                        ├── suncalc2@1.8.1 extraneous
                                        ├── typescript@4.7.4 extraneous
                                        ├── usb@1.9.2 extraneous
                                        ├── virtual-tsc@0.6.2 extraneous
                                        ├── wake_on_lan@1.0.0 extraneous
                                        ├── xml2json-light@1.0.6 extraneous
                                        ├── xmlhttprequest@1.8.0 extraneous
                                        └── yargs@7.1.0
                                        
                                        npm ERR! code ELSPROBLEMS
                                        npm ERR! extraneous: @abandonware/bluetooth-hci-socket@0.5.3-8 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                                        npm ERR! extraneous: @abandonware/noble@1.9.2-15 /opt/iobroker/node_modules/@abandonware/noble
                                        npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
                                        npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
                                        npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
                                        npm ERR! extraneous: bignumber.js@9.0.2 /opt/iobroker/node_modules/bignumber.js
                                        npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript
                                        npm ERR! extraneous: http-cookie-agent@1.0.5 /opt/iobroker/node_modules/http-cookie-agent
                                        npm ERR! extraneous: iobroker-react-components@1.0.0 /opt/iobroker/node_modules/iobroker-react-components
                                        npm ERR! missing: iobroker.ble@0.13.0, required by iobroker.inst@2.0.3
                                        npm ERR! missing: iobroker.bmw@2.5.3, required by iobroker.inst@2.0.3
                                        npm ERR! missing: iobroker.daswetter@3.1.2, required by iobroker.inst@2.0.3
                                        npm ERR! extraneous: iobroker.vis-icontwo@ /opt/iobroker/node_modules/iobroker.vis-icontwo
                                        npm ERR! extraneous: json-bigint@1.0.0 /opt/iobroker/node_modules/json-bigint
                                        npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
                                        npm ERR! extraneous: node-schedule@2.1.0 /opt/iobroker/node_modules/node-schedule
                                        npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
                                        npm ERR! extraneous: setimmediate@1.0.5 /opt/iobroker/node_modules/setimmediate
                                        npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2
                                        npm ERR! extraneous: typescript@4.7.4 /opt/iobroker/node_modules/typescript
                                        npm ERR! extraneous: usb@1.9.2 /opt/iobroker/node_modules/usb
                                        npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
                                        npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
                                        npm ERR! extraneous: xml2json-light@1.0.6 /opt/iobroker/node_modules/xml2json-light
                                        npm ERR! extraneous: xmlhttprequest@1.8.0 /opt/iobroker/node_modules/xmlhttprequest
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2022-09-25T12_39_12_532Z-debug-0.log
                                        

                                        Das sollte eigentlich passen:

                                        pi@raspberry-iob:/ $ nodejs -v && node -v && npm -v && which nodejs && which node && which npm
                                        v16.17.1
                                        v16.17.1
                                        8.15.0
                                        /usr/bin/nodejs
                                        /usr/bin/node
                                        /usr/bin/npm
                                        pi@raspberry-iob:/ $
                                        

                                        Jemand eine Idee?

                                        Viele Grüße

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

                                          @iobrokerle sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                                          npm ERR! missing: iobroker.ble@0.13.0, required by iobroker.inst@2.0.3

                                          Installier die drei nochmal:

                                          npm ERR! missing: iobroker.ble@0.13.0, required by iobroker.inst@2.0.3
                                          npm ERR! missing: iobroker.bmw@2.5.3, required by iobroker.inst@2.0.3
                                          npm ERR! missing: iobroker.daswetter@3.1.2, required by iobroker.inst@2.0.3
                                          

                                          Vollständig prüfen bitte so:

                                          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                          
                                          I 1 Reply Last reply Reply Quote 0
                                          • I
                                            iobrokerle @Thomas Braun last edited by iobrokerle

                                            @thomas-braun

                                            Danke für die schnelle Antwort 👍

                                            Ich kann leider keinen Adapter mehr installieren, egal welcher.
                                            Immer kommt ein Exit Code.

                                            
                                            armv7l
                                            /usr/bin/nodejs
                                            /usr/bin/node
                                            /usr/bin/npm
                                            v16.17.1
                                            v16.17.1
                                            8.15.0
                                            4.0.23
                                            pi
                                            pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                                            /
                                            OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                            OK:2 http://archive.raspberrypi.org/debian buster InRelease
                                            OK:3 https://deb.nodesource.com/node_16.x buster InRelease
                                            Paketlisten werden gelesen... Fertig
                                            Abhängigkeitsbaum wird aufgebaut.
                                            Statusinformationen werden eingelesen.... Fertig
                                            Aktualisierung für 3 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                            nodejs:
                                              Installiert:           16.17.1-deb-1nodesource1
                                              Installationskandidat: 16.17.1-deb-1nodesource1
                                              Versionstabelle:
                                             *** 16.17.1-deb-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                                                    100 /var/lib/dpkg/status
                                                 10.24.0~dfsg-1~deb10u1 500
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            468
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            94
                                            9125
                                            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