NEWS
Keine Updates trotz Exit Code 0
Installation
24
Beiträge
3
Kommentatoren
171
Aufrufe
3
Watching
-
@Homoran
sorry, ich hab nur die Fehlermeldung rauskopiert. Hier mal der heutige Log:Ist also vom ersten starten bis jetzt
Aber ich glaube das Hauptproblem ist folgendes:
Installier python3-setuptools nach.
sudo apt install python3-setuptools -
Aber ich glaube das Hauptproblem ist folgendes:
Installier python3-setuptools nach.
sudo apt install python3-setuptools@Thomas-Braun
hab ich gemacht.host.raspberrypi 2025-12-31 14:03:00.697 info iobroker exit 25 host.raspberrypi 2025-12-31 14:02:59.649 error iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1 host.raspberrypi 2025-12-31 14:02:59.645 error iobroker npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'npm error CXX(target) Release/obj.target/opengpio/cpp/opengpio.onpm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'npm error (node:10247) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioInput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:14:17: error: expected primary-expression before ‘line’npm error 14 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:19:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~npm error | gpiod::linenpm error In file included from /usr/include/gpiodcxx/chip.hpp:21,npm error from /usr/include/gpiod.hpp:27,npm error from ../cpp/opengpio.cpp:3:npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:19:58: error: ‘DIRECTION_INPUT’ is not a member of ‘gpiod::line_request’npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:28:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:30:22: error: ‘line’ is not capturednpm error 30 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-defaultnpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:34:52: error: ‘line’ is not capturednpm error 34 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-defaultnpm error 33 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioOutput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:49:17: error: expected primary-expression before ‘line’npm error 49 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:54:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:54:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:63:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:66:9: error: ‘line’ is not capturednpm error 66 | line.set_value(value); });npm error | ^~~~npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-defaultnpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:69:52: error: ‘line’ is not capturednpm error 69 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-defaultnpm error 68 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:81:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 81 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:92:17: error: expected primary-expression before ‘line’npm error 92 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:100:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:100:58: error: ‘EVENT_BOTH_EDGES’ is not a member of ‘gpiod::line_request’npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:109:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:111:22: error: ‘line’ is not capturednpm error 111 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-defaultnpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:115:11: error: ‘struct WatchContext’ has no member named ‘line’npm error 115 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:127:25: error: expected primary-expression before ‘line’npm error 127 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:131:33: error: ‘line’ is not capturednpm error 131 | bool hasEvent = line.event_wait(chrono::milliseconds(1));npm error | ^~~~npm error ../cpp/opengpio.cpp:124:10: note: the lambda has no capture-defaultnpm error 124 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp:134:28: error: ‘line_event’ is not a member of ‘gpiod’; did you mean ‘info_event’?npm error 134 | gpiod::line_event event = line.event_read();npm error | ^~~~~~~~~~npm error | info_eventnpm error ../cpp/opengpio.cpp:135:34: error: ‘event’ was not declared in this scope; did you mean ‘servent’?npm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~npm error | serventnpm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declarednpm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~~~~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:147:19: error: ‘struct WatchContext’ has no member named ‘line’npm error 147 | data->line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:168:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 168 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioPwm(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:196:17: error: expected primary-expression before ‘line’npm error 196 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:201:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:201:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:213:11: error: ‘struct PwmContext’ has no member named ‘line’npm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:213:18: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 213 | data->line = line;npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:224:25: error: expected primary-expression before ‘line’npm error 224 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:264:17: error: ‘line’ is not capturednpm error 264 | line.set_value(true);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not capturednpm error 278 | line.set_value(false);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:327:25: error: expected primary-expression before ‘line’npm error 327 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:328:13: error: ‘line’ is not capturednpm error 328 | line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-defaultnpm error 324 | [](uv_work_t *req, int status)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 1npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2npm error gyp ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/node-gyp/lib/build.js:194:23)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpionpm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T13_02_43_012Z-debug-0.log host.raspberrypi 2025-12-31 14:02:42.780 info iobroker Installing iobroker.rpi2@2.4.0... (System call) host.raspberrypi 2025-12-31 14:02:42.778 info iobroker NPM version: 10.9.4 host.raspberrypi 2025-12-31 14:02:39.067 info iobroker add rpi2 --host raspberrypi host.raspberrypi 2025-12-31 14:02:14.259 info iobroker exit 25 host.raspberrypi 2025-12-31 14:02:13.187 error iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1 -
@Thomas-Braun
hab ich gemacht.host.raspberrypi 2025-12-31 14:03:00.697 info iobroker exit 25 host.raspberrypi 2025-12-31 14:02:59.649 error iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1 host.raspberrypi 2025-12-31 14:02:59.645 error iobroker npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'npm error CXX(target) Release/obj.target/opengpio/cpp/opengpio.onpm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'npm error (node:10247) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioInput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:14:17: error: expected primary-expression before ‘line’npm error 14 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:19:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~npm error | gpiod::linenpm error In file included from /usr/include/gpiodcxx/chip.hpp:21,npm error from /usr/include/gpiod.hpp:27,npm error from ../cpp/opengpio.cpp:3:npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:19:58: error: ‘DIRECTION_INPUT’ is not a member of ‘gpiod::line_request’npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:28:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:30:22: error: ‘line’ is not capturednpm error 30 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-defaultnpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:34:52: error: ‘line’ is not capturednpm error 34 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-defaultnpm error 33 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioOutput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:49:17: error: expected primary-expression before ‘line’npm error 49 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:54:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:54:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:63:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:66:9: error: ‘line’ is not capturednpm error 66 | line.set_value(value); });npm error | ^~~~npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-defaultnpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:69:52: error: ‘line’ is not capturednpm error 69 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-defaultnpm error 68 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:81:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 81 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:92:17: error: expected primary-expression before ‘line’npm error 92 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:100:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:100:58: error: ‘EVENT_BOTH_EDGES’ is not a member of ‘gpiod::line_request’npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:109:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:111:22: error: ‘line’ is not capturednpm error 111 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-defaultnpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:115:11: error: ‘struct WatchContext’ has no member named ‘line’npm error 115 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:127:25: error: expected primary-expression before ‘line’npm error 127 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:131:33: error: ‘line’ is not capturednpm error 131 | bool hasEvent = line.event_wait(chrono::milliseconds(1));npm error | ^~~~npm error ../cpp/opengpio.cpp:124:10: note: the lambda has no capture-defaultnpm error 124 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp:134:28: error: ‘line_event’ is not a member of ‘gpiod’; did you mean ‘info_event’?npm error 134 | gpiod::line_event event = line.event_read();npm error | ^~~~~~~~~~npm error | info_eventnpm error ../cpp/opengpio.cpp:135:34: error: ‘event’ was not declared in this scope; did you mean ‘servent’?npm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~npm error | serventnpm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declarednpm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~~~~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:147:19: error: ‘struct WatchContext’ has no member named ‘line’npm error 147 | data->line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:168:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 168 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioPwm(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:196:17: error: expected primary-expression before ‘line’npm error 196 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:201:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:201:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:213:11: error: ‘struct PwmContext’ has no member named ‘line’npm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:213:18: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 213 | data->line = line;npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:224:25: error: expected primary-expression before ‘line’npm error 224 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:264:17: error: ‘line’ is not capturednpm error 264 | line.set_value(true);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not capturednpm error 278 | line.set_value(false);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:327:25: error: expected primary-expression before ‘line’npm error 327 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:328:13: error: ‘line’ is not capturednpm error 328 | line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-defaultnpm error 324 | [](uv_work_t *req, int status)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 1npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2npm error gyp ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/node-gyp/lib/build.js:194:23)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpionpm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T13_02_43_012Z-debug-0.log host.raspberrypi 2025-12-31 14:02:42.780 info iobroker Installing iobroker.rpi2@2.4.0... (System call) host.raspberrypi 2025-12-31 14:02:42.778 info iobroker NPM version: 10.9.4 host.raspberrypi 2025-12-31 14:02:39.067 info iobroker add rpi2 --host raspberrypi host.raspberrypi 2025-12-31 14:02:14.259 info iobroker exit 25 host.raspberrypi 2025-12-31 14:02:13.187 error iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1@Mark sagte in Keine Updates trotz Exit Code 0:
iobroker.rpi2@2.4.0
Zu alt. Da muss eine Version 3 (z. Zt. noch Beta) installiert werden.