NEWS
ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme
-
@crunchip
jo, sieht nach dem selben Fehler aus./opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.pyDiese Datei gibt es schon mal nicht.
Und in dieser:
/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.pygibt es diese Zeile nicht :
build_file_contents = open(build_file_path, 'rU').read()Versuche gleich noch den nächsten Schritt...
idash@ioBrokersudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-binp2-bin Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig libudev-dev ist schon die neueste Version (252.17-1~deb12u1). libcap2-bin ist schon die neueste Version (1:2.66-4). Die folgenden zusätzlichen Pakete werden installiert: alsa-topology-conf alsa-ucm-conf libasound2 libasound2-data libbluetooth3 libdw1 Vorgeschlagene Pakete: bluez-cups bluez-obexd bluez-meshd pulseaudio-module-bluetooth libasound2-plugins alsa-utils Die folgenden NEUEN Pakete werden installiert: alsa-topology-conf alsa-ucm-conf bluetooth bluez libasound2 libasound2-data libbluetooth-dev libbluetooth3 libdw1 0 aktualisiert, 9 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 2.278 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 8.717 kB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] J Holen:1 http://deb.debian.org/debian bookworm/main amd64 libasound2-data all 1.2.8-1 [20,5 kB] Holen:2 http://deb.debian.org/debian bookworm/main amd64 libasound2 amd64 1.2.8-1+b1 [362 kB] Holen:3 http://deb.debian.org/debian bookworm/main amd64 libdw1 amd64 0.188-2.1 [235 kB] Holen:4 http://deb.debian.org/debian bookworm/main amd64 bluez amd64 5.66-1 [1.155 kB] Holen:5 http://deb.debian.org/debian bookworm/main amd64 alsa-topology-conf all 1.2.5.1-2 [15,2 kB] Holen:6 http://deb.debian.org/debian bookworm/main amd64 alsa-ucm-conf all 1.2.8-1 [51,7 kB] Holen:7 http://deb.debian.org/debian bookworm/main amd64 bluetooth all 5.66-1 [38,7 kB] Holen:8 http://deb.debian.org/debian bookworm/main amd64 libbluetooth3 amd64 5.66-1 [107 kB] Holen:9 http://deb.debian.org/debian bookworm/main amd64 libbluetooth-dev amd64 5.66-1 [293 kB] Es wurden 2.278 kB in 0 s geholt (6.226 kB/s). Vormals nicht ausgewähltes Paket libasound2-data wird gewählt. (Lese Datenbank ... 47755 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../0-libasound2-data_1.2.8-1_all.deb ... Entpacken von libasound2-data (1.2.8-1) ... Vormals nicht ausgewähltes Paket libasound2:amd64 wird gewählt. Vorbereitung zum Entpacken von .../1-libasound2_1.2.8-1+b1_amd64.deb ... Entpacken von libasound2:amd64 (1.2.8-1+b1) ... Vormals nicht ausgewähltes Paket libdw1:amd64 wird gewählt. Vorbereitung zum Entpacken von .../2-libdw1_0.188-2.1_amd64.deb ... Entpacken von libdw1:amd64 (0.188-2.1) ... Vormals nicht ausgewähltes Paket bluez wird gewählt. Vorbereitung zum Entpacken von .../3-bluez_5.66-1_amd64.deb ... Entpacken von bluez (5.66-1) ... Vormals nicht ausgewähltes Paket alsa-topology-conf wird gewählt. Vorbereitung zum Entpacken von .../4-alsa-topology-conf_1.2.5.1-2_all.deb ... Entpacken von alsa-topology-conf (1.2.5.1-2) ... Vormals nicht ausgewähltes Paket alsa-ucm-conf wird gewählt. Vorbereitung zum Entpacken von .../5-alsa-ucm-conf_1.2.8-1_all.deb ... Entpacken von alsa-ucm-conf (1.2.8-1) ... Vormals nicht ausgewähltes Paket bluetooth wird gewählt. Vorbereitung zum Entpacken von .../6-bluetooth_5.66-1_all.deb ... Entpacken von bluetooth (5.66-1) ... Vormals nicht ausgewähltes Paket libbluetooth3:amd64 wird gewählt. Vorbereitung zum Entpacken von .../7-libbluetooth3_5.66-1_amd64.deb ... Entpacken von libbluetooth3:amd64 (5.66-1) ... Vormals nicht ausgewähltes Paket libbluetooth-dev:amd64 wird gewählt. Vorbereitung zum Entpacken von .../8-libbluetooth-dev_5.66-1_amd64.deb ... Entpacken von libbluetooth-dev:amd64 (5.66-1) ... libdw1:amd64 (0.188-2.1) wird eingerichtet ... libasound2-data (1.2.8-1) wird eingerichtet ... alsa-topology-conf (1.2.5.1-2) wird eingerichtet ... libbluetooth3:amd64 (5.66-1) wird eingerichtet ... libasound2:amd64 (1.2.8-1+b1) wird eingerichtet ... alsa-ucm-conf (1.2.8-1) wird eingerichtet ... bluez (5.66-1) wird eingerichtet ... Created symlink /etc/systemd/system/dbus-org.bluez.service → /lib/systemd/system/bluetooth.service. Created symlink /etc/systemd/system/bluetooth.target.wants/bluetooth.service → /lib/systemd/system/bluetooth.service. libbluetooth-dev:amd64 (5.66-1) wird eingerichtet ... bluetooth (5.66-1) wird eingerichtet ... Trigger für man-db (2.11.2-2) werden verarbeitet ... Trigger für dbus (1.14.10-1~deb12u1) werden verarbeitet ... Trigger für libc-bin (2.36-9+deb12u3) werden verarbeitet ... idash@ioBrokerVM:~$@gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
gibt es diese Zeile nicht :
gibt es sie jetzt?
-
@crunchip
und beim versuch ble im Webinterface wieder zu installieren:$ iobroker add ble --host ioBrokerVM NPM version: 9.8.1 Installing iobroker.ble@0.13.4... (System call) npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/@abandonware/noblenpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! (node:1899) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-13-amd64npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noblenpm ERR! gyp ERR! node -v v18.18.2npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-11T19_00_23_345Z-debug-0.log host.ioBrokerVM Cannot install iobroker.ble@0.13.4: 1 ERROR: Process exited with code 25Sag mal ... was kapierst Du denn eigentlich nicht ?
In Deinem alten, vergammeltem System DEINSTALLIERST Du bitte den BLE.
Dann mach ein Backup per BACKITUP davon.
Danach erstellst Du eine neue VM mit Debain.
Dort dann iobroker installieren OHNE irgendwelchen Mist.DANN bitte das BackitUp vom "alten vergammelten System" welches ja dann OHNE BLE ist, zurückspielen.
-
@gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
gibt es diese Zeile nicht :
gibt es sie jetzt?
-
Sag mal ... was kapierst Du denn eigentlich nicht ?
In Deinem alten, vergammeltem System DEINSTALLIERST Du bitte den BLE.
Dann mach ein Backup per BACKITUP davon.
Danach erstellst Du eine neue VM mit Debain.
Dort dann iobroker installieren OHNE irgendwelchen Mist.DANN bitte das BackitUp vom "alten vergammelten System" welches ja dann OHNE BLE ist, zurückspielen.
-
Sag mal ... was kapierst Du denn eigentlich nicht ?
In Deinem alten, vergammeltem System DEINSTALLIERST Du bitte den BLE.
Dann mach ein Backup per BACKITUP davon.
Danach erstellst Du eine neue VM mit Debain.
Dort dann iobroker installieren OHNE irgendwelchen Mist.DANN bitte das BackitUp vom "alten vergammelten System" welches ja dann OHNE BLE ist, zurückspielen.
@djmarc75 sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
Sag mal ... was kapierst Du denn eigentlich nicht ?
In Deinem alten, vergammeltem System DEINSTALLIERST Du bitte den BLE.
Dann mach ein Backup per BACKITUP davon.
Danach erstellst Du eine neue VM mit Debain.
Dort dann iobroker installieren OHNE irgendwelchen Mist.
DANN bitte das BackitUp vom "alten vergammelten System" welches ja dann OHNE BLE ist, zurückspielen.Ruhig Brauner, kann es sein, dass dies, trotz "bitte" , eine nicht gewaltfreie Kommunikation ist? :wink:
-
@djmarc75
Das Szenario mit dem deinstallierten ble hatten wir ja auch bereits durch, meine sicherlich 2 mal.@gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
@djmarc75
Das Szenario mit dem deinstallierten ble hatten wir ja auch bereits durch, meine sicherlich 2 mal.Wobei ich nicht sicher bin ob du wirklich alles vom BLE entfernt hattest, oder nur die Instanz.
Jetzt bleiben wir aber bei dem momentanen Szenario, damit es nicht wieder kreuz und quer geht.
-
@gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
@djmarc75
Das Szenario mit dem deinstallierten ble hatten wir ja auch bereits durch, meine sicherlich 2 mal.Wobei ich nicht sicher bin ob du wirklich alles vom BLE entfernt hattest, oder nur die Instanz.
Jetzt bleiben wir aber bei dem momentanen Szenario, damit es nicht wieder kreuz und quer geht.
-
@homoran habe nun bereits die vm wieder gelöscht, um es erneut ohne ble einzuspielen.
Edit, hatte Instanz und Adapter gelöscvht.@gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
um es erneut ohne ble einzuspielen
dann aber vor dem ble einspielen
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin -
@gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
um es erneut ohne ble einzuspielen
dann aber vor dem ble einspielen
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin -
-
@homoran sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
ich verstehe den Fehler im log als Fehler/Problem vom npm.
ja, aber es kommt die Meldung beim Versuch ble zu installieren
npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile npm ERR! build_file_contents = open(build_file_path, "rU").read() npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^ npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp npm ERR! gyp ERR! configure errordiese es aber auf dem neuen System gar nicht mehr gibt.
bzw war das bisher die Meldung
den jetzigen code 25 müsste man sich ja nochmal mit --debug ansehen, ob es immer noch die selbe Meldung ist oder jetzt was anderes, da er ja die Datei auf dem alten(U entfernen) vor dem backup bearbeitet hat -
aber irgendwoher kennt npm doch diesen part.
nutzt einnpm cache cleanhier etwas?im nagelneuen System wurde/konnte doch ble installiert (werden).
dann muss der Mist doch irgendwo im Backup sein.
Da ist aber nix von node und npm drin. -
aber irgendwoher kennt npm doch diesen part.
nutzt einnpm cache cleanhier etwas?im nagelneuen System wurde/konnte doch ble installiert (werden).
dann muss der Mist doch irgendwo im Backup sein.
Da ist aber nix von node und npm drin.@homoran sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
im nagelneuen System wurde/konnte doch ble installiert (werden).
eben, aber nicht mit dem backup, das ist ja das seltsame
-
-
@homoran sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
im nagelneuen System wurde/konnte doch ble installiert (werden).
eben, aber nicht mit dem backup, das ist ja das seltsame
@crunchip sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
@homoran sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
im nagelneuen System wurde/konnte doch ble installiert (werden).
eben, aber nicht mit dem backup, das ist ja das seltsame
siehe edit
-
@homoran
Alt: ARMv7 Processor rev 3 (v7l), Node.js v18.18.2, NPM 9.8.1
Neu: Mist - habe noch keine Info Seite installiert ;)
aber x64 (i5-7500T)Muss auch ersteinmal nen paar Stunden off - nicht nur mein Kopf qualmt ;)
@gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
aber x64 (i5-7500T)
und das richtige Debian (AMD64 und nicht x86)?
-
@gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:
aber x64 (i5-7500T)
und das richtige Debian (AMD64 und nicht x86)?
@homoran
ja, amd64 (ble lief ja auch bereits auf einer neuinstallation - ohne Backup)Alt: ARMv7 Processor rev 3 (v7l), Node.js v18.18.2, NPM 9.8.1
Neu: Architektur x64, Node.js v18.18.2, NPM 9.8.1Backup ist auf Neuinstallation wieder eingespielt - aber noch nichts weiter gemacht.
-
@homoran
ja, amd64 (ble lief ja auch bereits auf einer neuinstallation - ohne Backup)Alt: ARMv7 Processor rev 3 (v7l), Node.js v18.18.2, NPM 9.8.1
Neu: Architektur x64, Node.js v18.18.2, NPM 9.8.1Backup ist auf Neuinstallation wieder eingespielt - aber noch nichts weiter gemacht.
@gismoh dann nun die Ausgabe von
iob add ble --debug -
@crunchip
Sorry, erst nun, haben noch Besuch ;)idash@ioBrokerVM:~$ iob add ble --debug NPM version: 9.8.1 Installing iobroker.ble@0.13.4... (System call) npm ERR! code 1 npm ERR! path /opt/iobroker/node_modules/@abandonware/noble npm ERR! command failed npm ERR! command sh -c node-gyp-build npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@18.18.2 | linux | x64 npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3" npm ERR! (node:5847) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created) npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/opt/iobroker/node_modules/@abandonware/noble/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/@abandonware/noble', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! Traceback (most recent call last): npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module> npm ERR! sys.exit(gyp.script_main()) npm ERR! ^^^^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main npm ERR! return main(sys.argv[1:]) npm ERR! ^^^^^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main npm ERR! return gyp_main(args) npm ERR! ^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main npm ERR! [generator, flat_list, targets, data] = Load( npm ERR! ^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load npm ERR! result = gyp.input.Load( npm ERR! ^^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load npm ERR! LoadTargetBuildFile( npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile npm ERR! build_file_data = LoadOneBuildFile( npm ERR! ^^^^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile npm ERR! build_file_contents = open(build_file_path, "rU").read() npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^ npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12) npm ERR! gyp ERR! System Linux 6.1.0-13-amd64 npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noble npm ERR! gyp ERR! node -v v18.18.2 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-11T22_12_49_072Z-debug-0.log npm ERR! code 1 npm ERR! path /opt/iobroker/node_modules/@abandonware/noble npm ERR! command failed npm ERR! command sh -c node-gyp-build npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@18.18.2 | linux | x64 npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3" npm ERR! (node:5847) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created) npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/opt/iobroker/node_modules/@abandonware/noble/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/@abandonware/noble', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! Traceback (most recent call last): npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module> npm ERR! sys.exit(gyp.script_main()) npm ERR! ^^^^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main npm ERR! return main(sys.argv[1:]) npm ERR! ^^^^^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main npm ERR! return gyp_main(args) npm ERR! ^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main npm ERR! [generator, flat_list, targets, data] = Load( npm ERR! ^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load npm ERR! result = gyp.input.Load( npm ERR! ^^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load npm ERR! LoadTargetBuildFile( npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile npm ERR! build_file_data = LoadOneBuildFile( npm ERR! ^^^^^^^^^^^^^^^^^ npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile npm ERR! build_file_contents = open(build_file_path, "rU").read() npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^ npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12) npm ERR! gyp ERR! System Linux 6.1.0-13-amd64 npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noble npm ERR! gyp ERR! node -v v18.18.2 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-11T22_12_49_072Z-debug-0.log host.ioBrokerVM Cannot install iobroker.ble@0.13.4: 1Sieht irgendwie bekannt aus ;(
-
@crunchip
Auch hier:idash@ioBrokerVM:~$ sudo nano /opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.pyVerzeichnis „/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp“ existiert nichtin
/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.pygibt es auch nun die entsprechende Zeile nicht.