Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. RPI2 Adapter kann nicht installiert werden

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    876

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

RPI2 Adapter kann nicht installiert werden

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
167 Beiträge 11 Kommentatoren 2.1k Aufrufe 10 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

    Diese Links gibt es auf meinem System nicht:

    lrwxrwxrwx 1 iobroker iobroker 27 28. Dez 18:51 node-gyp -> ../node-gyp/bin/node-gyp.js
    lrwxrwxrwx 1 iobroker iobroker 40 27. Dez 10:40 node-pre-gyp -> ../@mapbox/node-pre-gyp/bin/node-pre-gyp

    Deswegen wird wohl bei mir node-gyp global aufgerufen, vermute ich.
    Keine Ahnung, ob man die beiden mal löschen könnte.

    G Online
    G Online
    Gonzokalle
    schrieb am zuletzt editiert von
    #119

    @Thomas-Braun
    So kommen wir ja nicht weiter.
    Werde bei Gelegenheit Trixi neu aufspielen.
    Vielen Dank für euren Einsatz.

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • G Gonzokalle

      @Thomas-Braun
      So kommen wir ja nicht weiter.
      Werde bei Gelegenheit Trixi neu aufspielen.
      Vielen Dank für euren Einsatz.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #120

      @Gonzokalle

      Wenn du ohnehin neuinstallieren willst kannst du ja zuvor einfach mal den Link löschen und schauen was passiert.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      crunchipC G 2 Antworten Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @Gonzokalle

        Wenn du ohnehin neuinstallieren willst kannst du ja zuvor einfach mal den Link löschen und schauen was passiert.

        crunchipC Abwesend
        crunchipC Abwesend
        crunchip
        Forum Testing Most Active
        schrieb am zuletzt editiert von
        #121

        @Thomas-Braun oder noch auslesen woher node-gyp@7.1.2 kommt bzw local löschen und neu installieren

        umgestiegen von Proxmox auf Unraid

        1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @Gonzokalle

          Wenn du ohnehin neuinstallieren willst kannst du ja zuvor einfach mal den Link löschen und schauen was passiert.

          G Online
          G Online
          Gonzokalle
          schrieb am zuletzt editiert von
          #122

          @Thomas-Braun
          Das würde ich ja machen.
          Dazu bräuchte ich aber den vollständigen Pfad.
          Mit dem Desktop kann ich ja nicht mehr suchen.

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • G Gonzokalle

            @Thomas-Braun
            Das würde ich ja machen.
            Dazu bräuchte ich aber den vollständigen Pfad.
            Mit dem Desktop kann ich ja nicht mehr suchen.

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #123

            @Gonzokalle

            ??

            rm /opt/iobroker/node_modules/.bin/node-gyp
            rm /opt/iobroker/node_modules/.bin/node-pre-gyp
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            G 1 Antwort Letzte Antwort
            0
            • crunchipC Abwesend
              crunchipC Abwesend
              crunchip
              Forum Testing Most Active
              schrieb am zuletzt editiert von crunchip
              #124

              oder vllt einfach so

              sudo -u iobroker bash
              cd /opt/iobroker
              iob stop
              rm -rf node_modules/node-gyp node_modules/.bin/node-gyp*
              npm cache clean --force
              npm i
              iob add rpi2 --unsafe-permissions
              iob start
              

              umgestiegen von Proxmox auf Unraid

              1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @Gonzokalle

                ??

                rm /opt/iobroker/node_modules/.bin/node-gyp
                rm /opt/iobroker/node_modules/.bin/node-pre-gyp
                
                G Online
                G Online
                Gonzokalle
                schrieb am zuletzt editiert von Gonzokalle
                #125

                @Thomas-Braun
                Das hat wohl geklappt

                martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-gyp
                rm /opt/iobroker/node_modules/.bin/node-pre-gyp
                martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-pre-gyp
                rm: das Entfernen von '/opt/iobroker/node_modules/.bin/node-pre-gyp' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-gyp
                rm: das Entfernen von '/opt/iobroker/node_modules/.bin/node-gyp' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-gyp
                rm: das Entfernen von '/opt/iobroker/node_modules/.bin/node-gyp' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-pre-gyp
                rm: das Entfernen von '/opt/iobroker/node_modules/.bin/node-pre-gyp' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                martin@RaspberryPi-Iobroker:~ $
                
                

                Das sieht nicht so gut aus.

                martin@RaspberryPi-Iobroker:~ $ iob stop
                martin@RaspberryPi-Iobroker:~ $ npm cache clean --force
                npm warn using --force Recommended protections disabled.
                martin@RaspberryPi-Iobroker:~ $ npm i
                npm error code ENOENT
                npm error syscall open
                npm error path /home/martin/package.json
                npm error errno -2
                npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/martin/package.json'
                npm error enoent This is related to npm not being able to find a file.
                npm error enoent
                npm error A complete log of this run can be found in: /home/martin/.npm/_logs/2025-12-29T16_37_52_751Z-debug-0.log
                martin@RaspberryPi-Iobroker:~ $ iob add rpi2 --unsafe-permissions
                NPM version: 11.6.2
                Installing iobroker.rpi2@2.4.0... (System call)
                npm error code 6
                npm error path /opt/iobroker/node_modules/opengpio
                npm error command failed
                npm error command sh -c node-gyp rebuild
                npm error (node:94916) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                npm error (Use `node --trace-deprecation ...` to show where the warning was created)
                npm error gyp ERR! Completion callback never invoked!
                npm error gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpio
                npm error gyp ERR! node -v v24.12.0
                npm error gyp ERR! node-gyp -v v7.1.2
                npm error gyp ERR! Node-gyp failed to build your package.
                npm error gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-29T16_38_17_978Z-debug-0.log
                host.RaspberryPi-Iobroker Cannot install iobroker.rpi2@2.4.0: 6
                martin@RaspberryPi-Iobroker:~ $
                
                
                crunchipC 1 Antwort Letzte Antwort
                0
                • G Gonzokalle

                  @Thomas-Braun
                  Das hat wohl geklappt

                  martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-gyp
                  rm /opt/iobroker/node_modules/.bin/node-pre-gyp
                  martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-pre-gyp
                  rm: das Entfernen von '/opt/iobroker/node_modules/.bin/node-pre-gyp' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                  martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-gyp
                  rm: das Entfernen von '/opt/iobroker/node_modules/.bin/node-gyp' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                  martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-gyp
                  rm: das Entfernen von '/opt/iobroker/node_modules/.bin/node-gyp' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                  martin@RaspberryPi-Iobroker:~ $ rm /opt/iobroker/node_modules/.bin/node-pre-gyp
                  rm: das Entfernen von '/opt/iobroker/node_modules/.bin/node-pre-gyp' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                  martin@RaspberryPi-Iobroker:~ $
                  
                  

                  Das sieht nicht so gut aus.

                  martin@RaspberryPi-Iobroker:~ $ iob stop
                  martin@RaspberryPi-Iobroker:~ $ npm cache clean --force
                  npm warn using --force Recommended protections disabled.
                  martin@RaspberryPi-Iobroker:~ $ npm i
                  npm error code ENOENT
                  npm error syscall open
                  npm error path /home/martin/package.json
                  npm error errno -2
                  npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/martin/package.json'
                  npm error enoent This is related to npm not being able to find a file.
                  npm error enoent
                  npm error A complete log of this run can be found in: /home/martin/.npm/_logs/2025-12-29T16_37_52_751Z-debug-0.log
                  martin@RaspberryPi-Iobroker:~ $ iob add rpi2 --unsafe-permissions
                  NPM version: 11.6.2
                  Installing iobroker.rpi2@2.4.0... (System call)
                  npm error code 6
                  npm error path /opt/iobroker/node_modules/opengpio
                  npm error command failed
                  npm error command sh -c node-gyp rebuild
                  npm error (node:94916) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                  npm error (Use `node --trace-deprecation ...` to show where the warning was created)
                  npm error gyp ERR! Completion callback never invoked!
                  npm error gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                  npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                  npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpio
                  npm error gyp ERR! node -v v24.12.0
                  npm error gyp ERR! node-gyp -v v7.1.2
                  npm error gyp ERR! Node-gyp failed to build your package.
                  npm error gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                  npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-29T16_38_17_978Z-debug-0.log
                  host.RaspberryPi-Iobroker Cannot install iobroker.rpi2@2.4.0: 6
                  martin@RaspberryPi-Iobroker:~ $
                  
                  
                  crunchipC Abwesend
                  crunchipC Abwesend
                  crunchip
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #126

                  @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                  martin@RaspberryPi-Iobroker:~ $ npm i

                  im falschen Verzeichnis

                  umgestiegen von Proxmox auf Unraid

                  G 1 Antwort Letzte Antwort
                  0
                  • crunchipC crunchip

                    @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                    martin@RaspberryPi-Iobroker:~ $ npm i

                    im falschen Verzeichnis

                    G Online
                    G Online
                    Gonzokalle
                    schrieb am zuletzt editiert von
                    #127

                    @crunchip
                    In das Verzeichnis komme ich erst gar nicht.
                    Ich denke mal das PW vom iobroker ist gemeint.

                    martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                    Passwort:
                    su: Fehler bei Authentifizierung
                    martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                    Passwort:
                    su: Fehler bei Authentifizierung
                    martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                    Passwort:
                    su: Fehler bei Authentifizierung
                    martin@RaspberryPi-Iobroker:~ $
                    
                    
                    HomoranH crunchipC Thomas BraunT 3 Antworten Letzte Antwort
                    0
                    • G Gonzokalle

                      @crunchip
                      In das Verzeichnis komme ich erst gar nicht.
                      Ich denke mal das PW vom iobroker ist gemeint.

                      martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                      Passwort:
                      su: Fehler bei Authentifizierung
                      martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                      Passwort:
                      su: Fehler bei Authentifizierung
                      martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                      Passwort:
                      su: Fehler bei Authentifizierung
                      martin@RaspberryPi-Iobroker:~ $
                      
                      
                      HomoranH Nicht stören
                      HomoranH Nicht stören
                      Homoran
                      Global Moderator Administrators
                      schrieb am zuletzt editiert von
                      #128

                      @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                      Ich denke mal das PW vom iobroker ist gemeint.

                      das gibt es nicht!
                      es geht um DEIN sudo passwort

                      @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                      In das Verzeichnis komme ich erst gar nicht.

                      doch!
                      aber den systemuser user iobroker bekommst du nicht aufgerufen

                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      1 Antwort Letzte Antwort
                      0
                      • G Gonzokalle

                        @crunchip
                        In das Verzeichnis komme ich erst gar nicht.
                        Ich denke mal das PW vom iobroker ist gemeint.

                        martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                        Passwort:
                        su: Fehler bei Authentifizierung
                        martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                        Passwort:
                        su: Fehler bei Authentifizierung
                        martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                        Passwort:
                        su: Fehler bei Authentifizierung
                        martin@RaspberryPi-Iobroker:~ $
                        
                        
                        crunchipC Abwesend
                        crunchipC Abwesend
                        crunchip
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #129

                        @Gonzokalle habs oben korrigiert

                        umgestiegen von Proxmox auf Unraid

                        1 Antwort Letzte Antwort
                        0
                        • G Gonzokalle

                          @crunchip
                          In das Verzeichnis komme ich erst gar nicht.
                          Ich denke mal das PW vom iobroker ist gemeint.

                          martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                          Passwort:
                          su: Fehler bei Authentifizierung
                          martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                          Passwort:
                          su: Fehler bei Authentifizierung
                          martin@RaspberryPi-Iobroker:~ $ su - iobroker && cd /opt/iobroker
                          Passwort:
                          su: Fehler bei Authentifizierung
                          martin@RaspberryPi-Iobroker:~ $
                          
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #130

                          @Gonzokalle

                          Dann schau jetzt mal ob du den Adapter installiert bekommst.

                          iobroker url iobroker.rpi2@latest  --debug
                          

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          G 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @Gonzokalle

                            Dann schau jetzt mal ob du den Adapter installiert bekommst.

                            iobroker url iobroker.rpi2@latest  --debug
                            
                            G Online
                            G Online
                            Gonzokalle
                            schrieb am zuletzt editiert von
                            #131

                            @Thomas-Braun

                            martin@RaspberryPi-Iobroker:~ $ iobroker url iobroker.rpi2@latest  --debug
                            install iobroker.rpi2@latest
                            NPM version: 11.6.2
                            Installing iobroker.rpi2@latest... (System call)
                            npm warn deprecated npmlog@4.1.2: This package is no longer supported.
                            npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
                            npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
                            npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
                            npm warn deprecated gauge@2.7.4: This package is no longer supported.
                            
                            > iobroker.rpi2@3.0.2 preinstall
                            > bash ./preinstall-check.sh
                            
                            Checking package: libgpiod-dev >= 2.2
                            libgpiod-dev version OK: 2.2.1-2+deb13u1
                            
                            > @stoprocent/bluetooth-hci-socket@1.5.2 install
                            > node-gyp-build
                            
                            
                            > @stoprocent/noble@1.19.1 install
                            > node-gyp-build
                            
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98580) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            
                            > cpu-features@0.0.10 install
                            > node buildcheck.js > buildcheck.gypi && node-gyp rebuild
                            
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98614) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/cpu-features
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            
                            > diskusage@1.2.0 install
                            > node-gyp rebuild
                            
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98629) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/diskusage
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            
                            > node-dht-sensor@0.4.5 install
                            > node-gyp configure
                            
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98643) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure"
                            gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            
                            > opengpio@2.0.2 install
                            > node-gyp rebuild
                            
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98657) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/opengpio
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            npm error code 6
                            npm error path /opt/iobroker/node_modules/opengpio
                            npm error command failed
                            npm error command sh -c node-gyp rebuild
                            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-29T17_42_20_656Z-debug-0.log
                            npm warn deprecated npmlog@4.1.2: This package is no longer supported.
                            npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
                            npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
                            npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
                            npm warn deprecated gauge@2.7.4: This package is no longer supported.
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98580) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98614) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/cpu-features
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98629) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/diskusage
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98643) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure"
                            gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            gyp info it worked if it ends with ok
                            gyp info using node-gyp@7.1.2
                            gyp info using node@24.12.0 | linux | arm64
                            (node:98657) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                            (Use `node --trace-deprecation ...` to show where the warning was created)
                            gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                            gyp ERR! Completion callback never invoked!
                            gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                            gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/opengpio
                            gyp ERR! node -v v24.12.0
                            gyp ERR! node-gyp -v v7.1.2
                            gyp ERR! Node-gyp failed to build your package.
                            gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                            npm error code 6
                            npm error path /opt/iobroker/node_modules/opengpio
                            npm error command failed
                            npm error command sh -c node-gyp rebuild
                            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-29T17_42_20_656Z-debug-0.log
                            host.RaspberryPi-Iobroker Cannot install iobroker.rpi2@latest: 6
                            martin@RaspberryPi-Iobroker:~ $
                            
                            
                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • G Gonzokalle

                              @Thomas-Braun

                              martin@RaspberryPi-Iobroker:~ $ iobroker url iobroker.rpi2@latest  --debug
                              install iobroker.rpi2@latest
                              NPM version: 11.6.2
                              Installing iobroker.rpi2@latest... (System call)
                              npm warn deprecated npmlog@4.1.2: This package is no longer supported.
                              npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
                              npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
                              npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
                              npm warn deprecated gauge@2.7.4: This package is no longer supported.
                              
                              > iobroker.rpi2@3.0.2 preinstall
                              > bash ./preinstall-check.sh
                              
                              Checking package: libgpiod-dev >= 2.2
                              libgpiod-dev version OK: 2.2.1-2+deb13u1
                              
                              > @stoprocent/bluetooth-hci-socket@1.5.2 install
                              > node-gyp-build
                              
                              
                              > @stoprocent/noble@1.19.1 install
                              > node-gyp-build
                              
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98580) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                              gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              
                              > cpu-features@0.0.10 install
                              > node buildcheck.js > buildcheck.gypi && node-gyp rebuild
                              
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98614) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                              gyp ERR! cwd /opt/iobroker/node_modules/cpu-features
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              
                              > diskusage@1.2.0 install
                              > node-gyp rebuild
                              
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98629) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                              gyp ERR! cwd /opt/iobroker/node_modules/diskusage
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              
                              > node-dht-sensor@0.4.5 install
                              > node-gyp configure
                              
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98643) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure"
                              gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              
                              > opengpio@2.0.2 install
                              > node-gyp rebuild
                              
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98657) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                              gyp ERR! cwd /opt/iobroker/node_modules/opengpio
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              npm error code 6
                              npm error path /opt/iobroker/node_modules/opengpio
                              npm error command failed
                              npm error command sh -c node-gyp rebuild
                              npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-29T17_42_20_656Z-debug-0.log
                              npm warn deprecated npmlog@4.1.2: This package is no longer supported.
                              npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
                              npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
                              npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
                              npm warn deprecated gauge@2.7.4: This package is no longer supported.
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98580) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                              gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98614) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                              gyp ERR! cwd /opt/iobroker/node_modules/cpu-features
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98629) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                              gyp ERR! cwd /opt/iobroker/node_modules/diskusage
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98643) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure"
                              gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              gyp info it worked if it ends with ok
                              gyp info using node-gyp@7.1.2
                              gyp info using node@24.12.0 | linux | arm64
                              (node:98657) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                              (Use `node --trace-deprecation ...` to show where the warning was created)
                              gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                              gyp ERR! Completion callback never invoked!
                              gyp ERR! System Linux 6.12.47+rpt-rpi-2712
                              gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                              gyp ERR! cwd /opt/iobroker/node_modules/opengpio
                              gyp ERR! node -v v24.12.0
                              gyp ERR! node-gyp -v v7.1.2
                              gyp ERR! Node-gyp failed to build your package.
                              gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
                              npm error code 6
                              npm error path /opt/iobroker/node_modules/opengpio
                              npm error command failed
                              npm error command sh -c node-gyp rebuild
                              npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-29T17_42_20_656Z-debug-0.log
                              host.RaspberryPi-Iobroker Cannot install iobroker.rpi2@latest: 6
                              martin@RaspberryPi-Iobroker:~ $
                              
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von Thomas Braun
                              #132

                              @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                              Zieht sich immer noch irgendwoher die veraltete Version.

                              gyp info using node-gyp@7.1.2

                              Bei dir wird vermutlich dies der Fall sein:

                              Lokale Installation im Projekt

                              Viele Projekte installieren node-gyp als lokale Abhängigkeit (in node_modules/.bin).
                              Wenn du npm install ausführst, wird oft die in der package.json oder package-lock.json festgelegte Version verwendet – und die kann veraltet sein.
                              Lösung: Prüfe die package.json und package-lock.json auf die Version von node-gyp und aktualisiere sie ggf. mit:

                              npm update node-gyp

                              Also wird in einer deiner package.json oder package-lock.json die alte node-gyp drin stehen.
                              Schau mal per

                              cd /opt/iobroker/
                              grep -R --include \*package* '"node-gyp":'
                              

                              danach.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              G HomoranH 2 Antworten Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                                Zieht sich immer noch irgendwoher die veraltete Version.

                                gyp info using node-gyp@7.1.2

                                Bei dir wird vermutlich dies der Fall sein:

                                Lokale Installation im Projekt

                                Viele Projekte installieren node-gyp als lokale Abhängigkeit (in node_modules/.bin).
                                Wenn du npm install ausführst, wird oft die in der package.json oder package-lock.json festgelegte Version verwendet – und die kann veraltet sein.
                                Lösung: Prüfe die package.json und package-lock.json auf die Version von node-gyp und aktualisiere sie ggf. mit:

                                npm update node-gyp

                                Also wird in einer deiner package.json oder package-lock.json die alte node-gyp drin stehen.
                                Schau mal per

                                cd /opt/iobroker/
                                grep -R --include \*package* '"node-gyp":'
                                

                                danach.

                                G Online
                                G Online
                                Gonzokalle
                                schrieb am zuletzt editiert von
                                #133

                                @Thomas-Braun

                                martin@RaspberryPi-Iobroker:~ $
                                
                                
                                
                                cd /opt/iobroker/
                                grep -R --include \*package* '"node-gyp":'
                                node_modules/nan/package.json:    "node-gyp": "~v10.3.1",
                                node_modules/@serialport/bindings-cpp/package.json:    "node-gyp": "9.4.0",
                                node_modules/iobroker.zigbee/node_modules/@serialport/bindings-cpp/package.json:    "node-gyp": "11.0.0",
                                node_modules/zigbee-herdsman/node_modules/@serialport/bindings-cpp/package.json:    "node-gyp": "11.0.0",
                                grep: node_modules/.bin/patch-package: Datei oder Verzeichnis nicht gefunden
                                node_modules/zigbee-herdsman-converters/node_modules/@serialport/bindings-cpp/package.json:    "node-gyp": "11.0.0",
                                package-lock.json:        "node-gyp": "bin/node-gyp.js"
                                package-lock.json:        "node-gyp": "^7.1.2"
                                martin@RaspberryPi-Iobroker:/opt/iobroker $
                                
                                
                                
                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                                  Zieht sich immer noch irgendwoher die veraltete Version.

                                  gyp info using node-gyp@7.1.2

                                  Bei dir wird vermutlich dies der Fall sein:

                                  Lokale Installation im Projekt

                                  Viele Projekte installieren node-gyp als lokale Abhängigkeit (in node_modules/.bin).
                                  Wenn du npm install ausführst, wird oft die in der package.json oder package-lock.json festgelegte Version verwendet – und die kann veraltet sein.
                                  Lösung: Prüfe die package.json und package-lock.json auf die Version von node-gyp und aktualisiere sie ggf. mit:

                                  npm update node-gyp

                                  Also wird in einer deiner package.json oder package-lock.json die alte node-gyp drin stehen.
                                  Schau mal per

                                  cd /opt/iobroker/
                                  grep -R --include \*package* '"node-gyp":'
                                  

                                  danach.

                                  HomoranH Nicht stören
                                  HomoranH Nicht stören
                                  Homoran
                                  Global Moderator Administrators
                                  schrieb am zuletzt editiert von Homoran
                                  #134

                                  @Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:

                                  Also wird in einer deiner package.json oder package-lock.json die alte node-gyp drin stehen.

                                  du hast ja editiert 😉

                                  ich wollte dich gestern schon fragen ob es Sinn ergäbe die package-lock.json zu löschen.

                                  aber da steht ja ^ 7.1.2 drin

                                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • G Gonzokalle

                                    @Thomas-Braun

                                    martin@RaspberryPi-Iobroker:~ $
                                    
                                    
                                    
                                    cd /opt/iobroker/
                                    grep -R --include \*package* '"node-gyp":'
                                    node_modules/nan/package.json:    "node-gyp": "~v10.3.1",
                                    node_modules/@serialport/bindings-cpp/package.json:    "node-gyp": "9.4.0",
                                    node_modules/iobroker.zigbee/node_modules/@serialport/bindings-cpp/package.json:    "node-gyp": "11.0.0",
                                    node_modules/zigbee-herdsman/node_modules/@serialport/bindings-cpp/package.json:    "node-gyp": "11.0.0",
                                    grep: node_modules/.bin/patch-package: Datei oder Verzeichnis nicht gefunden
                                    node_modules/zigbee-herdsman-converters/node_modules/@serialport/bindings-cpp/package.json:    "node-gyp": "11.0.0",
                                    package-lock.json:        "node-gyp": "bin/node-gyp.js"
                                    package-lock.json:        "node-gyp": "^7.1.2"
                                    martin@RaspberryPi-Iobroker:/opt/iobroker $
                                    
                                    
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #135

                                    @Gonzokalle

                                    iob stop
                                    rm /opt/iobroker/package-lock.json
                                    cd /opt/iobroker/
                                    npm i
                                    iob start
                                    

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    1 Antwort Letzte Antwort
                                    0
                                    • HomoranH Homoran

                                      @Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:

                                      Also wird in einer deiner package.json oder package-lock.json die alte node-gyp drin stehen.

                                      du hast ja editiert 😉

                                      ich wollte dich gestern schon fragen ob es Sinn ergäbe die package-lock.json zu löschen.

                                      aber da steht ja ^ 7.1.2 drin

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #136

                                      @Homoran sagte in RPI2 Adapter kann nicht installiert werden:

                                      aber da steht ja ^ 7.1.2 drin

                                      Das verhindert, das höhere Versionen als node-gyp 7.x.y verwendet werden können.

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      HomoranH 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @Homoran sagte in RPI2 Adapter kann nicht installiert werden:

                                        aber da steht ja ^ 7.1.2 drin

                                        Das verhindert, das höhere Versionen als node-gyp 7.x.y verwendet werden können.

                                        HomoranH Nicht stören
                                        HomoranH Nicht stören
                                        Homoran
                                        Global Moderator Administrators
                                        schrieb am zuletzt editiert von
                                        #137

                                        @Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:

                                        @Homoran sagte in RPI2 Adapter kann nicht installiert werden:

                                        aber da steht ja ^ 7.1.2 drin

                                        Das verhindert, das höhere Versionen als node-gyp 7.x.y verwendet werden können.

                                        nicht mindestens 7.1.2??

                                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • HomoranH Homoran

                                          @Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:

                                          @Homoran sagte in RPI2 Adapter kann nicht installiert werden:

                                          aber da steht ja ^ 7.1.2 drin

                                          Das verhindert, das höhere Versionen als node-gyp 7.x.y verwendet werden können.

                                          nicht mindestens 7.1.2??

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #138

                                          @Homoran sagte in RPI2 Adapter kann nicht installiert werden:

                                          nicht mindestens 7.1.2??

                                          Ja, aber auch maximal 7.x.y.

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          G HomoranH 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          766

                                          Online

                                          32.6k

                                          Benutzer

                                          82.1k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe