NEWS
RPI2 Monitor wirft Fehlermeldung raus.
-
Hallo zusammen,
ich wollte den RPI2 Adapter installieren.
Die Adapterinstallation endet mit diesem LOG Hinweis.
0 verbose cli /usr/bin/node /usr/bin/npm 1 info using npm@10.8.2 2 info using node@v20.18.1 3 silly config load:file:/usr/lib/node_modules/npm/npmrc 4 silly config load:file:/opt/iobroker/.npmrc 5 silly config load:file:/home/iobroker/.npmrc 6 silly config load:file:/usr/etc/npmrc 7 verbose title npm install iobroker-community-adapters/ioBroker.rpi2 8 verbose argv "install" "iobroker-community-adapters/ioBroker.rpi2" "--foreground-scripts" 9 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2024-11-21T09_11_38_148Z- 10 verbose logfile /home/iobroker/.npm/_logs/2024-11-21T09_11_38_148Z-debug-0.log 11 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912 12 silly logfile start cleaning logs, removing 1 files 13 silly logfile done cleaning log files 14 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 15 silly idealTree buildDeps 16 silly fetch manifest iobroker.rpi2@iobroker-community-adapters/ioBroker.rpi2 17 silly placeDep ROOT iobroker.rpi2@2.2.2 OK for: iobroker.inst@3.0.0 want: iobroker-community-adapters/ioBroker.rpi2 18 silly fetch manifest opengpio@^1.0.16 19 silly packumentCache full:https://registry.npmjs.org/opengpio cache-miss 20 silly fetch manifest ci@^2.3.0 21 silly packumentCache full:https://registry.npmjs.org/ci cache-miss 22 silly fetch manifest node-dht-sensor@^0.4.3 23 silly packumentCache full:https://registry.npmjs.org/node-dht-sensor cache-miss 24 http fetch GET 200 https://registry.npmjs.org/opengpio 20ms (cache hit) 25 silly packumentCache full:https://registry.npmjs.org/opengpio set size:29380 disposed:false 26 http fetch GET 200 https://registry.npmjs.org/ci 22ms (cache hit) 27 silly packumentCache full:https://registry.npmjs.org/ci set size:22895 disposed:false 28 http fetch GET 200 https://registry.npmjs.org/node-dht-sensor 22ms (cache hit) 29 silly packumentCache full:https://registry.npmjs.org/node-dht-sensor set size:72767 disposed:false 30 silly placeDep ROOT ci@2.3.0 OK for: iobroker.rpi2@2.2.2 want: ^2.3.0 31 silly placeDep ROOT node-dht-sensor@0.4.3 OK for: iobroker.rpi2@2.2.2 want: ^0.4.3 32 silly placeDep ROOT opengpio@1.0.16 OK for: iobroker.rpi2@2.2.2 want: ^1.0.16 33 silly fetch manifest node-addon-api@^1.6.3 34 silly packumentCache full:https://registry.npmjs.org/node-addon-api cache-miss 35 silly fetch manifest debug@^4.3.4 36 silly packumentCache full:https://registry.npmjs.org/debug cache-miss 37 http fetch GET 200 https://registry.npmjs.org/node-addon-api 15ms (cache hit) 38 silly packumentCache full:https://registry.npmjs.org/node-addon-api set size:290718 disposed:false 39 http fetch GET 200 https://registry.npmjs.org/debug 21ms (cache hit) 40 silly packumentCache full:https://registry.npmjs.org/debug set size:188929 disposed:false 41 silly placeDep node_modules/node-dht-sensor node-addon-api@1.7.2 OK for: node-dht-sensor@0.4.3 want: ^1.6.3 42 silly placeDep node_modules/opengpio debug@4.3.7 OK for: opengpio@1.0.16 want: ^4.3.4 43 silly fetch manifest ms@^2.1.3 44 silly packumentCache full:https://registry.npmjs.org/ms cache-miss 45 http fetch GET 200 https://registry.npmjs.org/ms 17ms (cache hit) 46 silly packumentCache full:https://registry.npmjs.org/ms set size:84885 disposed:false 47 silly placeDep node_modules/opengpio ms@2.1.3 OK for: debug@4.3.7 want: ^2.1.3 48 silly reify moves {} 49 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-win32-x64-msvc 50 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-win32-x64-msvc' ] 51 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-win32-ia32-msvc 52 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-win32-ia32-msvc' ] 53 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-win32-arm64-msvc 54 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-win32-arm64-msvc' ] 55 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-linux-x64-musl 56 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-linux-x64-musl' ] 57 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-linux-x64-gnu 58 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-linux-x64-gnu' ] 59 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-linux-arm-gnueabihf 60 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-linux-arm-gnueabihf' ] 61 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-darwin-x64 62 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-darwin-x64' ] 63 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-darwin-universal 64 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-darwin-universal' ] 65 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-darwin-arm64 66 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-darwin-arm64' ] 67 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-android-arm64 68 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-android-arm64' ] 69 verbose reify failed optional dependency /opt/iobroker/node_modules/node-aead-crypto-android-arm-eabi 70 silly reify mark deleted [ '/opt/iobroker/node_modules/node-aead-crypto-android-arm-eabi' ] 71 verbose reify failed optional dependency /opt/iobroker/node_modules/fsevents 72 silly reify mark deleted [ '/opt/iobroker/node_modules/fsevents' ] 73 http fetch GET 200 https://codeload.github.com/iobroker-community-adapters/ioBroker.rpi2/tar.gz/1e17dad080e6908c84cc0a8e3386881d3847943e 295ms (cache revalidated) 74 verbose stack Error: git dep preparation failed 74 verbose stack at promiseSpawn (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22) 74 verbose stack at module.exports (/usr/lib/node_modules/npm/node_modules/pacote/lib/util/npm.js:13:10) 74 verbose stack at /usr/lib/node_modules/npm/node_modules/pacote/lib/git.js:183:14 74 verbose stack at async withTempDir (/usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js:21:14) 75 error code 1 76 error git dep preparation failed 77 error command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/iobroker/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run 78 error > node-dht-sensor@0.4.3 install 78 error > node-gyp configure 78 error 78 error 78 error 78 error > opengpio@1.0.16 install 78 error > node-gyp rebuild 78 error 78 error 78 error make: Entering directory '/home/iobroker/.npm/_cacache/tmp/git-cloneacjvzW/node_modules/opengpio/build' 78 error CXX(target) Release/obj.target/opengpio/cpp/opengpio.o 78 error make: Leaving directory '/home/iobroker/.npm/_cacache/tmp/git-cloneacjvzW/node_modules/opengpio/build' 79 error npm warn using --force Recommended protections disabled. 79 error 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. 79 error npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead 79 error npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead 79 error npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. 79 error gyp info it worked if it ends with ok 79 error gyp info using node-gyp@10.1.0 79 error gyp info using node@20.18.1 | linux | arm64 79 error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3" 79 error gyp info spawn /usr/bin/python3 79 error gyp info spawn args [ 79 error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', 79 error gyp info spawn args 'binding.gyp', 79 error gyp info spawn args '-f', 79 error gyp info spawn args 'make', 79 error gyp info spawn args '-I', 79 error gyp info spawn args '/home/iobroker/.npm/_cacache/tmp/git-cloneacjvzW/node_modules/node-dht-sensor/build/config.gypi', 79 error gyp info spawn args '-I', 79 error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', 79 error gyp info spawn args '-I', 79 error gyp info spawn args '/home/iobroker/.cache/node-gyp/20.18.1/include/node/common.gypi', 79 error gyp info spawn args '-Dlibrary=shared_library', 79 error gyp info spawn args '-Dvisibility=default', 79 error gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.18.1', 79 error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp', 79 error gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.18.1/<(target_arch)/node.lib', 79 error gyp info spawn args '-Dmodule_root_dir=/home/iobroker/.npm/_cacache/tmp/git-cloneacjvzW/node_modules/node-dht-sensor', 79 error gyp info spawn args '-Dnode_engine=v8', 79 error gyp info spawn args '--depth=.', 79 error gyp info spawn args '--no-parallel', 79 error gyp info spawn args '--generator-output', 79 error gyp info spawn args 'build', 79 error gyp info spawn args '-Goutput_dir=.' 79 error gyp info spawn args ] 79 error gyp info ok 79 error gyp info it worked if it ends with ok 79 error gyp info using node-gyp@10.1.0 79 error gyp info using node@20.18.1 | linux | arm64 79 error gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3" 79 error gyp info spawn /usr/bin/python3 79 error gyp info spawn args [ 79 error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', 79 error gyp info spawn args 'binding.gyp', 79 error gyp info spawn args '-f', 79 error gyp info spawn args 'make', 79 error gyp info spawn args '-I', 79 error gyp info spawn args '/home/iobroker/.npm/_cacache/tmp/git-cloneacjvzW/node_modules/opengpio/build/config.gypi', 79 error gyp info spawn args '-I', 79 error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', 79 error gyp info spawn args '-I', 79 error gyp info spawn args '/home/iobroker/.cache/node-gyp/20.18.1/include/node/common.gypi', 79 error gyp info spawn args '-Dlibrary=shared_library', 79 error gyp info spawn args '-Dvisibility=default', 79 error gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.18.1', 79 error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp', 79 error gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.18.1/<(target_arch)/node.lib', 79 error gyp info spawn args '-Dmodule_root_dir=/home/iobroker/.npm/_cacache/tmp/git-cloneacjvzW/node_modules/opengpio', 79 error gyp info spawn args '-Dnode_engine=v8', 79 error gyp info spawn args '--depth=.', 79 error gyp info spawn args '--no-parallel', 79 error gyp info spawn args '--generator-output', 79 error gyp info spawn args 'build', 79 error gyp info spawn args '-Goutput_dir=.' 79 error gyp info spawn args ] 79 error gyp info spawn make 79 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] 79 error ../cpp/opengpio.cpp:3:10: fatal error: gpiod.hpp: No such file or directory 79 error 3 | #include <gpiod.hpp> 79 error | ^~~~~~~~~~~ 79 error compilation terminated. 79 error make: *** [opengpio.target.mk:106: Release/obj.target/opengpio/cpp/opengpio.o] Error 1 79 error gyp ERR! build error 79 error gyp ERR! stack Error: `make` failed with exit code: 2 79 error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23) 79 error gyp ERR! System Linux 6.6.51+rpt-rpi-2712 79 error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 79 error gyp ERR! cwd /home/iobroker/.npm/_cacache/tmp/git-cloneacjvzW/node_modules/opengpio 79 error gyp ERR! node -v v20.18.1 79 error gyp ERR! node-gyp -v v10.1.0 79 error gyp ERR! not ok 79 error npm error code 1 79 error npm error path /home/iobroker/.npm/_cacache/tmp/git-cloneacjvzW/node_modules/opengpio 79 error npm error command failed 79 error npm error command sh -c node-gyp rebuild 79 error npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-11-21T09_11_41_279Z-debug-0.log 80 silly unfinished npm timer reify 1732180298438 81 silly unfinished npm timer reify:unpack 1732180300842 82 silly unfinished npm timer reifyNode:node_modules/iobroker.rpi2 1732180300842 83 verbose cwd /opt/iobroker 84 verbose os Linux 6.6.51+rpt-rpi-2712 85 verbose node v20.18.1 86 verbose npm v10.8.2 87 verbose exit 1 88 verbose code 1 89 error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-11-21T09_11_38_148Z-debug-0.log
Was läuft da wo falsch?
-
Hat sich erledigt.
Habe alles was ich finden konnte upgedatet. Nun läuft die Installation durch.
-
@beowolf sagte in RPI2 Monitor wirft Fehlermeldung raus.:
Was läuft da wo falsch?
Da kann opengpio nicht gebaut werden. Ist das Paket
libgpiod-dev
installiert?sudo apt update apt policy libgpiod-dev
-
@beowolf sagte in RPI2 Monitor wirft Fehlermeldung raus.:
Habe alles was ich finden konnte upgedatet.
Das ist ohnehin eine Grundvoraussetzung für ein rundes System.
Updates immer zeitnah einspielen. -
Trotzdem Danke für die Info.