- Home
- Deutsch
- ioBroker Allgemein
- [GELÖST] Ring Adapter manuell gelöscht
[GELÖST] Ring Adapter manuell gelöscht
-
Hallo, ich habe meinen Ring Adapter manuell gelöscht da es über der iob standart prozess nicht ging.
Habe das Ring Verzeichnis unter /opt/iobroker/node_modules/iobroker.ring per rm gelöscht. Nun wollte ich ihn neu installieren und bekomme diese Meldung:$ iobroker add ring auto --host iobroker --debug NPM version: 10.8.2 Installing iobroker.ring@5.1.0... (System call) npm error code 1 npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-10-30T21_31_39_915Z-debug-0.log host.iobroker Cannot install iobroker.ring@5.1.0: 1 ERROR: Process exited with code 25
Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
Hier gehts zur Hilfe. -
@mymeyer sagte in Ring Adapter manuell gelöscht:
Habe das Ring Verzeichnis unter /opt/iobroker/node_modules/iobroker.ring per rm gelöscht.
Holzhacker...
Macht man NICHT so.
nodemodule müssen an- und abgemeldet werden.iob stop iob fix iob start
Dann mal
iob upgrade ring@5.1.0 --debug
versuchen
Edit: Hab gerade mal den Selbsttest auf einem Spielsystem gewagt. Nach dem Fix sollte eigentlich der Standardbefehl
iob add ring auto --host iobroker --debug
wieder funktionieren.
-
@thomas-braun Das ging leider nicht. Siehe Log:
michael@iobroker:~$ iob add ring auto --host iobroker --debug
NPM version: 10.8.2
Installing iobroker.ring@5.1.0... (System call)
npm error code 1
npm error git dep preparation failed
npm 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
npm error > @serialport/bindings@9.2.8 install
npm error > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm error
npm error
npm error make: Verzeichnis �/home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings/build� wird betreten
npm error CXX(target) Release/obj.target/bindings/src/serialport.o
npm error make: Verzeichnis �/home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings/build� wird verlassen
npm error npm warn using --force Recommended protections disabled.
npm error prebuild-install WARN install No prebuilt binaries found (target=20.18.0 runtime=node arch=x64 libc= platform=linux)
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@10.1.0
npm error gyp info using node@20.18.0 | linux | x64
npm error gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm error gyp info spawn /usr/bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/home/iobroker/.cache/node-gyp/20.18.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.18.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.18.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn make
npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm error In file included from ../../../nan/nan.h:180,
npm error from ../src/./serialport.h:13,
npm error from ../src/serialport.cpp:1:
npm error ../../../nan/nan_callbacks.h:55:23: error: 'AccessorSignature' is not a member of 'v8'
npm error 55 | typedef v8::Localv8::AccessorSignature Sig;
npm error | ^~~~~~~~~~~~~~~~~
npm error ../../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
npm error 55 | typedef v8::Localv8::AccessorSignature Sig;
npm error | ^
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:78:51: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 78 | uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:135:53: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 135 | uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:175:52: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 175 | uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:215:52: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 215 | uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:271:50: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 271 | uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:316:50: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 316 | uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:366:58: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 366 | uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:412:52: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 412 | uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: At global scope:
npm error ../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of 'ToParityEnum' [-Wparentheses]
npm error 433 | SerialPortParity NAN_INLINE(ToParityEnum(const v8::Localv8::String& v8str)) {
npm error | ^
npm error ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of 'ToStopBitEnum' [-Wparentheses]
npm error 452 | SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
npm error | ^
npm error In file included from ../../../nan/nan.h:60,
npm error from ../src/./serialport.h:13,
npm error from ../src/serialport.cpp:1:
npm error /home/iobroker/.cache/node-gyp/20.18.0/include/node/node.h:1232:7: warning: cast between incompatible function types from 'void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void ()(v8::Localv8::Object)'} to 'node::addon_register_func' {aka 'void ()(v8::Localv8::Object, v8::Localv8::Value, void)'} [-Wcast-function-type]
npm error 1232 | (node::addon_register_func) (regfunc),
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /home/iobroker/.cache/node-gyp/20.18.0/include/node/node.h:1266:3: note: in expansion of macro 'NODE_MODULE_X'
npm error 1266 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
npm error | ^~~~~~~~~~~~~
npm error ../src/serialport.cpp:486:1: note: in expansion of macro 'NODE_MODULE'
npm error 486 | NODE_MODULE(serialport, init);
npm error | ^~~~~~~~~~~
npm error make: *** [bindings.target.mk:111: Release/obj.target/bindings/src/serialport.o] Fehler 1
npm error gyp ERR! build error
npm error gyp ERR! stack Error:make
failed with exit code: 2
npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
npm error gyp ERR! System Linux 5.10.0-33-amd64
npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm error gyp ERR! cwd /home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings
npm error gyp ERR! node -v v20.18.0
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm error npm error code 1
npm error npm error path /home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings
npm error npm error command failed
npm error npm error command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm error npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-10-31T08_22_44_221Z-debug-0.log
npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-10-31T08_22_30_078Z-debug-0.log
npm error code 1
npm error git dep preparation failed
npm 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
npm error > @serialport/bindings@9.2.8 install
npm error > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm error
npm error
npm error make: Verzeichnis �/home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings/build� wird betreten
npm error CXX(target) Release/obj.target/bindings/src/serialport.o
npm error make: Verzeichnis �/home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings/build� wird verlassen
npm error npm warn using --force Recommended protections disabled.
npm error prebuild-install WARN install No prebuilt binaries found (target=20.18.0 runtime=node arch=x64 libc= platform=linux)
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@10.1.0
npm error gyp info using node@20.18.0 | linux | x64
npm error gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm error gyp info spawn /usr/bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/home/iobroker/.cache/node-gyp/20.18.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.18.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.18.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn make
npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm error In file included from ../../../nan/nan.h:180,
npm error from ../src/./serialport.h:13,
npm error from ../src/serialport.cpp:1:
npm error ../../../nan/nan_callbacks.h:55:23: error: 'AccessorSignature' is not a member of 'v8'
npm error 55 | typedef v8::Localv8::AccessorSignature Sig;
npm error | ^~~~~~~~~~~~~~~~~
npm error ../../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
npm error 55 | typedef v8::Localv8::AccessorSignature Sig;
npm error | ^
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:78:51: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 78 | uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:135:53: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 135 | uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:175:52: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 175 | uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:215:52: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 215 | uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:271:50: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 271 | uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:316:50: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 316 | uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:366:58: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 366 | uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)':
npm error ../src/serialport.cpp:412:52: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
npm error 412 | uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error ../src/serialport.cpp: At global scope:
npm error ../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of 'ToParityEnum' [-Wparentheses]
npm error 433 | SerialPortParity NAN_INLINE(ToParityEnum(const v8::Localv8::String& v8str)) {
npm error | ^
npm error ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of 'ToStopBitEnum' [-Wparentheses]
npm error 452 | SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
npm error | ^
npm error In file included from ../../../nan/nan.h:60,
npm error from ../src/./serialport.h:13,
npm error from ../src/serialport.cpp:1:
npm error /home/iobroker/.cache/node-gyp/20.18.0/include/node/node.h:1232:7: warning: cast between incompatible function types from 'void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void ()(v8::Localv8::Object)'} to 'node::addon_register_func' {aka 'void ()(v8::Localv8::Object, v8::Localv8::Value, void)'} [-Wcast-function-type]
npm error 1232 | (node::addon_register_func) (regfunc),
npm error | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /home/iobroker/.cache/node-gyp/20.18.0/include/node/node.h:1266:3: note: in expansion of macro 'NODE_MODULE_X'
npm error 1266 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
npm error | ^~~~~~~~~~~~~
npm error ../src/serialport.cpp:486:1: note: in expansion of macro 'NODE_MODULE'
npm error 486 | NODE_MODULE(serialport, init);
npm error | ^~~~~~~~~~~
npm error make: *** [bindings.target.mk:111: Release/obj.target/bindings/src/serialport.o] Fehler 1
npm error gyp ERR! build error
npm error gyp ERR! stack Error:make
failed with exit code: 2
npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
npm error gyp ERR! System Linux 5.10.0-33-amd64
npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm error gyp ERR! cwd /home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings
npm error gyp ERR! node -v v20.18.0
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm error npm error code 1
npm error npm error path /home/iobroker/.npm/_cacache/tmp/git-cloneqrECmZ/node_modules/@serialport/bindings
npm error npm error command failed
npm error npm error command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm error npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-10-31T08_22_44_221Z-debug-0.log
npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-10-31T08_22_30_078Z-debug-0.log
host.iobroker Cannot install iobroker.ring@5.1.0: 1
michael@iobroker:~$ -
Gelöst. Backup eingespielt und nochmal normal Adapter gelöscht.
-
Dann unterlasse künftig solche Holzhacker-Methoden.