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

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    492

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.6k

RPI2 Adapter kann nicht installiert werden

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
81 Beiträge 10 Kommentatoren 989 Aufrufe 9 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.
  • G Gonzokalle

    @Thomas-Braun
    Es geht weiter.
    Die Ausgabe ist recht übersichtlich.

    login as: martin
    martin@192.168.10.12's password:
    Linux RaspberryPi-Iobroker 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-                                                                                                                                                                             1+rpt1 (2025-09-16) aarch64
    
    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Fri Dec 26 18:06:04 2025 from 192.168.10.11
    martin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker/ && npm ls @stoprocent/noble node-dht-sensor opengpio
    iobroker.inst@3.0.0 /opt/iobroker
    └── (empty)
    
    martin@RaspberryPi-Iobroker:/opt/iobroker $
    
    
    HomoranH Offline
    HomoranH Offline
    Homoran
    Global Moderator Administrators
    schrieb zuletzt editiert von
    #65

    @Gonzokalle dann fehlen die notwendigen Pakete.
    Das erklärt die Fehlermeldungen

    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 -

    G 1 Antwort Letzte Antwort
    0
    • HomoranH Homoran

      @Gonzokalle dann fehlen die notwendigen Pakete.
      Das erklärt die Fehlermeldungen

      G Offline
      G Offline
      Gonzokalle
      schrieb zuletzt editiert von Gonzokalle
      #66

      @Homoran
      Das ist schlecht.
      Ich habe mal mit "sudo apt update && sudo apt full-upgrade" versucht die fehlenden Pakete zu installieren?
      Da kommt auch nicht viel.
      Mit welchem Befehl kann ich denn die fehlenden Pakete installieren?

      martin@RaspberryPi-Iobroker:/opt/iobroker $ sudo apt update && sudo apt full-upgrade
      OK:1 http://deb.debian.org/debian trixie InRelease
      OK:2 http://archive.raspberrypi.com/debian trixie InRelease
      Holen:3 http://deb.debian.org/debian trixie-updates InRelease [47,3 kB]
      OK:4 http://deb.debian.org/debian-security trixie-security InRelease
      OK:5 https://deb.nodesource.com/node_22.x nodistro InRelease
      Es wurden 47,3 kB in 0 s geholt (256 kB/s).
      Alle Pakete sind aktuell.
      Warnung: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
      Zusammenfassung:
        Aktualisiere: 0, Installiere: 0, Entferne: 0, Aktualisiere nicht: 0
      
      
      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • G Gonzokalle

        @Homoran
        Das ist schlecht.
        Ich habe mal mit "sudo apt update && sudo apt full-upgrade" versucht die fehlenden Pakete zu installieren?
        Da kommt auch nicht viel.
        Mit welchem Befehl kann ich denn die fehlenden Pakete installieren?

        martin@RaspberryPi-Iobroker:/opt/iobroker $ sudo apt update && sudo apt full-upgrade
        OK:1 http://deb.debian.org/debian trixie InRelease
        OK:2 http://archive.raspberrypi.com/debian trixie InRelease
        Holen:3 http://deb.debian.org/debian trixie-updates InRelease [47,3 kB]
        OK:4 http://deb.debian.org/debian-security trixie-security InRelease
        OK:5 https://deb.nodesource.com/node_22.x nodistro InRelease
        Es wurden 47,3 kB in 0 s geholt (256 kB/s).
        Alle Pakete sind aktuell.
        Warnung: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
        Zusammenfassung:
          Aktualisiere: 0, Installiere: 0, Entferne: 0, Aktualisiere nicht: 0
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb zuletzt editiert von
        #67

        @Gonzokalle

        Versuch mal

        cd /opt/iobroker/ && npm ci
        

        Da dürfte dann so einiges im Terminal passieren.

        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

          Versuch mal

          cd /opt/iobroker/ && npm ci
          

          Da dürfte dann so einiges im Terminal passieren.

          G Offline
          G Offline
          Gonzokalle
          schrieb zuletzt editiert von Gonzokalle
          #68

          @Thomas-Braun
          Ist das jetzt gut oder schlecht?

          martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ && npm ci
          npm warn skipping integrity check for git dependency ssh://git@github.com/iobroker-community-adapters/ioBroker.eusec.git
          npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
          npm warn deprecated uid-number@0.0.6: This package is no longer supported.
          npm warn deprecated npmlog@5.0.1: This package is no longer supported.
          npm warn deprecated npmlog@4.1.2: This package is no longer supported.
          npm warn deprecated har-validator@5.1.5: this library is no longer supported
          npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are 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 are-we-there-yet@2.0.0: 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 glob@7.2.3: Glob versions prior to v9 are no longer supported
          npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
          npm warn deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
          npm warn deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
          npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
          npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
          npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
          npm warn deprecated gauge@3.0.2: This package is no longer supported.
          npm warn deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
          npm warn deprecated gauge@2.7.4: This package is no longer supported.
          npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
          
          added 1306 packages in 2m
          
          213 packages are looking for funding
            run `npm fund` for details
          
          

          Noch immer leer

          martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ && npm ls @stoprocent/noble node-dht-sensor opengpio
          iobroker.inst@3.0.0 /opt/iobroker
          └── (empty)
          
          
          
          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • G Gonzokalle

            @Thomas-Braun
            Ist das jetzt gut oder schlecht?

            martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ && npm ci
            npm warn skipping integrity check for git dependency ssh://git@github.com/iobroker-community-adapters/ioBroker.eusec.git
            npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
            npm warn deprecated uid-number@0.0.6: This package is no longer supported.
            npm warn deprecated npmlog@5.0.1: This package is no longer supported.
            npm warn deprecated npmlog@4.1.2: This package is no longer supported.
            npm warn deprecated har-validator@5.1.5: this library is no longer supported
            npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are 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 are-we-there-yet@2.0.0: 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 glob@7.2.3: Glob versions prior to v9 are no longer supported
            npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
            npm warn deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
            npm warn deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
            npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
            npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
            npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
            npm warn deprecated gauge@3.0.2: This package is no longer supported.
            npm warn deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
            npm warn deprecated gauge@2.7.4: This package is no longer supported.
            npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
            
            added 1306 packages in 2m
            
            213 packages are looking for funding
              run `npm fund` for details
            
            

            Noch immer leer

            martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ && npm ls @stoprocent/noble node-dht-sensor opengpio
            iobroker.inst@3.0.0 /opt/iobroker
            └── (empty)
            
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb zuletzt editiert von
            #69

            @Gonzokalle

            npm i
            

            Und wenn das nicht geht:

            iob add rpi2 --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

              npm i
              

              Und wenn das nicht geht:

              iob add rpi2 --debug
              
              G Offline
              G Offline
              Gonzokalle
              schrieb zuletzt editiert von
              #70

              @Thomas-Braun

              martin@RaspberryPi-Iobroker:/opt/iobroker $ npm i
              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.
              
              up to date in 4s
              
              213 packages are looking for funding
                run `npm fund` for details
              martin@RaspberryPi-Iobroker:/opt/iobroker $ ^C
              martin@RaspberryPi-Iobroker:/opt/iobroker $ iob add rpi2 --debug
              NPM version: 10.9.4
              Installing iobroker.rpi2@2.4.0... (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@2.4.0 preinstall
              > sudo apt-get install -y libgpiod-dev || exit 0
              
              Paketlisten werden gelesen…
              Abhängigkeitsbaum wird aufgebaut…
              Statusinformationen werden eingelesen…
              libgpiod-dev ist schon die neueste Version (2.2.1-2+deb13u1).
              0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
              
              > @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@22.21.0 | linux | arm64
              (node:81620) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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.
              
              > authenticate-pam@1.0.5 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@22.21.0 | linux | arm64
              (node:81634) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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/authenticate-pam
              gyp ERR! node -v v22.21.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@22.21.0 | linux | arm64
              (node:81667) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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@22.21.0 | linux | arm64
              (node:81681) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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@22.21.0 | linux | arm64
              (node:81696) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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@1.0.18 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@22.21.0 | linux | arm64
              (node:81710) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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 7
              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-27T09_52_54_865Z-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@22.21.0 | linux | arm64
              (node:81620) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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@22.21.0 | linux | arm64
              (node:81634) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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/authenticate-pam
              gyp ERR! node -v v22.21.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@22.21.0 | linux | arm64
              (node:81667) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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@22.21.0 | linux | arm64
              (node:81681) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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@22.21.0 | linux | arm64
              (node:81696) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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@22.21.0 | linux | arm64
              (node:81710) [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! UNCAUGHT EXCEPTION
              gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
              gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
              gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
              gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
              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 v22.21.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 7
              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-27T09_52_54_865Z-debug-0.log
              host.RaspberryPi-Iobroker Cannot install iobroker.rpi2@2.4.0: 7
              martin@RaspberryPi-Iobroker:/opt/iobroker $
              
              
              Thomas BraunT 2 Antworten Letzte Antwort
              0
              • G Gonzokalle

                @Thomas-Braun

                martin@RaspberryPi-Iobroker:/opt/iobroker $ npm i
                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.
                
                up to date in 4s
                
                213 packages are looking for funding
                  run `npm fund` for details
                martin@RaspberryPi-Iobroker:/opt/iobroker $ ^C
                martin@RaspberryPi-Iobroker:/opt/iobroker $ iob add rpi2 --debug
                NPM version: 10.9.4
                Installing iobroker.rpi2@2.4.0... (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@2.4.0 preinstall
                > sudo apt-get install -y libgpiod-dev || exit 0
                
                Paketlisten werden gelesen…
                Abhängigkeitsbaum wird aufgebaut…
                Statusinformationen werden eingelesen…
                libgpiod-dev ist schon die neueste Version (2.2.1-2+deb13u1).
                0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                
                > @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@22.21.0 | linux | arm64
                (node:81620) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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.
                
                > authenticate-pam@1.0.5 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@22.21.0 | linux | arm64
                (node:81634) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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/authenticate-pam
                gyp ERR! node -v v22.21.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@22.21.0 | linux | arm64
                (node:81667) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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@22.21.0 | linux | arm64
                (node:81681) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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@22.21.0 | linux | arm64
                (node:81696) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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@1.0.18 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@22.21.0 | linux | arm64
                (node:81710) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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 7
                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-27T09_52_54_865Z-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@22.21.0 | linux | arm64
                (node:81620) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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@22.21.0 | linux | arm64
                (node:81634) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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/authenticate-pam
                gyp ERR! node -v v22.21.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@22.21.0 | linux | arm64
                (node:81667) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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@22.21.0 | linux | arm64
                (node:81681) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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@22.21.0 | linux | arm64
                (node:81696) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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@22.21.0 | linux | arm64
                (node:81710) [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! UNCAUGHT EXCEPTION
                gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                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 v22.21.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 7
                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-27T09_52_54_865Z-debug-0.log
                host.RaspberryPi-Iobroker Cannot install iobroker.rpi2@2.4.0: 7
                martin@RaspberryPi-Iobroker:/opt/iobroker $
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb zuletzt editiert von
                #71

                @Gonzokalle

                Muss ich mir mal anschauen, wenn ich Zugriff auf ein gescheites Terminal habe. Bin gerade mit dem Handy zugange.

                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
                2
                • G Gonzokalle

                  @Thomas-Braun

                  martin@RaspberryPi-Iobroker:/opt/iobroker $ npm i
                  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.
                  
                  up to date in 4s
                  
                  213 packages are looking for funding
                    run `npm fund` for details
                  martin@RaspberryPi-Iobroker:/opt/iobroker $ ^C
                  martin@RaspberryPi-Iobroker:/opt/iobroker $ iob add rpi2 --debug
                  NPM version: 10.9.4
                  Installing iobroker.rpi2@2.4.0... (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@2.4.0 preinstall
                  > sudo apt-get install -y libgpiod-dev || exit 0
                  
                  Paketlisten werden gelesen…
                  Abhängigkeitsbaum wird aufgebaut…
                  Statusinformationen werden eingelesen…
                  libgpiod-dev ist schon die neueste Version (2.2.1-2+deb13u1).
                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                  
                  > @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@22.21.0 | linux | arm64
                  (node:81620) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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.
                  
                  > authenticate-pam@1.0.5 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@22.21.0 | linux | arm64
                  (node:81634) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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/authenticate-pam
                  gyp ERR! node -v v22.21.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@22.21.0 | linux | arm64
                  (node:81667) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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@22.21.0 | linux | arm64
                  (node:81681) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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@22.21.0 | linux | arm64
                  (node:81696) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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@1.0.18 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@22.21.0 | linux | arm64
                  (node:81710) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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 7
                  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-27T09_52_54_865Z-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@22.21.0 | linux | arm64
                  (node:81620) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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@22.21.0 | linux | arm64
                  (node:81634) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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/authenticate-pam
                  gyp ERR! node -v v22.21.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@22.21.0 | linux | arm64
                  (node:81667) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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@22.21.0 | linux | arm64
                  (node:81681) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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@22.21.0 | linux | arm64
                  (node:81696) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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@22.21.0 | linux | arm64
                  (node:81710) [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! UNCAUGHT EXCEPTION
                  gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                  gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                  gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                  gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                  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 v22.21.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 7
                  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-27T09_52_54_865Z-debug-0.log
                  host.RaspberryPi-Iobroker Cannot install iobroker.rpi2@2.4.0: 7
                  martin@RaspberryPi-Iobroker:/opt/iobroker $
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb zuletzt editiert von Thomas Braun
                  #72

                  @Gonzokalle

                  cd /opt/iobroker/ && npm i iobroker.rpi2@3.0.2 --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

                    cd /opt/iobroker/ && npm i iobroker.rpi2@3.0.2 --debug
                    
                    G Offline
                    G Offline
                    Gonzokalle
                    schrieb zuletzt editiert von
                    #73

                    @Thomas-Braun

                    martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ && npm -i iobroker.rpi2@3.0.2 --debug
                    Unknown command: "iobroker.rpi2@3.0.2"
                    
                    To see a list of supported npm commands, run:
                      npm help
                    
                    
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • G Gonzokalle

                      @Thomas-Braun

                      martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ && npm -i iobroker.rpi2@3.0.2 --debug
                      Unknown command: "iobroker.rpi2@3.0.2"
                      
                      To see a list of supported npm commands, run:
                        npm help
                      
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb zuletzt editiert von
                      #74

                      @Gonzokalle

                      Hatte ich zuerst falsch. Ich meine das wird ohne Bindestrich gemacht. Siehe oben.

                      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

                        Hatte ich zuerst falsch. Ich meine das wird ohne Bindestrich gemacht. Siehe oben.

                        G Offline
                        G Offline
                        Gonzokalle
                        schrieb zuletzt editiert von
                        #75

                        @Thomas-Braun
                        Jetzt ist etwas passiert.

                        martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ && npm i iobroker.rpi2@3.0.2 --debug
                        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.
                        npm error code 7
                        npm error path /opt/iobroker/node_modules/opengpio
                        npm error command failed
                        npm error command sh -c node-gyp rebuild
                        npm error gyp info it worked if it ends with ok
                        npm error gyp info using node-gyp@7.1.2
                        npm error gyp info using node@22.21.0 | linux | arm64
                        npm error (node:92813) [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 info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                        npm error gyp ERR! UNCAUGHT EXCEPTION
                        npm error gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                        npm error gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                        npm error gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                        npm error gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                        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 v22.21.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-27T12_42_56_742Z-debug-0.log
                        martin@RaspberryPi-Iobroker:/opt/iobroker $
                        
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • G Gonzokalle

                          @Thomas-Braun
                          Jetzt ist etwas passiert.

                          martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ && npm i iobroker.rpi2@3.0.2 --debug
                          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.
                          npm error code 7
                          npm error path /opt/iobroker/node_modules/opengpio
                          npm error command failed
                          npm error command sh -c node-gyp rebuild
                          npm error gyp info it worked if it ends with ok
                          npm error gyp info using node-gyp@7.1.2
                          npm error gyp info using node@22.21.0 | linux | arm64
                          npm error (node:92813) [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 info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                          npm error gyp ERR! UNCAUGHT EXCEPTION
                          npm error gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                          npm error gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                          npm error gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                          npm error gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                          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 v22.21.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-27T12_42_56_742Z-debug-0.log
                          martin@RaspberryPi-Iobroker:/opt/iobroker $
                          
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb zuletzt editiert von
                          #76

                          @Gonzokalle

                          Irgendwas stimmt nicht mit den Versionen, denke ich.
                          Vielleicht versuchst du dein Glück mal mit nodejs@24

                          iob nodejs-update 24
                          

                          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

                            Irgendwas stimmt nicht mit den Versionen, denke ich.
                            Vielleicht versuchst du dein Glück mal mit nodejs@24

                            iob nodejs-update 24
                            
                            G Offline
                            G Offline
                            Gonzokalle
                            schrieb zuletzt editiert von
                            #77

                            @Thomas-Braun

                            24 wird ja noch gar nicht empfohlen.

                            Gibt es einen Befehl um nodejs 22 neu zu installieren?

                            HomoranH 1 Antwort Letzte Antwort
                            0
                            • G Gonzokalle

                              @Thomas-Braun

                              24 wird ja noch gar nicht empfohlen.

                              Gibt es einen Befehl um nodejs 22 neu zu installieren?

                              HomoranH Offline
                              HomoranH Offline
                              Homoran
                              Global Moderator Administrators
                              schrieb zuletzt editiert von
                              #78

                              @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                              24 wird ja noch gar nicht empfohlen.

                              hast du es denn probiert?
                              es geht doch darum dass die Pakete neu gebaut werden.

                              @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                              Gibt es einen Befehl um nodejs 22 neu zu installieren?

                              dito mit 22

                              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 -

                              G 1 Antwort Letzte Antwort
                              0
                              • HomoranH Homoran

                                @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                                24 wird ja noch gar nicht empfohlen.

                                hast du es denn probiert?
                                es geht doch darum dass die Pakete neu gebaut werden.

                                @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                                Gibt es einen Befehl um nodejs 22 neu zu installieren?

                                dito mit 22

                                G Offline
                                G Offline
                                Gonzokalle
                                schrieb zuletzt editiert von
                                #79

                                @Homoran
                                Habe es mal mit nodejs 22 probiert und neu gestartet.

                                ioBroker nodejs fixer 2025-08-09
                                You requested to install latest version from nodejs v22 tree.
                                
                                Your current setup is:
                                /usr/bin/nodejs         v22.21.0
                                /usr/bin/node           v22.21.0
                                /usr/bin/npm            10.9.4
                                /usr/bin/npx            10.9.4
                                /usr/bin/corepack       0.34.0
                                
                                We found these nodejs versions available for installation:
                                
                                nodejs:
                                  Installed: 22.21.0-1nodesource1
                                  Candidate: 22.21.0-1nodesource1
                                  Version table:
                                 *** 22.21.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                        100 /var/lib/dpkg/status
                                     22.20.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.19.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.18.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.17.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.17.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.16.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.15.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.15.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.14.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.13.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.13.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.12.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.11.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.10.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.9.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.8.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.7.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.6.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.5.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.5.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.4.1-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.4.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.3.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.2.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.1.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     22.0.0-1nodesource1 1001
                                        500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                     20.19.2+dfsg-1 500
                                        500 http://deb.debian.org/debian trixie/main arm64 Packages
                                
                                
                                
                                Nothing to do - Your installation is using the correct paths.
                                
                                You are running nodejs v22.21.0. Do you want to install latest version from nodejs v.22 tree?
                                
                                Press <y> to continue or any other key to quit
                                Trying to fix your installation now. Please be patient.
                                find: '/run/user/1000/doc': Permission denied
                                find: '/run/user/1000/gvfs': Permission denied
                                Stopping ioBroker now
                                #####
                                ioBroker has been stopped
                                
                                
                                Removing dfsg-nodejs
                                
                                
                                
                                
                                *** These repos are active on your system:
                                Hit:1 http://deb.debian.org/debian trixie InRelease
                                Hit:2 http://archive.raspberrypi.com/debian trixie InRelease
                                Hit:3 http://deb.debian.org/debian trixie-updates InRelease
                                Hit:4 http://deb.debian.org/debian-security trixie-security InRelease
                                Reading package lists... Done
                                
                                *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                
                                *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                
                                deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main
                                Package: nodejs
                                Pin: origin deb.nodesource.com
                                Pin-Priority: 1001
                                
                                *** These repos are active after the adjustments:
                                Hit:1 http://archive.raspberrypi.com/debian trixie InRelease
                                Hit:2 http://deb.debian.org/debian trixie InRelease
                                Hit:3 http://deb.debian.org/debian trixie-updates InRelease
                                Hit:4 http://deb.debian.org/debian-security trixie-security InRelease
                                Get:5 https://deb.nodesource.com/node_22.x nodistro InRelease [12.1 kB]
                                Get:6 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages [7375 B]
                                Get:7 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages [8572 B]
                                Fetched 28.1 kB in 0s (140 kB/s)
                                Reading package lists... Done
                                W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                                
                                Installing nodejs now!
                                
                                Installing latest nodejs v22 release
                                W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                                
                                SUCCESS!
                                v22.21.0 has been installed! You are using the latest nodejs@22 release now!
                                
                                COMPATIBILITY CHECK IN PROGRESS (Only a --dry-run! No modules are really changed or added!)
                                add usocket 0.3.0
                                add unix-dgram 2.0.6
                                add raw-socket 1.8.1
                                add nan 2.19.0
                                add number-is-nan 1.0.1
                                add npmlog 4.1.2
                                add node-gyp 7.1.2
                                add rimraf 3.0.2
                                add minimatch 3.1.2
                                add glob 7.2.3
                                add brace-expansion 1.1.12
                                add net-ping 1.2.4
                                add napi-thread-safe-callback 0.0.6
                                add gauge 2.7.4
                                add strip-ansi 3.0.1
                                add string-width 1.0.2
                                add signal-exit 3.0.7
                                add is-fullwidth-code-point 1.0.0
                                add ansi-regex 2.1.1
                                add fsevents 2.3.3
                                add es6-promise 4.2.8
                                add env-paths 2.2.1
                                add diskusage 1.2.0
                                add cpu-features 0.0.10
                                add code-point-at 1.1.0
                                add buildcheck 0.0.7
                                add authenticate-pam 1.0.5
                                add are-we-there-yet 1.1.7
                                add string_decoder 1.1.1
                                add safe-buffer 5.1.2
                                add readable-stream 2.3.8
                                add @stoprocent/noble 1.19.1
                                
                                added 32 packages in 2s
                                
                                219 packages are looking for funding
                                  run `npm fund` for details
                                
                                
                                We tried our best to fix your nodejs. Please run iob diag again to verify.
                                
                                *** RESTARTING ioBroker NOW! ***
                                 Please refresh or restart your browser in a few moments.
                                martin@RaspberryPi-Iobroker:/opt/iobroker $ sudo reboot
                                
                                
                                
                                
                                G HomoranH 2 Antworten Letzte Antwort
                                0
                                • G Gonzokalle

                                  @Homoran
                                  Habe es mal mit nodejs 22 probiert und neu gestartet.

                                  ioBroker nodejs fixer 2025-08-09
                                  You requested to install latest version from nodejs v22 tree.
                                  
                                  Your current setup is:
                                  /usr/bin/nodejs         v22.21.0
                                  /usr/bin/node           v22.21.0
                                  /usr/bin/npm            10.9.4
                                  /usr/bin/npx            10.9.4
                                  /usr/bin/corepack       0.34.0
                                  
                                  We found these nodejs versions available for installation:
                                  
                                  nodejs:
                                    Installed: 22.21.0-1nodesource1
                                    Candidate: 22.21.0-1nodesource1
                                    Version table:
                                   *** 22.21.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                          100 /var/lib/dpkg/status
                                       22.20.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.19.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.18.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.17.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.17.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.16.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.15.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.15.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.14.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.13.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.13.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.12.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.11.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.10.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.9.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.8.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.7.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.6.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.5.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.5.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.4.1-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.4.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.3.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.2.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.1.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       22.0.0-1nodesource1 1001
                                          500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                       20.19.2+dfsg-1 500
                                          500 http://deb.debian.org/debian trixie/main arm64 Packages
                                  
                                  
                                  
                                  Nothing to do - Your installation is using the correct paths.
                                  
                                  You are running nodejs v22.21.0. Do you want to install latest version from nodejs v.22 tree?
                                  
                                  Press <y> to continue or any other key to quit
                                  Trying to fix your installation now. Please be patient.
                                  find: '/run/user/1000/doc': Permission denied
                                  find: '/run/user/1000/gvfs': Permission denied
                                  Stopping ioBroker now
                                  #####
                                  ioBroker has been stopped
                                  
                                  
                                  Removing dfsg-nodejs
                                  
                                  
                                  
                                  
                                  *** These repos are active on your system:
                                  Hit:1 http://deb.debian.org/debian trixie InRelease
                                  Hit:2 http://archive.raspberrypi.com/debian trixie InRelease
                                  Hit:3 http://deb.debian.org/debian trixie-updates InRelease
                                  Hit:4 http://deb.debian.org/debian-security trixie-security InRelease
                                  Reading package lists... Done
                                  
                                  *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                  
                                  *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                  
                                  deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main
                                  Package: nodejs
                                  Pin: origin deb.nodesource.com
                                  Pin-Priority: 1001
                                  
                                  *** These repos are active after the adjustments:
                                  Hit:1 http://archive.raspberrypi.com/debian trixie InRelease
                                  Hit:2 http://deb.debian.org/debian trixie InRelease
                                  Hit:3 http://deb.debian.org/debian trixie-updates InRelease
                                  Hit:4 http://deb.debian.org/debian-security trixie-security InRelease
                                  Get:5 https://deb.nodesource.com/node_22.x nodistro InRelease [12.1 kB]
                                  Get:6 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages [7375 B]
                                  Get:7 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages [8572 B]
                                  Fetched 28.1 kB in 0s (140 kB/s)
                                  Reading package lists... Done
                                  W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                                  
                                  Installing nodejs now!
                                  
                                  Installing latest nodejs v22 release
                                  W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                                  
                                  SUCCESS!
                                  v22.21.0 has been installed! You are using the latest nodejs@22 release now!
                                  
                                  COMPATIBILITY CHECK IN PROGRESS (Only a --dry-run! No modules are really changed or added!)
                                  add usocket 0.3.0
                                  add unix-dgram 2.0.6
                                  add raw-socket 1.8.1
                                  add nan 2.19.0
                                  add number-is-nan 1.0.1
                                  add npmlog 4.1.2
                                  add node-gyp 7.1.2
                                  add rimraf 3.0.2
                                  add minimatch 3.1.2
                                  add glob 7.2.3
                                  add brace-expansion 1.1.12
                                  add net-ping 1.2.4
                                  add napi-thread-safe-callback 0.0.6
                                  add gauge 2.7.4
                                  add strip-ansi 3.0.1
                                  add string-width 1.0.2
                                  add signal-exit 3.0.7
                                  add is-fullwidth-code-point 1.0.0
                                  add ansi-regex 2.1.1
                                  add fsevents 2.3.3
                                  add es6-promise 4.2.8
                                  add env-paths 2.2.1
                                  add diskusage 1.2.0
                                  add cpu-features 0.0.10
                                  add code-point-at 1.1.0
                                  add buildcheck 0.0.7
                                  add authenticate-pam 1.0.5
                                  add are-we-there-yet 1.1.7
                                  add string_decoder 1.1.1
                                  add safe-buffer 5.1.2
                                  add readable-stream 2.3.8
                                  add @stoprocent/noble 1.19.1
                                  
                                  added 32 packages in 2s
                                  
                                  219 packages are looking for funding
                                    run `npm fund` for details
                                  
                                  
                                  We tried our best to fix your nodejs. Please run iob diag again to verify.
                                  
                                  *** RESTARTING ioBroker NOW! ***
                                   Please refresh or restart your browser in a few moments.
                                  martin@RaspberryPi-Iobroker:/opt/iobroker $ sudo reboot
                                  
                                  
                                  
                                  
                                  G Offline
                                  G Offline
                                  Gonzokalle
                                  schrieb zuletzt editiert von
                                  #80

                                  Mit nodesjs 22 versucht den rpi2@3.0.2 zu installieren.

                                  login as: martin
                                  martin@192.168.10.12's password:
                                  Linux RaspberryPi-Iobroker 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-                                                                                                                                                                             1+rpt1 (2025-09-16) aarch64
                                  
                                  The programs included with the Debian GNU/Linux system are free software;
                                  the exact distribution terms for each program are described in the
                                  individual files in /usr/share/doc/*/copyright.
                                  
                                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                  permitted by applicable law.
                                  Last login: Sat Dec 27 16:54:46 2025 from 192.168.10.11
                                  martin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker/ && npm i iobroker.rpi2@3.0.2 --debug
                                  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.
                                  npm error code 7
                                  npm error path /opt/iobroker/node_modules/opengpio
                                  npm error command failed
                                  npm error command sh -c node-gyp rebuild
                                  npm error gyp info it worked if it ends with ok
                                  npm error gyp info using node-gyp@7.1.2
                                  npm error gyp info using node@22.21.0 | linux | arm64
                                  npm error (node:2692) [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 info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                                  npm error gyp ERR! UNCAUGHT EXCEPTION
                                  npm error gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
                                  npm error gyp ERR! stack     at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21)
                                  npm error gyp ERR! stack     at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9
                                  npm error gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:187:23)
                                  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 v22.21.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-27T16_02_02_683Z-debug-0.log
                                  martin@RaspberryPi-Iobroker:/opt/iobroker $
                                  
                                  
                                  1 Antwort Letzte Antwort
                                  0
                                  • G Gonzokalle

                                    @Homoran
                                    Habe es mal mit nodejs 22 probiert und neu gestartet.

                                    ioBroker nodejs fixer 2025-08-09
                                    You requested to install latest version from nodejs v22 tree.
                                    
                                    Your current setup is:
                                    /usr/bin/nodejs         v22.21.0
                                    /usr/bin/node           v22.21.0
                                    /usr/bin/npm            10.9.4
                                    /usr/bin/npx            10.9.4
                                    /usr/bin/corepack       0.34.0
                                    
                                    We found these nodejs versions available for installation:
                                    
                                    nodejs:
                                      Installed: 22.21.0-1nodesource1
                                      Candidate: 22.21.0-1nodesource1
                                      Version table:
                                     *** 22.21.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                            100 /var/lib/dpkg/status
                                         22.20.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.19.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.18.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.17.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.17.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.16.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.15.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.15.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.14.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.13.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.13.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.12.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.11.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.10.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.9.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.8.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.7.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.6.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.5.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.5.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.4.1-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.4.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.3.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.2.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.1.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         22.0.0-1nodesource1 1001
                                            500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                         20.19.2+dfsg-1 500
                                            500 http://deb.debian.org/debian trixie/main arm64 Packages
                                    
                                    
                                    
                                    Nothing to do - Your installation is using the correct paths.
                                    
                                    You are running nodejs v22.21.0. Do you want to install latest version from nodejs v.22 tree?
                                    
                                    Press <y> to continue or any other key to quit
                                    Trying to fix your installation now. Please be patient.
                                    find: '/run/user/1000/doc': Permission denied
                                    find: '/run/user/1000/gvfs': Permission denied
                                    Stopping ioBroker now
                                    #####
                                    ioBroker has been stopped
                                    
                                    
                                    Removing dfsg-nodejs
                                    
                                    
                                    
                                    
                                    *** These repos are active on your system:
                                    Hit:1 http://deb.debian.org/debian trixie InRelease
                                    Hit:2 http://archive.raspberrypi.com/debian trixie InRelease
                                    Hit:3 http://deb.debian.org/debian trixie-updates InRelease
                                    Hit:4 http://deb.debian.org/debian-security trixie-security InRelease
                                    Reading package lists... Done
                                    
                                    *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                    
                                    *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                    
                                    deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main
                                    Package: nodejs
                                    Pin: origin deb.nodesource.com
                                    Pin-Priority: 1001
                                    
                                    *** These repos are active after the adjustments:
                                    Hit:1 http://archive.raspberrypi.com/debian trixie InRelease
                                    Hit:2 http://deb.debian.org/debian trixie InRelease
                                    Hit:3 http://deb.debian.org/debian trixie-updates InRelease
                                    Hit:4 http://deb.debian.org/debian-security trixie-security InRelease
                                    Get:5 https://deb.nodesource.com/node_22.x nodistro InRelease [12.1 kB]
                                    Get:6 https://deb.nodesource.com/node_22.x nodistro/main armhf Packages [7375 B]
                                    Get:7 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages [8572 B]
                                    Fetched 28.1 kB in 0s (140 kB/s)
                                    Reading package lists... Done
                                    W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                                    
                                    Installing nodejs now!
                                    
                                    Installing latest nodejs v22 release
                                    W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details
                                    
                                    SUCCESS!
                                    v22.21.0 has been installed! You are using the latest nodejs@22 release now!
                                    
                                    COMPATIBILITY CHECK IN PROGRESS (Only a --dry-run! No modules are really changed or added!)
                                    add usocket 0.3.0
                                    add unix-dgram 2.0.6
                                    add raw-socket 1.8.1
                                    add nan 2.19.0
                                    add number-is-nan 1.0.1
                                    add npmlog 4.1.2
                                    add node-gyp 7.1.2
                                    add rimraf 3.0.2
                                    add minimatch 3.1.2
                                    add glob 7.2.3
                                    add brace-expansion 1.1.12
                                    add net-ping 1.2.4
                                    add napi-thread-safe-callback 0.0.6
                                    add gauge 2.7.4
                                    add strip-ansi 3.0.1
                                    add string-width 1.0.2
                                    add signal-exit 3.0.7
                                    add is-fullwidth-code-point 1.0.0
                                    add ansi-regex 2.1.1
                                    add fsevents 2.3.3
                                    add es6-promise 4.2.8
                                    add env-paths 2.2.1
                                    add diskusage 1.2.0
                                    add cpu-features 0.0.10
                                    add code-point-at 1.1.0
                                    add buildcheck 0.0.7
                                    add authenticate-pam 1.0.5
                                    add are-we-there-yet 1.1.7
                                    add string_decoder 1.1.1
                                    add safe-buffer 5.1.2
                                    add readable-stream 2.3.8
                                    add @stoprocent/noble 1.19.1
                                    
                                    added 32 packages in 2s
                                    
                                    219 packages are looking for funding
                                      run `npm fund` for details
                                    
                                    
                                    We tried our best to fix your nodejs. Please run iob diag again to verify.
                                    
                                    *** RESTARTING ioBroker NOW! ***
                                     Please refresh or restart your browser in a few moments.
                                    martin@RaspberryPi-Iobroker:/opt/iobroker $ sudo reboot
                                    
                                    
                                    
                                    
                                    HomoranH Offline
                                    HomoranH Offline
                                    Homoran
                                    Global Moderator Administrators
                                    schrieb zuletzt editiert von
                                    #81

                                    @Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:

                                    Habe es mal mit nodejs 22 probiert und neu gestartet.

                                    ohne vorher die node Version zu ändern?

                                    Das bringt nichts

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

                                    340

                                    Online

                                    32.5k

                                    Benutzer

                                    81.8k

                                    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