NEWS
RPI2 Adapter kann nicht installiert werden
-
martin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker/ grep -R --include \*package* '"node-gyp":' node_modules/nan/package.json: "node-gyp": "~v10.3.1", node_modules/@serialport/bindings-cpp/package.json: "node-gyp": "9.4.0", node_modules/iobroker.zigbee/node_modules/@serialport/bindings-cpp/package.json: "node-gyp": "11.0.0", node_modules/zigbee-herdsman/node_modules/@serialport/bindings-cpp/package.json: "node-gyp": "11.0.0", grep: node_modules/.bin/patch-package: Datei oder Verzeichnis nicht gefunden node_modules/zigbee-herdsman-converters/node_modules/@serialport/bindings-cpp/package.json: "node-gyp": "11.0.0", package-lock.json: "node-gyp": "bin/node-gyp.js" package-lock.json: "node-gyp": "^7.1.2" martin@RaspberryPi-Iobroker:/opt/iobroker $iob stop rm /opt/iobroker/package-lock.json cd /opt/iobroker/ npm i iob start -
@Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:
Also wird in einer deiner package.json oder package-lock.json die alte node-gyp drin stehen.
du hast ja editiert 😉
ich wollte dich gestern schon fragen ob es Sinn ergäbe die package-lock.json zu löschen.
aber da steht ja ^ 7.1.2 drin
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
aber da steht ja ^ 7.1.2 drin
Das verhindert, das höhere Versionen als node-gyp 7.x.y verwendet werden können.
-
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
aber da steht ja ^ 7.1.2 drin
Das verhindert, das höhere Versionen als node-gyp 7.x.y verwendet werden können.
@Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
aber da steht ja ^ 7.1.2 drin
Das verhindert, das höhere Versionen als node-gyp 7.x.y verwendet werden können.
nicht mindestens 7.1.2??
-
@Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
aber da steht ja ^ 7.1.2 drin
Das verhindert, das höhere Versionen als node-gyp 7.x.y verwendet werden können.
nicht mindestens 7.1.2??
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
nicht mindestens 7.1.2??
Ja, aber auch maximal 7.x.y.
-
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
nicht mindestens 7.1.2??
Ja, aber auch maximal 7.x.y.
@Thomas-Braun
Ich mache einfach was du sagst..martin@RaspberryPi-Iobroker:/opt/iobroker $ iob stop martin@RaspberryPi-Iobroker:/opt/iobroker $ rm /opt/iobroker/package-lock.json martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ 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. changed 1 package in 25s 206 packages are looking for funding run `npm fund` for details martin@RaspberryPi-Iobroker:/opt/iobroker $ iob start martin@RaspberryPi-Iobroker:/opt/iobroker $ -
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
nicht mindestens 7.1.2??
Ja, aber auch maximal 7.x.y.
@Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
nicht mindestens 7.1.2??
Ja, aber auch maximal 7.x.y.
aahh, dann ist das in der json-lock anders herum als in den Dependencys!
ergäbe SinnDanke
-
@Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
nicht mindestens 7.1.2??
Ja, aber auch maximal 7.x.y.
aahh, dann ist das in der json-lock anders herum als in den Dependencys!
ergäbe SinnDanke
@Homoran sagte in RPI2 Adapter kann nicht installiert werden:
aahh, dann ist das in der json-lock anders herum als in den Dependencys!
ergäbe SinnNicht anders herum.
^7.1.2 fordert das eine 7. Version genommen wird die neuer ist als 7.1.2.
7.1.0 - nein
7.2.4 - ja
8.0.0 - neinA.
-
@Thomas-Braun
Ich mache einfach was du sagst..martin@RaspberryPi-Iobroker:/opt/iobroker $ iob stop martin@RaspberryPi-Iobroker:/opt/iobroker $ rm /opt/iobroker/package-lock.json martin@RaspberryPi-Iobroker:/opt/iobroker $ cd /opt/iobroker/ 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. changed 1 package in 25s 206 packages are looking for funding run `npm fund` for details martin@RaspberryPi-Iobroker:/opt/iobroker $ iob start martin@RaspberryPi-Iobroker:/opt/iobroker $ -
martin@RaspberryPi-Iobroker:/opt/iobroker $ iobroker url iobroker.rpi2@latest --debug install iobroker.rpi2@latest NPM version: 11.6.2 Installing iobroker.rpi2@latest... (System call) npm warn deprecated npmlog@4.1.2: This package is no longer supported. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated gauge@2.7.4: This package is no longer supported. > iobroker.rpi2@3.0.2 preinstall > bash ./preinstall-check.sh Checking package: libgpiod-dev >= 2.2 libgpiod-dev version OK: 2.2.1-2+deb13u1 > @stoprocent/bluetooth-hci-socket@1.5.2 install > node-gyp-build > @stoprocent/noble@1.19.1 install > node-gyp-build gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149664) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. > cpu-features@0.0.10 install > node buildcheck.js > buildcheck.gypi && node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149699) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/cpu-features gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. > diskusage@1.2.0 install > node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149713) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/diskusage gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. > node-dht-sensor@0.4.5 install > node-gyp configure gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149727) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure" gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. > opengpio@2.0.2 install > node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149741) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/opengpio gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. npm error code 6 npm error path /opt/iobroker/node_modules/opengpio npm error command failed npm error command sh -c node-gyp rebuild npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-30T10_03_38_431Z-debug-0.log npm warn deprecated npmlog@4.1.2: This package is no longer supported. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated gauge@2.7.4: This package is no longer supported. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149664) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149699) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/cpu-features gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149713) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/diskusage gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149727) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure" gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149741) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/opengpio gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. npm error code 6 npm error path /opt/iobroker/node_modules/opengpio npm error command failed npm error command sh -c node-gyp rebuild npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-30T10_03_38_431Z-debug-0.log host.RaspberryPi-Iobroker Cannot install iobroker.rpi2@latest: 6 martin@RaspberryPi-Iobroker:/opt/iobroker $ -
martin@RaspberryPi-Iobroker:/opt/iobroker $ iobroker url iobroker.rpi2@latest --debug install iobroker.rpi2@latest NPM version: 11.6.2 Installing iobroker.rpi2@latest... (System call) npm warn deprecated npmlog@4.1.2: This package is no longer supported. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated gauge@2.7.4: This package is no longer supported. > iobroker.rpi2@3.0.2 preinstall > bash ./preinstall-check.sh Checking package: libgpiod-dev >= 2.2 libgpiod-dev version OK: 2.2.1-2+deb13u1 > @stoprocent/bluetooth-hci-socket@1.5.2 install > node-gyp-build > @stoprocent/noble@1.19.1 install > node-gyp-build gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149664) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. > cpu-features@0.0.10 install > node buildcheck.js > buildcheck.gypi && node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149699) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/cpu-features gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. > diskusage@1.2.0 install > node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149713) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/diskusage gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. > node-dht-sensor@0.4.5 install > node-gyp configure gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149727) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure" gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. > opengpio@2.0.2 install > node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149741) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/opengpio gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. npm error code 6 npm error path /opt/iobroker/node_modules/opengpio npm error command failed npm error command sh -c node-gyp rebuild npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-30T10_03_38_431Z-debug-0.log npm warn deprecated npmlog@4.1.2: This package is no longer supported. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated gauge@2.7.4: This package is no longer supported. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149664) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149699) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/cpu-features gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149713) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/diskusage gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149727) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure" gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2 gyp info using node@24.12.0 | linux | arm64 (node:149741) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. (Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! Completion callback never invoked! gyp ERR! System Linux 6.12.47+rpt-rpi-2712 gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/opengpio gyp ERR! node -v v24.12.0 gyp ERR! node-gyp -v v7.1.2 gyp ERR! Node-gyp failed to build your package. gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. npm error code 6 npm error path /opt/iobroker/node_modules/opengpio npm error command failed npm error command sh -c node-gyp rebuild npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-30T10_03_38_431Z-debug-0.log host.RaspberryPi-Iobroker Cannot install iobroker.rpi2@latest: 6 martin@RaspberryPi-Iobroker:/opt/iobroker $@Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:
gyp info using node-gyp@7.1.2
Da isser wieder.
Keine Ahnung wo das immer herkommt. -
@Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:
gyp info using node-gyp@7.1.2
Da isser wieder.
Keine Ahnung wo das immer herkommt.@Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:
Keine Ahnung wo das immer herkommt.
kann es möglicherweise an fehlenden Schreibrechten liegen bei user martin?
nen test mit
cd /opt/iobroker echo "=== BEFORE rm ===" && ls -la node_modules/node-gyp* 2>/dev/null || echo "NO node-gyp" rm -v node_modules/node-gyp* 2>/dev/null && echo "rm VERBOSE OK" || echo "**EACCES!**" echo "=== AFTER rm ===" && ls -la node_modules/node-gyp* 2>/dev/null || echo "GONE!" -
@Thomas-Braun sagte in RPI2 Adapter kann nicht installiert werden:
Keine Ahnung wo das immer herkommt.
kann es möglicherweise an fehlenden Schreibrechten liegen bei user martin?
nen test mit
cd /opt/iobroker echo "=== BEFORE rm ===" && ls -la node_modules/node-gyp* 2>/dev/null || echo "NO node-gyp" rm -v node_modules/node-gyp* 2>/dev/null && echo "rm VERBOSE OK" || echo "**EACCES!**" echo "=== AFTER rm ===" && ls -la node_modules/node-gyp* 2>/dev/null || echo "GONE!"martin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker echo "=== BEFORE rm ===" && ls -la node_modules/node-gyp* 2>/dev/null || echo "NO node-gyp" rm -v node_modules/node-gyp* 2>/dev/null && echo "rm VERBOSE OK" || echo "**EACCES!**" echo "=== AFTER rm ===" && ls -la node_modules/node-gyp* 2>/dev/null || echo "GONE!" === BEFORE rm === insgesamt 80 drwxrwxr-x+ 2 iobroker iobroker 4096 27. Dez 10:39 . drwxrwxr-x+ 765 iobroker iobroker 32768 30. Dez 12:09 .. -rwxrwxr-x+ 1 iobroker iobroker 2094 27. Dez 10:39 bin.js -rwxrwxr-x+ 1 iobroker iobroker 398 27. Dez 10:39 build-test.js -rw-rw-r--+ 1 iobroker iobroker 390 27. Dez 10:39 index.js -rw-rw-r--+ 1 iobroker iobroker 1079 27. Dez 10:39 LICENSE -rw-rw-r--+ 1 iobroker iobroker 6078 27. Dez 10:39 node-gyp-build.js -rwxrwxr-x+ 1 iobroker iobroker 143 27. Dez 10:39 optional.js -rw-rw-r--+ 1 iobroker iobroker 1004 27. Dez 10:39 package.json -rw-rw-r--+ 1 iobroker iobroker 2485 27. Dez 10:39 README.md -rw-rw-r--+ 1 iobroker iobroker 193 27. Dez 10:39 SECURITY.md rm -v node_modules/node-gyp* 2>/dev/null && echo "rm VERBOSE OK" || echo "**EACCES"=== BEFORE rm ===" && ls -la node_modules/node-gyp* 2> /dev/null || echo "NO node-gyp"*" **EACCES=== BEFORE rm === && ls -la node_modules/node-gyp* 2> /dev/null || echo NO node-gyp* === AFTER rm === insgesamt 80 drwxrwxr-x+ 2 iobroker iobroker 4096 27. Dez 10:39 . drwxrwxr-x+ 765 iobroker iobroker 32768 30. Dez 12:09 .. -rwxrwxr-x+ 1 iobroker iobroker 2094 27. Dez 10:39 bin.js -rwxrwxr-x+ 1 iobroker iobroker 398 27. Dez 10:39 build-test.js -rw-rw-r--+ 1 iobroker iobroker 390 27. Dez 10:39 index.js -rw-rw-r--+ 1 iobroker iobroker 1079 27. Dez 10:39 LICENSE -rw-rw-r--+ 1 iobroker iobroker 6078 27. Dez 10:39 node-gyp-build.js -rwxrwxr-x+ 1 iobroker iobroker 143 27. Dez 10:39 optional.js -rw-rw-r--+ 1 iobroker iobroker 1004 27. Dez 10:39 package.json -rw-rw-r--+ 1 iobroker iobroker 2485 27. Dez 10:39 README.md -rw-rw-r--+ 1 iobroker iobroker 193 27. Dez 10:39 SECURITY.md martin@RaspberryPi-Iobroker:/opt/iobroker $ -
martin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker echo "=== BEFORE rm ===" && ls -la node_modules/node-gyp* 2>/dev/null || echo "NO node-gyp" rm -v node_modules/node-gyp* 2>/dev/null && echo "rm VERBOSE OK" || echo "**EACCES!**" echo "=== AFTER rm ===" && ls -la node_modules/node-gyp* 2>/dev/null || echo "GONE!" === BEFORE rm === insgesamt 80 drwxrwxr-x+ 2 iobroker iobroker 4096 27. Dez 10:39 . drwxrwxr-x+ 765 iobroker iobroker 32768 30. Dez 12:09 .. -rwxrwxr-x+ 1 iobroker iobroker 2094 27. Dez 10:39 bin.js -rwxrwxr-x+ 1 iobroker iobroker 398 27. Dez 10:39 build-test.js -rw-rw-r--+ 1 iobroker iobroker 390 27. Dez 10:39 index.js -rw-rw-r--+ 1 iobroker iobroker 1079 27. Dez 10:39 LICENSE -rw-rw-r--+ 1 iobroker iobroker 6078 27. Dez 10:39 node-gyp-build.js -rwxrwxr-x+ 1 iobroker iobroker 143 27. Dez 10:39 optional.js -rw-rw-r--+ 1 iobroker iobroker 1004 27. Dez 10:39 package.json -rw-rw-r--+ 1 iobroker iobroker 2485 27. Dez 10:39 README.md -rw-rw-r--+ 1 iobroker iobroker 193 27. Dez 10:39 SECURITY.md rm -v node_modules/node-gyp* 2>/dev/null && echo "rm VERBOSE OK" || echo "**EACCES"=== BEFORE rm ===" && ls -la node_modules/node-gyp* 2> /dev/null || echo "NO node-gyp"*" **EACCES=== BEFORE rm === && ls -la node_modules/node-gyp* 2> /dev/null || echo NO node-gyp* === AFTER rm === insgesamt 80 drwxrwxr-x+ 2 iobroker iobroker 4096 27. Dez 10:39 . drwxrwxr-x+ 765 iobroker iobroker 32768 30. Dez 12:09 .. -rwxrwxr-x+ 1 iobroker iobroker 2094 27. Dez 10:39 bin.js -rwxrwxr-x+ 1 iobroker iobroker 398 27. Dez 10:39 build-test.js -rw-rw-r--+ 1 iobroker iobroker 390 27. Dez 10:39 index.js -rw-rw-r--+ 1 iobroker iobroker 1079 27. Dez 10:39 LICENSE -rw-rw-r--+ 1 iobroker iobroker 6078 27. Dez 10:39 node-gyp-build.js -rwxrwxr-x+ 1 iobroker iobroker 143 27. Dez 10:39 optional.js -rw-rw-r--+ 1 iobroker iobroker 1004 27. Dez 10:39 package.json -rw-rw-r--+ 1 iobroker iobroker 2485 27. Dez 10:39 README.md -rw-rw-r--+ 1 iobroker iobroker 193 27. Dez 10:39 SECURITY.md martin@RaspberryPi-Iobroker:/opt/iobroker $@Gonzokalle zeig mal die Ausgabe von
cd /opt/iobroker echo '=== VERSIONS ===' node -v && npm -v echo '=== PATH & GLOBAL ===' which node-gyp && node-gyp -v 2>/dev/null || echo 'NO GLOBAL!' echo '=== NPM INTERNAL ===' npm exec node-gyp -v 2>/dev/null || echo 'NO npm internal!' echo '=== NPM CONFIG ===' npm config get node_gyp || echo 'NO npm config!' echo '=== .BIN SYMLINKS ===' ls -la node_modules/.bin/node-gyp* 2>/dev/null || echo 'NO .bin!' echo '=== DEPENDENCY TREE ===' npm ls node-gyp --depth=0 2>/dev/null || echo 'NO LOCAL deps!' echo '=== NPX CACHE ===' npm config get cache ls -la ~/.npm/_npx/node-gyp* 2>/dev/null || echo 'NO npx cache!' -
@Gonzokalle zeig mal die Ausgabe von
cd /opt/iobroker echo '=== VERSIONS ===' node -v && npm -v echo '=== PATH & GLOBAL ===' which node-gyp && node-gyp -v 2>/dev/null || echo 'NO GLOBAL!' echo '=== NPM INTERNAL ===' npm exec node-gyp -v 2>/dev/null || echo 'NO npm internal!' echo '=== NPM CONFIG ===' npm config get node_gyp || echo 'NO npm config!' echo '=== .BIN SYMLINKS ===' ls -la node_modules/.bin/node-gyp* 2>/dev/null || echo 'NO .bin!' echo '=== DEPENDENCY TREE ===' npm ls node-gyp --depth=0 2>/dev/null || echo 'NO LOCAL deps!' echo '=== NPX CACHE ===' npm config get cache ls -la ~/.npm/_npx/node-gyp* 2>/dev/null || echo 'NO npx cache!'martin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker echo '=== VERSIONS ===' node -v && npm -v echo '=== PATH & GLOBAL ===' which node-gyp && node-gyp -v 2>/dev/null || echo 'NO GLOBAL!' echo '=== NPM INTERNAL ===' npm exec node-gyp -v 2>/dev/null || echo 'NO npm internal!' echo '=== NPM CONFIG ===' npm config get node_gyp || echo 'NO npm config!' echo '=== .BIN SYMLINKS ===' ls -la node_modules/.bin/node-gyp* 2>/dev/null || echo 'NO .bin!' echo '=== DEPENDENCY TREE ===' npm ls node-gyp --depth=0 2>/dev/null || echo 'NO LOCAL deps!' echo '=== NPX CACHE ===' npm config get cache ls -la ~/.npm/_npx/node-gyp* 2>/dev/null || echo 'NO npx cache!' === VERSIONS === v24.12.0 11.6.2 === PATH & GLOBAL === NO GLOBAL! === NPM INTERNAL === 11.6.2 === NPM CONFIG === undefined === .BIN SYMLINKS === lrwxrwxrwx 1 iobroker iobroker 24 27. Dez 10:40 node_modules/.bin/node-gyp-build -> ../node-gyp-build/bin.js lrwxrwxrwx 1 iobroker iobroker 29 27. Dez 10:40 node_modules/.bin/node-gyp-build-optional -> ../node-gyp-build/optional.js lrwxrwxrwx 1 iobroker iobroker 31 27. Dez 10:40 node_modules/.bin/node-gyp-build-test -> ../node-gyp-build/build-test.js === DEPENDENCY TREE === iobroker.inst@3.0.0 /opt/iobroker └── (empty) NO LOCAL deps! === NPX CACHE === /home/iobroker/.npm NO npx cache! martin@RaspberryPi-Iobroker:/opt/iobroker $ -
martin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker echo '=== VERSIONS ===' node -v && npm -v echo '=== PATH & GLOBAL ===' which node-gyp && node-gyp -v 2>/dev/null || echo 'NO GLOBAL!' echo '=== NPM INTERNAL ===' npm exec node-gyp -v 2>/dev/null || echo 'NO npm internal!' echo '=== NPM CONFIG ===' npm config get node_gyp || echo 'NO npm config!' echo '=== .BIN SYMLINKS ===' ls -la node_modules/.bin/node-gyp* 2>/dev/null || echo 'NO .bin!' echo '=== DEPENDENCY TREE ===' npm ls node-gyp --depth=0 2>/dev/null || echo 'NO LOCAL deps!' echo '=== NPX CACHE ===' npm config get cache ls -la ~/.npm/_npx/node-gyp* 2>/dev/null || echo 'NO npx cache!' === VERSIONS === v24.12.0 11.6.2 === PATH & GLOBAL === NO GLOBAL! === NPM INTERNAL === 11.6.2 === NPM CONFIG === undefined === .BIN SYMLINKS === lrwxrwxrwx 1 iobroker iobroker 24 27. Dez 10:40 node_modules/.bin/node-gyp-build -> ../node-gyp-build/bin.js lrwxrwxrwx 1 iobroker iobroker 29 27. Dez 10:40 node_modules/.bin/node-gyp-build-optional -> ../node-gyp-build/optional.js lrwxrwxrwx 1 iobroker iobroker 31 27. Dez 10:40 node_modules/.bin/node-gyp-build-test -> ../node-gyp-build/build-test.js === DEPENDENCY TREE === iobroker.inst@3.0.0 /opt/iobroker └── (empty) NO LOCAL deps! === NPX CACHE === /home/iobroker/.npm NO npx cache! martin@RaspberryPi-Iobroker:/opt/iobroker $@Gonzokalle mach noch ein
find /opt/iobroker /home/iobroker -name "*node-gyp*7*" 2>/dev/null -
@Gonzokalle mach noch ein
find /opt/iobroker /home/iobroker -name "*node-gyp*7*" 2>/dev/nullmartin@RaspberryPi-Iobroker:~ $ find /opt/iobroker /home/iobroker -name "*node-gyp*7*" 2>/dev/null martin@RaspberryPi-Iobroker:~ $ -
martin@RaspberryPi-Iobroker:~ $ find /opt/iobroker /home/iobroker -name "*node-gyp*7*" 2>/dev/null martin@RaspberryPi-Iobroker:~ $@Gonzokalle dann probier es mal so
cd /opt/iobroker npm install -g node-gyp@latest && npm config set node_gyp $(which node-gyp) && node-gyp -v && iobroker add rpi2@latest --unsafe-permissions -
@Gonzokalle dann probier es mal so
cd /opt/iobroker npm install -g node-gyp@latest && npm config set node_gyp $(which node-gyp) && node-gyp -v && iobroker add rpi2@latest --unsafe-permissionsmartin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker npm install -g node-gyp@latest && npm config set node_gyp $(which node-gyp) && node-gyp -v && iobroker add rpi2@latest --unsafe-permissions npm error code EACCES npm error syscall mkdir npm error path /usr/lib/node_modules/node-gyp npm error errno -13 npm error Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/node-gyp' npm error at async mkdir (node:internal/fs/promises:861:10) npm error at async /usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:576:20 npm error at async Promise.allSettled (index 0) npm error at async [reifyPackages] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:313:11) npm error at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:125:5) npm error at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:150:5) npm error at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:208:9) npm error at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:67:5) { npm error errno: -13, npm error code: 'EACCES', npm error syscall: 'mkdir', npm error path: '/usr/lib/node_modules/node-gyp' npm error } npm error npm error The operation was rejected by your operating system. npm error It is likely you do not have the permissions to access this file as the current user npm error npm error If you believe this might be a permissions issue, please double-check the npm error permissions of the file and its containing directories, or try running npm error the command again as root/Administrator. npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T10_12_56_377Z-debug-0.log martin@RaspberryPi-Iobroker:/opt/iobroker $ -
martin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker npm install -g node-gyp@latest && npm config set node_gyp $(which node-gyp) && node-gyp -v && iobroker add rpi2@latest --unsafe-permissions npm error code EACCES npm error syscall mkdir npm error path /usr/lib/node_modules/node-gyp npm error errno -13 npm error Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/node-gyp' npm error at async mkdir (node:internal/fs/promises:861:10) npm error at async /usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:576:20 npm error at async Promise.allSettled (index 0) npm error at async [reifyPackages] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:313:11) npm error at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:125:5) npm error at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:150:5) npm error at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:208:9) npm error at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:67:5) { npm error errno: -13, npm error code: 'EACCES', npm error syscall: 'mkdir', npm error path: '/usr/lib/node_modules/node-gyp' npm error } npm error npm error The operation was rejected by your operating system. npm error It is likely you do not have the permissions to access this file as the current user npm error npm error If you believe this might be a permissions issue, please double-check the npm error permissions of the file and its containing directories, or try running npm error the command again as root/Administrator. npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T10_12_56_377Z-debug-0.log martin@RaspberryPi-Iobroker:/opt/iobroker $sudo npm install -g node-gyp@latest npm config set node_gyp $(which node-gyp) node-gyp -v iobroker add rpi2@latest --unsafe-permissions -
martin@RaspberryPi-Iobroker:~ $ cd /opt/iobroker npm install -g node-gyp@latest && npm config set node_gyp $(which node-gyp) && node-gyp -v && iobroker add rpi2@latest --unsafe-permissions npm error code EACCES npm error syscall mkdir npm error path /usr/lib/node_modules/node-gyp npm error errno -13 npm error Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/node-gyp' npm error at async mkdir (node:internal/fs/promises:861:10) npm error at async /usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:576:20 npm error at async Promise.allSettled (index 0) npm error at async [reifyPackages] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:313:11) npm error at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:125:5) npm error at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:150:5) npm error at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:208:9) npm error at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:67:5) { npm error errno: -13, npm error code: 'EACCES', npm error syscall: 'mkdir', npm error path: '/usr/lib/node_modules/node-gyp' npm error } npm error npm error The operation was rejected by your operating system. npm error It is likely you do not have the permissions to access this file as the current user npm error npm error If you believe this might be a permissions issue, please double-check the npm error permissions of the file and its containing directories, or try running npm error the command again as root/Administrator. npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T10_12_56_377Z-debug-0.log martin@RaspberryPi-Iobroker:/opt/iobroker $@Gonzokalle sagte in RPI2 Adapter kann nicht installiert werden:
It is likely you do not have the permissions to access this file as the current user
das passt ja zu
@crunchip sagte in RPI2 Adapter kann nicht installiert werden:
kann es möglicherweise an fehlenden Schreibrechten liegen bei user martin?
Welche Rechte müsste martin denn haben?