Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. RPI 2 V2.4 läßt sich nicht installieren

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    761

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.1k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

RPI 2 V2.4 läßt sich nicht installieren

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
14 Beiträge 5 Kommentatoren 264 Aufrufe 4 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • P Offline
    P Offline
    plc
    schrieb am zuletzt editiert von
    #1

    Hallo, auf meinem Raspi Pi5 ist aktuell Node js v22,21.0 und npm v11.62. Bei der Installation bekomme ich folgende Ausgabe.

    $ iobroker add rpi2 --host rasppi5
    
    Installing iobroker.rpi2@2.4.0... (System call)
    
    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 ../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.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-2712npm error gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "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 v11.4.2npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-10-22T11_44_39_541Z-debug-0.log
    
    host.raspberrypi5 Cannot install iobroker.rpi2@2.4.0: 1
    
    ERROR: Process exited with code 25
    

    wie ich lese ist wohl ein falsches npm? wie installiere ich ein passendes npm? Oder fehlt mir sonst noch was?

    Danke im Voraus.

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • P plc

      Hallo, auf meinem Raspi Pi5 ist aktuell Node js v22,21.0 und npm v11.62. Bei der Installation bekomme ich folgende Ausgabe.

      $ iobroker add rpi2 --host rasppi5
      
      Installing iobroker.rpi2@2.4.0... (System call)
      
      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 ../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.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-2712npm error gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "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 v11.4.2npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-10-22T11_44_39_541Z-debug-0.log
      
      host.raspberrypi5 Cannot install iobroker.rpi2@2.4.0: 1
      
      ERROR: Process exited with code 25
      

      wie ich lese ist wohl ein falsches npm? wie installiere ich ein passendes npm? Oder fehlt mir sonst noch was?

      Danke im Voraus.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von Thomas Braun
      #2

      @plc

      RaspberryOS 13 Trixie am Start?
      Falls ja, dann versuch mal diesen Fork via GitHub/URL einzuspielen:

      https://github.com/Grothesk242/ioBroker.rpi2

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      P 1 Antwort Letzte Antwort
      1
      • Thomas BraunT Thomas Braun

        @plc

        RaspberryOS 13 Trixie am Start?
        Falls ja, dann versuch mal diesen Fork via GitHub/URL einzuspielen:

        https://github.com/Grothesk242/ioBroker.rpi2

        P Offline
        P Offline
        plc
        schrieb am zuletzt editiert von
        #3

        @thomas-braun Vielen Dank. Es hat unktioniert.

        1 Antwort Letzte Antwort
        0
        • A Online
          A Online
          airjk
          schrieb am zuletzt editiert von
          #4

          Wie genau hast du rpi2 installiert bekommen?

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • A airjk

            Wie genau hast du rpi2 installiert bekommen?

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #5

            @airjk
            Den Fork habe ich gelöscht, die Änderungen sind wieder im Hauptzweig.
            Also ganz normal installieren.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            1 Antwort Letzte Antwort
            0
            • A Online
              A Online
              airjk
              schrieb zuletzt editiert von
              #6

              Hat bei mir leider nicht funktioniert mit der aktuellen Installation. Ich habe genau dieselbe Fehlermeldung erhalten und weiß nicht, was da nicht zusammen passt.

              Thomas BraunT mcm1957M HomoranH 3 Antworten Letzte Antwort
              0
              • A airjk

                Hat bei mir leider nicht funktioniert mit der aktuellen Installation. Ich habe genau dieselbe Fehlermeldung erhalten und weiß nicht, was da nicht zusammen passt.

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb zuletzt editiert von
                #7

                @airjk

                Wie schaut denn deine Kiste aus? Die Ausgabe von

                iob diag
                

                sagt dir das.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                1 Antwort Letzte Antwort
                1
                • A airjk

                  Hat bei mir leider nicht funktioniert mit der aktuellen Installation. Ich habe genau dieselbe Fehlermeldung erhalten und weiß nicht, was da nicht zusammen passt.

                  mcm1957M Online
                  mcm1957M Online
                  mcm1957
                  schrieb zuletzt editiert von
                  #8

                  @airjk sagte:

                  Hat bei mir leider nicht funktioniert mit der aktuellen Installation. Ich habe genau dieselbe Fehlermeldung erhalten und weiß nicht, was da nicht zusammen passt.

                  Welche Version hast du versucht auf welcher Hardware / OS zu installieren?

                  Debian Trixie braucht version 3.0.0
                  https://github.com/iobroker-community-adapters/ioBroker.rpi2?tab=readme-ov-file#300-2025-11-28

                  Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                  Support Repositoryverwaltung.

                  Wer 'nen Kaffee spendieren will: https://paypal.me

                  LESEN - gute Forenbeitrage

                  1 Antwort Letzte Antwort
                  0
                  • A airjk

                    Hat bei mir leider nicht funktioniert mit der aktuellen Installation. Ich habe genau dieselbe Fehlermeldung erhalten und weiß nicht, was da nicht zusammen passt.

                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb zuletzt editiert von
                    #9

                    @airjk sagte:

                    Hat bei mir leider nicht funktioniert

                    Bitte mehr Informationen in Form von logs, iob diag und sonstigen harten Fakten

                    kein Support per PN! - Fragen im Forum stellen -
                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Antwort Letzte Antwort
                    1
                    • A Online
                      A Online
                      airjk
                      schrieb zuletzt editiert von
                      #10

                      ========== Start marking the full check here ===========

                      Script v.2026-01-31
                      
                      *** BASE SYSTEM ***
                      Operating System: Debian GNU/Linux 13 (trixie)
                      
                      ========== Start marking the full check here ===========
                      
                      ```bash
                      Script v.2026-01-31
                      
                      *** BASE SYSTEM ***
                      Operating System: Debian GNU/Linux 13 (trixie)
                       Static hostname: raspberrypi
                             Icon name: computer
                                Kernel: Linux 6.12.75+rpt-rpi-v8
                          Architecture: arm64
                      OS is similar to:
                      
                      Model           : Raspberry Pi 4 Model B Rev 1.4
                      Docker          : false
                      Virtualization  : none
                      Kernel          : aarch64
                      Userland        : 64 bit
                      
                      Systemuptime and Load:
                       16:12:18 up 1 day,  4:59,  1 user,  load average: 0.40, 0.25, 0.22
                      CPU threads: 4
                      
                      
                      *** LIFE CYCLE STATUS ***
                      Operating System is the current Debian stable version codenamed 'trixie'!
                      
                      *** RASPBERRY THROTTLING ***
                      Current issues:
                      No throttling issues detected.
                      
                      Previously detected issues:
                      No throttling issues detected.
                      
                      *** TIME AND TIMEZONES ***
                                     Local time: Wed 2026-04-08 16:12:18 BST
                                 Universal time: Wed 2026-04-08 15:12:18 UTC
                                       RTC time: n/a
                                      Time zone: Europe/London (BST, +0100)
                      System clock synchronized: yes
                                    NTP service: active
                                RTC in local TZ: no
                      Timezone is probably wrong. Please configure it with system admin tools or by running 'iobroker fix'
                      
                      *** Users and Groups ***
                      User that called 'iob diag':
                      jkuban
                      HOME=/home/jkuban
                      GROUPS=jkuban adm dialout cdrom sudo audio video plugdev games users netdev gpio i2c spi render input iobroker
                      
                      User that is running 'js-controller':
                      iobroker
                      HOME=/home/iobroker
                      SUDO_HOME=/home/jkuban
                      GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c
                      
                      *** DISPLAY-SERVER SETUP ***
                      Display-Server:         false
                      Unit display-manager.service could not be found.
                      Display-Manager:
                      Desktop:
                      Session:                tty
                      
                      *** MEMORY ***
                                     total        used        free      shared  buff/cache   available
                      Mem:            8.2G        3.5G        980M         12M        3.9G        4.7G
                      Swap:           2.1G          0B        2.1G
                      Total:           10G        3.5G        3.1G
                      
                      Active iob-Instances:   35
                      
                               7820 M total memory
                               3353 M used memory
                               3294 M active memory
                               3057 M inactive memory
                                934 M free memory
                                242 M buffer memory
                               3437 M swap cache
                               2047 M total swap
                                  0 M used swap
                               2047 M free swap
                      
                      *** top - Table Of Processes  ***
                      top - 16:12:18 up 1 day,  4:59,  1 user,  load average: 0.40, 0.25, 0.22
                      Tasks: 217 total,   1 running, 216 sleeping,   0 stopped,   0 zombie
                      %Cpu(s):  2.1 us,  2.1 sy,  0.0 ni, 95.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                      MiB Mem :   7820.7 total,    933.8 free,   3353.8 used,   3680.3 buff/cache
                      MiB Swap:   2048.0 total,   2048.0 free,      0.0 used.   4466.9 avail Mem
                      
                      *** FAILED SERVICES ***
                      
                        UNIT LOAD ACTIVE SUB DESCRIPTION
                      
                      0 loaded units listed.
                      
                      
                      *** DMESG CRITICAL ERRORS ***
                      No critical errors detected
                      
                      *** FILESYSTEM ***
                      Filesystem     Type      Size  Used Avail Use% Mounted on
                      udev           devtmpfs  3.6G     0  3.6G   0% /dev
                      tmpfs          tmpfs     1.6G  9.3M  1.6G   1% /run
                      /dev/mmcblk0p2 ext4       15G   11G  3.4G  76% /
                      tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
                      tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
                      tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
                      tmpfs          tmpfs     3.9G  2.6M  3.9G   1% /tmp
                      /dev/mmcblk0p1 vfat      510M   66M  445M  13% /boot/firmware
                      tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
                      tmpfs          tmpfs     783M  8.0K  783M   1% /run/user/1000
                      
                      Messages concerning ext4 filesystem in dmesg:
                      [Tue Apr  7 11:12:39 2026] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
                      [Tue Apr  7 11:12:39 2026] EXT4-fs (mmcblk0p2): mounted filesystem 21724cc6-e5a3-48a1-8643-7917dba3a9fb ro with ordered data mode. Quota mode: none.
                      [Tue Apr  7 11:12:42 2026] EXT4-fs (mmcblk0p2): re-mounted 21724cc6-e5a3-48a1-8643-7917dba3a9fb r/w.
                      
                      Show mounted filesystems:
                      TARGET           SOURCE         FSTYPE OPTIONS
                      /                /dev/mmcblk0p2 ext4   rw,noatime
                      `-/boot/firmware /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                      
                      Files in neuralgic directories:
                      
                      /var:
                      2.7G    /var/
                      462M    /var/cache
                      456M    /var/cache/apt
                      326M    /var/cache/apt/archives
                      181M    /var/lib
                      
                      Archived and active journals take up 8M in the file system.
                      
                      /opt/iobroker/backups:
                      695M    /opt/iobroker/backups/
                      
                      /opt/iobroker/iobroker-data:
                      1.6G    /opt/iobroker/iobroker-data/
                      1.1G    /opt/iobroker/iobroker-data/history
                      422M    /opt/iobroker/iobroker-data/files
                      88M     /opt/iobroker/iobroker-data/files/vis-2
                      77M     /opt/iobroker/iobroker-data/files/vis
                      
                      The five largest files in iobroker-data are:
                      32M     /opt/iobroker/iobroker-data/objects.jsonl
                      30M     /opt/iobroker/iobroker-data/files/notification-manager.admin/build/index.js.map
                      27M     /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
                      11M     /opt/iobroker/iobroker-data/files/notification-manager.admin/build/index.js
                      9.8M    /opt/iobroker/iobroker-data/files/vis-2/material-icons/knx-uf.json
                      
                      USB-Devices by-id:
                      USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups,
                      please always prefer the links 'by-id':
                      
                      /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_D30CJHUD-if00-port0
                      /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_D30CJHT1-if00-port0
                      
                      No nvbackup.json found.
                      
                      *** NodeJS-Installation ***
                      
                      /usr/bin/nodejs         v22.22.2
                      /usr/bin/node           v22.22.2
                      /usr/bin/npm            10.9.7
                      /usr/bin/npx            10.9.7
                      
                      ✓ Node.js installation is correct
                      
                      nodejs:
                        Installed: 22.22.2-1nodesource1
                        Candidate: 22.22.2-1nodesource1
                        Version table:
                       *** 22.22.2-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                              100 /var/lib/dpkg/status
                           22.22.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.22.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.21.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.20.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.19.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.18.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.17.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.17.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.16.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.15.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.15.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.14.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.13.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.13.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.12.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.11.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.10.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.9.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.8.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.7.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.6.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.5.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.5.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.4.1-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.4.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.3.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.2.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.1.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           22.0.0-1nodesource1 1001
                              500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                           20.19.2+dfsg-1+deb13u2 500
                              500 http://deb.debian.org/debian-security trixie-security/main arm64 Packages
                           20.19.2+dfsg-1 500
                              500 http://deb.debian.org/debian trixie/main arm64 Packages
                      
                      Temp directories causing deletion problem: 0
                      No problems detected
                      
                      Errors in npm tree: 0
                      No problems detected
                      
                      Checking for nodejs vulnerability:
                      
                      
                       █████  ██      ██           ██████   ██████   ██████  ██████         ██
                      ██   ██ ██      ██          ██       ██    ██ ██    ██ ██   ██     ██  ██
                      ███████ ██      ██          ██   ███ ██    ██ ██    ██ ██   ██         ██
                      ██   ██ ██      ██          ██    ██ ██    ██ ██    ██ ██   ██     ██  ██
                      ██   ██ ███████ ███████      ██████   ██████   ██████  ██████         ██
                      
                      
                      
                      *** ioBroker-Installation ***
                      
                      ioBroker Status
                      iobroker is running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      Hosts:
                      raspberrypi         raspberrypi (version: 7.0.7, hostname: raspberrypi   , alive, uptime: 90129)
                      
                      Core adapters versions
                      js-controller:  7.0.7
                      admin:          7.7.22
                      javascript:     9.0.18
                      
                      nodejs modules from github:     0
                      
                      Adapter State
                      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      + system.adapter.alexa2.0                 : alexa2                : raspberrypi                              -  enabled
                      + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                      + system.adapter.cloud.0                  : cloud                 : raspberrypi                              -  enabled
                      + system.adapter.deyeidc.0                : deyeidc               : raspberrypi                              -  enabled, port: 8899
                      + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
                      + system.adapter.echarts.0                : echarts               : raspberrypi                              -  enabled
                      + system.adapter.email.0                  : email                 : raspberrypi                              -  enabled
                      + system.adapter.energiefluss-erweitert.0 : energiefluss-erweitert: raspberrypi                              -  enabled
                      + system.adapter.energiefluss.0           : energiefluss          : raspberrypi                              -  enabled
                      + system.adapter.growatt.0                : growatt               : raspberrypi                              -  enabled
                      + system.adapter.ham.0                    : ham                   : raspberrypi                              -  enabled
                      + system.adapter.history.0                : history               : raspberrypi                              -  enabled
                        system.adapter.ical.0                   : ical                  : raspberrypi                              -  enabled
                      + system.adapter.iot.0                    : iot                   : raspberrypi                              -  enabled
                      + system.adapter.jarvis.0                 : jarvis                : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
                      + system.adapter.lgtv.0                   : lgtv                  : raspberrypi                              -  enabled
                      + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: 1883, bind: 0.0.0.0
                      + system.adapter.notification-manager.0   : notification-manager  : raspberrypi                              -  enabled
                      + system.adapter.ping.0                   : ping                  : raspberrypi                              -  enabled
                      + system.adapter.pushover.0               : pushover              : raspberrypi                              -  enabled
                      + system.adapter.pvforecast.0             : pvforecast            : raspberrypi                              -  enabled
                      + system.adapter.radar-trap.0             : radar-trap            : raspberrypi                              -  enabled
                        system.adapter.schoolfree.0             : schoolfree            : raspberrypi                              -  enabled
                        system.adapter.schoolfree.1             : schoolfree            : raspberrypi                              -  enabled
                      + system.adapter.shuttercontrol.0         : shuttercontrol        : raspberrypi                              -  enabled
                      + system.adapter.smartmeter.0             : smartmeter            : raspberrypi                              -  enabled
                      + system.adapter.smartmeter.1             : smartmeter            : raspberrypi                              -  enabled
                      + system.adapter.tankerkoenig.0           : tankerkoenig          : raspberrypi                              -  enabled
                        system.adapter.telegram.0               : telegram              : raspberrypi                              - disabled, port: 8443, bind: 0.0.0.0
                      + system.adapter.tr-064.0                 : tr-064                : raspberrypi                              -  enabled
                      + system.adapter.trashschedule.0          : trashschedule         : raspberrypi                              -  enabled
                      + system.adapter.tuya.0                   : tuya                  : raspberrypi                              -  enabled
                      + system.adapter.tvprogram.0              : tvprogram             : raspberrypi                              -  enabled
                        system.adapter.vis-2-widgets-radar-trap.0: vis-2-widgets-radar-trap: raspberrypi                              - disabled
                      + system.adapter.vis-2.0                  : vis-2                 : raspberrypi                              -  enabled
                        system.adapter.vis.0                    : vis                   : raspberrypi                              -  enabled
                        system.adapter.weatherunderground.0     : weatherunderground    : raspberrypi                              -  enabled
                      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      + system.adapter.worx.0                   : worx                  : raspberrypi                              -  enabled
                      
                      + instance is alive
                      
                      Enabled adapters with bindings
                      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      + system.adapter.deyeidc.0                : deyeidc               : raspberrypi                              -  enabled, port: 8899
                      + system.adapter.jarvis.0                 : jarvis                : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: 1883, bind: 0.0.0.0
                      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      
                      ioBroker-Repositories
                      ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
                      │ (index) │ name     │ url                                                     │ auto upgrade │
                      ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
                      │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
                      │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
                      └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
                      
                      Active repo(s): stable
                      Upgrade policy: none
                      
                      Installed ioBroker-Adapters
                      Used repository: stable
                      Adapter    "admin"        : 7.7.22   , installed 7.7.22
                      Adapter    "alexa2"       : 3.27.4   , installed 3.27.4
                      Adapter    "backitup"     : 3.3.14   , installed 3.3.14
                      Adapter    "cloud"        : 5.0.1    , installed 5.0.1
                      Adapter    "deyeidc"      : 0.3.1    , installed 0.3.1
                      Adapter    "discovery"    : 5.0.0    , installed 5.0.0
                      Adapter    "echarts"      : 3.1.0    , installed 3.1.0
                      Adapter    "email"        : 2.0.4    , installed 2.0.4
                      Adapter    "energiefluss" : 3.6.2    , installed 3.6.2
                      Adapter    "energiefluss-erweitert": 0.8.1, installed 0.8.1
                      Adapter    "growatt"      : 3.3.1    , installed 3.3.1
                      Adapter    "ham"          : 5.3.1    , installed 5.3.1
                      Adapter    "history"      : 3.0.1    , installed 3.0.1
                      Adapter    "ical"         : 1.19.7   , installed 1.19.7
                      Adapter    "iot"          : 5.0.12   , installed 5.0.12
                      Adapter    "jarvis"       : 3.1.8    , installed 3.1.8
                      Adapter    "javascript"   : 9.0.18   , installed 9.0.18
                      Controller "js-controller": 7.0.7    , installed 7.0.7
                      Adapter    "lgtv"         : 2.5.0    , installed 2.5.0
                      Adapter    "mqtt"         : 6.1.4    , installed 6.1.4
                      Adapter    "notification-manager": 1.3.0, installed 1.3.0
                      Adapter    "ping"         : 1.7.9    , installed 1.7.9
                      Adapter    "pushover"     : 4.1.0    , installed 4.1.0
                      Adapter    "pvforecast"   : 5.1.0    , installed 5.1.0
                      Adapter    "radar-trap"   : 2.2.2    , installed 2.2.2
                      Adapter    "schoolfree"   : 1.1.13   , installed 1.1.13
                      Adapter    "shuttercontrol": 2.0.12  , installed 2.0.12
                      Adapter    "smartmeter"   : 3.4.0    , installed 3.4.0
                      Adapter    "socketio"     : 7.0.8    , installed 7.0.8
                      Adapter    "tankerkoenig" : 3.4.0    , installed 3.4.0
                      Adapter    "telegram"     : 4.1.0    , installed 4.1.0
                      Adapter    "tr-064"       : 4.3.0    , installed 4.3.0
                      Adapter    "trashschedule": 3.3.0    , installed 3.3.0
                      Adapter    "tuya"         : 3.16.0   , installed 3.16.0
                      Adapter    "tvprogram"    : 4.0.2    , installed 4.0.2
                      Adapter    "vis"          : 1.5.6    , installed 1.5.6
                      Adapter    "vis-2"        : 2.13.8   , installed 2.13.8
                      Adapter    "vis-2-widgets-radar-trap": 2.3.0, installed 2.3.0
                      Adapter    "weatherunderground": 3.7.0, installed 3.7.0
                      Adapter    "web"          : 8.0.0    , installed 8.0.0
                      Adapter    "worx"         : 3.2.7    , installed 3.2.7
                      Adapter    "ws"           : 4.0.0    , installed 4.0.0
                      
                      Objects and States
                      Please stand by - This may take a while
                      Objects:        8452
                      States:         7171
                      
                      *** OS-Repositories and Updates ***
                      Hit:1 http://deb.debian.org/debian trixie InRelease
                      Hit:2 http://deb.debian.org/debian trixie-updates InRelease
                      Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
                      Hit:4 http://archive.raspberrypi.com/debian trixie InRelease
                      Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease
                      Reading package lists...
                      Pending systemupdates: 3
                      
                      *** Listening Ports ***
                      Active Internet connections (only servers)
                      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                      tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       104735     15060/io.mqtt.0
                      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       102889     14679/iobroker.js-c
                      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       103491     14679/iobroker.js-c
                      tcp        0      0 0.0.0.0:8400            0.0.0.0:*               LISTEN      1001       107098     15503/io.jarvis.0
                      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          5251       1/init
                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          7479       878/sshd: /usr/sbin
                      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       103594     14699/io.admin.0
                      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       104406     15357/io.web.0
                      tcp6       0      0 :::3040                 :::*                    LISTEN      1001       108550     15611/io.radar-trap
                      tcp6       0      0 :::111                  :::*                    LISTEN      0          5252       1/init
                      tcp6       0      0 :::22                   :::*                    LISTEN      0          7489       878/sshd: /usr/sbin
                      udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1001       104992     15239/io.tuya.0
                      udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1001       104993     15239/io.tuya.0
                      udp        0      0 0.0.0.0:56914           0.0.0.0:*                           101        7285       648/avahi-daemon: r
                      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          1294       1/init
                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       104112     15003/io.ham.0
                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           101        7283       648/avahi-daemon: r
                      udp6       0      0 :::52892                :::*                                101        7286       648/avahi-daemon: r
                      udp6       0      0 :::111                  :::*                                0          1295       1/init
                      udp6       0      0 fe80::d4c1:6673:215:546 :::*                                0          7543       684/NetworkManager
                      udp6       0      0 :::5353                 :::*                                101        7284       648/avahi-daemon: r
                      HomoranH 1 Antwort Letzte Antwort
                      0
                      • A Online
                        A Online
                        airjk
                        schrieb zuletzt editiert von Homoran
                        #11
                        iob install rpi2
                        NPM version: 10.9.7
                        Installing iobroker.rpi2@2.4.0... (System call)
                        npm error code 1
                        npm error path /opt/iobroker/node_modules/opengpio
                        npm error command failed
                        npm error command sh -c node-gyp rebuild
                        npm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'
                        npm error   CXX(target) Release/obj.target/opengpio/cpp/opengpio.o
                        npm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'
                        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::line
                        npm 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 here
                        npm 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::line
                        npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                        npm 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 captured
                        npm error    30 |         bool value = line.get_value();
                        npm error       |                      ^~~~
                        npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-default
                        npm 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 here
                        npm 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 captured
                        npm error    34 |                                                  { line.release(); });
                        npm error       |                                                    ^~~~
                        npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-default
                        npm 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 here
                        npm 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::line
                        npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                        npm 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::line
                        npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                        npm 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 captured
                        npm error    66 |         line.set_value(value); });
                        npm error       |         ^~~~
                        npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-default
                        npm 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 here
                        npm 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 captured
                        npm error    69 |                                                  { line.release(); });
                        npm error       |                                                    ^~~~
                        npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-default
                        npm 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 here
                        npm 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 type
                        npm error    81 |     gpiod::line line;
                        npm error       |            ^~~~
                        npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                        npm 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::line
                        npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                        npm 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::line
                        npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                        npm 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 captured
                        npm error   111 |         bool value = line.get_value();
                        npm error       |                      ^~~~
                        npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-default
                        npm 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 here
                        npm 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 captured
                        npm 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-default
                        npm error   124 |         [](uv_work_t *req)
                        npm error       |          ^
                        npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared here
                        npm 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_event
                        npm 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       |                                  servent
                        npm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declared
                        npm 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 type
                        npm error   168 |     gpiod::line line;
                        npm error       |            ^~~~
                        npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                        npm 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::line
                        npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                        npm 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::line
                        npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                        npm 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 captured
                        npm error   264 |                 line.set_value(true);
                        npm error       |                 ^~~~
                        npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-default
                        npm error   221 |         [](uv_work_t *req)
                        npm error       |          ^
                        npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared here
                        npm error   213 |     data->line = line;
                        npm error       |                  ^~~~
                        npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not captured
                        npm error   278 |                 line.set_value(false);
                        npm error       |                 ^~~~
                        npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-default
                        npm error   221 |         [](uv_work_t *req)
                        npm error       |          ^
                        npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared here
                        npm 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 captured
                        npm error   328 |             line.release();
                        npm error       |             ^~~~
                        npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-default
                        npm error   324 |         [](uv_work_t *req, int status)
                        npm error       |          ^
                        npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared here
                        npm error   213 |     data->line = line;
                        npm error       |                  ^~~~
                        npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 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:219:23)
                        npm error gyp ERR! System Linux 6.12.75+rpt-rpi-v8
                        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 /opt/iobroker/node_modules/opengpio
                        npm error gyp ERR! node -v v22.22.2
                        npm error gyp ERR! node-gyp -v v11.5.0
                        npm error gyp ERR! not ok
                        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2026-04-08T15_15_18_417Z-debug-0.log
                        host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1
                        

                        MOD-EDIT: Code in code-tags gesetzt!

                        HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                        0
                        • A airjk

                          ========== Start marking the full check here ===========

                          Script v.2026-01-31
                          
                          *** BASE SYSTEM ***
                          Operating System: Debian GNU/Linux 13 (trixie)
                          
                          ========== Start marking the full check here ===========
                          
                          ```bash
                          Script v.2026-01-31
                          
                          *** BASE SYSTEM ***
                          Operating System: Debian GNU/Linux 13 (trixie)
                           Static hostname: raspberrypi
                                 Icon name: computer
                                    Kernel: Linux 6.12.75+rpt-rpi-v8
                              Architecture: arm64
                          OS is similar to:
                          
                          Model           : Raspberry Pi 4 Model B Rev 1.4
                          Docker          : false
                          Virtualization  : none
                          Kernel          : aarch64
                          Userland        : 64 bit
                          
                          Systemuptime and Load:
                           16:12:18 up 1 day,  4:59,  1 user,  load average: 0.40, 0.25, 0.22
                          CPU threads: 4
                          
                          
                          *** LIFE CYCLE STATUS ***
                          Operating System is the current Debian stable version codenamed 'trixie'!
                          
                          *** RASPBERRY THROTTLING ***
                          Current issues:
                          No throttling issues detected.
                          
                          Previously detected issues:
                          No throttling issues detected.
                          
                          *** TIME AND TIMEZONES ***
                                         Local time: Wed 2026-04-08 16:12:18 BST
                                     Universal time: Wed 2026-04-08 15:12:18 UTC
                                           RTC time: n/a
                                          Time zone: Europe/London (BST, +0100)
                          System clock synchronized: yes
                                        NTP service: active
                                    RTC in local TZ: no
                          Timezone is probably wrong. Please configure it with system admin tools or by running 'iobroker fix'
                          
                          *** Users and Groups ***
                          User that called 'iob diag':
                          jkuban
                          HOME=/home/jkuban
                          GROUPS=jkuban adm dialout cdrom sudo audio video plugdev games users netdev gpio i2c spi render input iobroker
                          
                          User that is running 'js-controller':
                          iobroker
                          HOME=/home/iobroker
                          SUDO_HOME=/home/jkuban
                          GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c
                          
                          *** DISPLAY-SERVER SETUP ***
                          Display-Server:         false
                          Unit display-manager.service could not be found.
                          Display-Manager:
                          Desktop:
                          Session:                tty
                          
                          *** MEMORY ***
                                         total        used        free      shared  buff/cache   available
                          Mem:            8.2G        3.5G        980M         12M        3.9G        4.7G
                          Swap:           2.1G          0B        2.1G
                          Total:           10G        3.5G        3.1G
                          
                          Active iob-Instances:   35
                          
                                   7820 M total memory
                                   3353 M used memory
                                   3294 M active memory
                                   3057 M inactive memory
                                    934 M free memory
                                    242 M buffer memory
                                   3437 M swap cache
                                   2047 M total swap
                                      0 M used swap
                                   2047 M free swap
                          
                          *** top - Table Of Processes  ***
                          top - 16:12:18 up 1 day,  4:59,  1 user,  load average: 0.40, 0.25, 0.22
                          Tasks: 217 total,   1 running, 216 sleeping,   0 stopped,   0 zombie
                          %Cpu(s):  2.1 us,  2.1 sy,  0.0 ni, 95.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                          MiB Mem :   7820.7 total,    933.8 free,   3353.8 used,   3680.3 buff/cache
                          MiB Swap:   2048.0 total,   2048.0 free,      0.0 used.   4466.9 avail Mem
                          
                          *** FAILED SERVICES ***
                          
                            UNIT LOAD ACTIVE SUB DESCRIPTION
                          
                          0 loaded units listed.
                          
                          
                          *** DMESG CRITICAL ERRORS ***
                          No critical errors detected
                          
                          *** FILESYSTEM ***
                          Filesystem     Type      Size  Used Avail Use% Mounted on
                          udev           devtmpfs  3.6G     0  3.6G   0% /dev
                          tmpfs          tmpfs     1.6G  9.3M  1.6G   1% /run
                          /dev/mmcblk0p2 ext4       15G   11G  3.4G  76% /
                          tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
                          tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
                          tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/systemd-journald.service
                          tmpfs          tmpfs     3.9G  2.6M  3.9G   1% /tmp
                          /dev/mmcblk0p1 vfat      510M   66M  445M  13% /boot/firmware
                          tmpfs          tmpfs     1.0M     0  1.0M   0% /run/credentials/getty@tty1.service
                          tmpfs          tmpfs     783M  8.0K  783M   1% /run/user/1000
                          
                          Messages concerning ext4 filesystem in dmesg:
                          [Tue Apr  7 11:12:39 2026] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
                          [Tue Apr  7 11:12:39 2026] EXT4-fs (mmcblk0p2): mounted filesystem 21724cc6-e5a3-48a1-8643-7917dba3a9fb ro with ordered data mode. Quota mode: none.
                          [Tue Apr  7 11:12:42 2026] EXT4-fs (mmcblk0p2): re-mounted 21724cc6-e5a3-48a1-8643-7917dba3a9fb r/w.
                          
                          Show mounted filesystems:
                          TARGET           SOURCE         FSTYPE OPTIONS
                          /                /dev/mmcblk0p2 ext4   rw,noatime
                          `-/boot/firmware /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                          
                          Files in neuralgic directories:
                          
                          /var:
                          2.7G    /var/
                          462M    /var/cache
                          456M    /var/cache/apt
                          326M    /var/cache/apt/archives
                          181M    /var/lib
                          
                          Archived and active journals take up 8M in the file system.
                          
                          /opt/iobroker/backups:
                          695M    /opt/iobroker/backups/
                          
                          /opt/iobroker/iobroker-data:
                          1.6G    /opt/iobroker/iobroker-data/
                          1.1G    /opt/iobroker/iobroker-data/history
                          422M    /opt/iobroker/iobroker-data/files
                          88M     /opt/iobroker/iobroker-data/files/vis-2
                          77M     /opt/iobroker/iobroker-data/files/vis
                          
                          The five largest files in iobroker-data are:
                          32M     /opt/iobroker/iobroker-data/objects.jsonl
                          30M     /opt/iobroker/iobroker-data/files/notification-manager.admin/build/index.js.map
                          27M     /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
                          11M     /opt/iobroker/iobroker-data/files/notification-manager.admin/build/index.js
                          9.8M    /opt/iobroker/iobroker-data/files/vis-2/material-icons/knx-uf.json
                          
                          USB-Devices by-id:
                          USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups,
                          please always prefer the links 'by-id':
                          
                          /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_D30CJHUD-if00-port0
                          /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_D30CJHT1-if00-port0
                          
                          No nvbackup.json found.
                          
                          *** NodeJS-Installation ***
                          
                          /usr/bin/nodejs         v22.22.2
                          /usr/bin/node           v22.22.2
                          /usr/bin/npm            10.9.7
                          /usr/bin/npx            10.9.7
                          
                          ✓ Node.js installation is correct
                          
                          nodejs:
                            Installed: 22.22.2-1nodesource1
                            Candidate: 22.22.2-1nodesource1
                            Version table:
                           *** 22.22.2-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                                  100 /var/lib/dpkg/status
                               22.22.1-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.22.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.21.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.20.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.19.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.18.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.17.1-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.17.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.16.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.15.1-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.15.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.14.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.13.1-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.13.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.12.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.11.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.10.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.9.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.8.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.7.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.6.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.5.1-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.5.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.4.1-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.4.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.3.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.2.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.1.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               22.0.0-1nodesource1 1001
                                  500 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages
                               20.19.2+dfsg-1+deb13u2 500
                                  500 http://deb.debian.org/debian-security trixie-security/main arm64 Packages
                               20.19.2+dfsg-1 500
                                  500 http://deb.debian.org/debian trixie/main arm64 Packages
                          
                          Temp directories causing deletion problem: 0
                          No problems detected
                          
                          Errors in npm tree: 0
                          No problems detected
                          
                          Checking for nodejs vulnerability:
                          
                          
                           █████  ██      ██           ██████   ██████   ██████  ██████         ██
                          ██   ██ ██      ██          ██       ██    ██ ██    ██ ██   ██     ██  ██
                          ███████ ██      ██          ██   ███ ██    ██ ██    ██ ██   ██         ██
                          ██   ██ ██      ██          ██    ██ ██    ██ ██    ██ ██   ██     ██  ██
                          ██   ██ ███████ ███████      ██████   ██████   ██████  ██████         ██
                          
                          
                          
                          *** ioBroker-Installation ***
                          
                          ioBroker Status
                          iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          Hosts:
                          raspberrypi         raspberrypi (version: 7.0.7, hostname: raspberrypi   , alive, uptime: 90129)
                          
                          Core adapters versions
                          js-controller:  7.0.7
                          admin:          7.7.22
                          javascript:     9.0.18
                          
                          nodejs modules from github:     0
                          
                          Adapter State
                          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.alexa2.0                 : alexa2                : raspberrypi                              -  enabled
                          + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                          + system.adapter.cloud.0                  : cloud                 : raspberrypi                              -  enabled
                          + system.adapter.deyeidc.0                : deyeidc               : raspberrypi                              -  enabled, port: 8899
                          + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
                          + system.adapter.echarts.0                : echarts               : raspberrypi                              -  enabled
                          + system.adapter.email.0                  : email                 : raspberrypi                              -  enabled
                          + system.adapter.energiefluss-erweitert.0 : energiefluss-erweitert: raspberrypi                              -  enabled
                          + system.adapter.energiefluss.0           : energiefluss          : raspberrypi                              -  enabled
                          + system.adapter.growatt.0                : growatt               : raspberrypi                              -  enabled
                          + system.adapter.ham.0                    : ham                   : raspberrypi                              -  enabled
                          + system.adapter.history.0                : history               : raspberrypi                              -  enabled
                            system.adapter.ical.0                   : ical                  : raspberrypi                              -  enabled
                          + system.adapter.iot.0                    : iot                   : raspberrypi                              -  enabled
                          + system.adapter.jarvis.0                 : jarvis                : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
                          + system.adapter.lgtv.0                   : lgtv                  : raspberrypi                              -  enabled
                          + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: 1883, bind: 0.0.0.0
                          + system.adapter.notification-manager.0   : notification-manager  : raspberrypi                              -  enabled
                          + system.adapter.ping.0                   : ping                  : raspberrypi                              -  enabled
                          + system.adapter.pushover.0               : pushover              : raspberrypi                              -  enabled
                          + system.adapter.pvforecast.0             : pvforecast            : raspberrypi                              -  enabled
                          + system.adapter.radar-trap.0             : radar-trap            : raspberrypi                              -  enabled
                            system.adapter.schoolfree.0             : schoolfree            : raspberrypi                              -  enabled
                            system.adapter.schoolfree.1             : schoolfree            : raspberrypi                              -  enabled
                          + system.adapter.shuttercontrol.0         : shuttercontrol        : raspberrypi                              -  enabled
                          + system.adapter.smartmeter.0             : smartmeter            : raspberrypi                              -  enabled
                          + system.adapter.smartmeter.1             : smartmeter            : raspberrypi                              -  enabled
                          + system.adapter.tankerkoenig.0           : tankerkoenig          : raspberrypi                              -  enabled
                            system.adapter.telegram.0               : telegram              : raspberrypi                              - disabled, port: 8443, bind: 0.0.0.0
                          + system.adapter.tr-064.0                 : tr-064                : raspberrypi                              -  enabled
                          + system.adapter.trashschedule.0          : trashschedule         : raspberrypi                              -  enabled
                          + system.adapter.tuya.0                   : tuya                  : raspberrypi                              -  enabled
                          + system.adapter.tvprogram.0              : tvprogram             : raspberrypi                              -  enabled
                            system.adapter.vis-2-widgets-radar-trap.0: vis-2-widgets-radar-trap: raspberrypi                              - disabled
                          + system.adapter.vis-2.0                  : vis-2                 : raspberrypi                              -  enabled
                            system.adapter.vis.0                    : vis                   : raspberrypi                              -  enabled
                            system.adapter.weatherunderground.0     : weatherunderground    : raspberrypi                              -  enabled
                          + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          + system.adapter.worx.0                   : worx                  : raspberrypi                              -  enabled
                          
                          + instance is alive
                          
                          Enabled adapters with bindings
                          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.deyeidc.0                : deyeidc               : raspberrypi                              -  enabled, port: 8899
                          + system.adapter.jarvis.0                 : jarvis                : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: 1883, bind: 0.0.0.0
                          + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          ioBroker-Repositories
                          ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
                          │ (index) │ name     │ url                                                     │ auto upgrade │
                          ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
                          │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
                          │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
                          └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
                          
                          Active repo(s): stable
                          Upgrade policy: none
                          
                          Installed ioBroker-Adapters
                          Used repository: stable
                          Adapter    "admin"        : 7.7.22   , installed 7.7.22
                          Adapter    "alexa2"       : 3.27.4   , installed 3.27.4
                          Adapter    "backitup"     : 3.3.14   , installed 3.3.14
                          Adapter    "cloud"        : 5.0.1    , installed 5.0.1
                          Adapter    "deyeidc"      : 0.3.1    , installed 0.3.1
                          Adapter    "discovery"    : 5.0.0    , installed 5.0.0
                          Adapter    "echarts"      : 3.1.0    , installed 3.1.0
                          Adapter    "email"        : 2.0.4    , installed 2.0.4
                          Adapter    "energiefluss" : 3.6.2    , installed 3.6.2
                          Adapter    "energiefluss-erweitert": 0.8.1, installed 0.8.1
                          Adapter    "growatt"      : 3.3.1    , installed 3.3.1
                          Adapter    "ham"          : 5.3.1    , installed 5.3.1
                          Adapter    "history"      : 3.0.1    , installed 3.0.1
                          Adapter    "ical"         : 1.19.7   , installed 1.19.7
                          Adapter    "iot"          : 5.0.12   , installed 5.0.12
                          Adapter    "jarvis"       : 3.1.8    , installed 3.1.8
                          Adapter    "javascript"   : 9.0.18   , installed 9.0.18
                          Controller "js-controller": 7.0.7    , installed 7.0.7
                          Adapter    "lgtv"         : 2.5.0    , installed 2.5.0
                          Adapter    "mqtt"         : 6.1.4    , installed 6.1.4
                          Adapter    "notification-manager": 1.3.0, installed 1.3.0
                          Adapter    "ping"         : 1.7.9    , installed 1.7.9
                          Adapter    "pushover"     : 4.1.0    , installed 4.1.0
                          Adapter    "pvforecast"   : 5.1.0    , installed 5.1.0
                          Adapter    "radar-trap"   : 2.2.2    , installed 2.2.2
                          Adapter    "schoolfree"   : 1.1.13   , installed 1.1.13
                          Adapter    "shuttercontrol": 2.0.12  , installed 2.0.12
                          Adapter    "smartmeter"   : 3.4.0    , installed 3.4.0
                          Adapter    "socketio"     : 7.0.8    , installed 7.0.8
                          Adapter    "tankerkoenig" : 3.4.0    , installed 3.4.0
                          Adapter    "telegram"     : 4.1.0    , installed 4.1.0
                          Adapter    "tr-064"       : 4.3.0    , installed 4.3.0
                          Adapter    "trashschedule": 3.3.0    , installed 3.3.0
                          Adapter    "tuya"         : 3.16.0   , installed 3.16.0
                          Adapter    "tvprogram"    : 4.0.2    , installed 4.0.2
                          Adapter    "vis"          : 1.5.6    , installed 1.5.6
                          Adapter    "vis-2"        : 2.13.8   , installed 2.13.8
                          Adapter    "vis-2-widgets-radar-trap": 2.3.0, installed 2.3.0
                          Adapter    "weatherunderground": 3.7.0, installed 3.7.0
                          Adapter    "web"          : 8.0.0    , installed 8.0.0
                          Adapter    "worx"         : 3.2.7    , installed 3.2.7
                          Adapter    "ws"           : 4.0.0    , installed 4.0.0
                          
                          Objects and States
                          Please stand by - This may take a while
                          Objects:        8452
                          States:         7171
                          
                          *** OS-Repositories and Updates ***
                          Hit:1 http://deb.debian.org/debian trixie InRelease
                          Hit:2 http://deb.debian.org/debian trixie-updates InRelease
                          Hit:3 http://deb.debian.org/debian-security trixie-security InRelease
                          Hit:4 http://archive.raspberrypi.com/debian trixie InRelease
                          Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease
                          Reading package lists...
                          Pending systemupdates: 3
                          
                          *** Listening Ports ***
                          Active Internet connections (only servers)
                          Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                          tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       104735     15060/io.mqtt.0
                          tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       102889     14679/iobroker.js-c
                          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       103491     14679/iobroker.js-c
                          tcp        0      0 0.0.0.0:8400            0.0.0.0:*               LISTEN      1001       107098     15503/io.jarvis.0
                          tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          5251       1/init
                          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          7479       878/sshd: /usr/sbin
                          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       103594     14699/io.admin.0
                          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       104406     15357/io.web.0
                          tcp6       0      0 :::3040                 :::*                    LISTEN      1001       108550     15611/io.radar-trap
                          tcp6       0      0 :::111                  :::*                    LISTEN      0          5252       1/init
                          tcp6       0      0 :::22                   :::*                    LISTEN      0          7489       878/sshd: /usr/sbin
                          udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1001       104992     15239/io.tuya.0
                          udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1001       104993     15239/io.tuya.0
                          udp        0      0 0.0.0.0:56914           0.0.0.0:*                           101        7285       648/avahi-daemon: r
                          udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          1294       1/init
                          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       104112     15003/io.ham.0
                          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           101        7283       648/avahi-daemon: r
                          udp6       0      0 :::52892                :::*                                101        7286       648/avahi-daemon: r
                          udp6       0      0 :::111                  :::*                                0          1295       1/init
                          udp6       0      0 fe80::d4c1:6673:215:546 :::*                                0          7543       684/NetworkManager
                          udp6       0      0 :::5353                 :::*                                101        7284       648/avahi-daemon: r
                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb zuletzt editiert von
                          #12

                          @airjk sagte:

                          Time zone: Europe/London (BST, +0100)

                          Wohnst du in London?
                          Sonst stimmt deine Systemzeit nicht

                          @airjk sagte:

                          Wed 2026-04-08 16:12:18 BST

                          @airjk sagte:

                          Pending systemupdates: 3

                          Nicht viel, aber bitte updaten.

                          kein Support per PN! - Fragen im Forum stellen -
                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          1 Antwort Letzte Antwort
                          0
                          • A airjk
                            iob install rpi2
                            NPM version: 10.9.7
                            Installing iobroker.rpi2@2.4.0... (System call)
                            npm error code 1
                            npm error path /opt/iobroker/node_modules/opengpio
                            npm error command failed
                            npm error command sh -c node-gyp rebuild
                            npm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'
                            npm error   CXX(target) Release/obj.target/opengpio/cpp/opengpio.o
                            npm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'
                            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::line
                            npm 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 here
                            npm 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::line
                            npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                            npm 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 captured
                            npm error    30 |         bool value = line.get_value();
                            npm error       |                      ^~~~
                            npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-default
                            npm 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 here
                            npm 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 captured
                            npm error    34 |                                                  { line.release(); });
                            npm error       |                                                    ^~~~
                            npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-default
                            npm 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 here
                            npm 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::line
                            npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                            npm 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::line
                            npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                            npm 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 captured
                            npm error    66 |         line.set_value(value); });
                            npm error       |         ^~~~
                            npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-default
                            npm 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 here
                            npm 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 captured
                            npm error    69 |                                                  { line.release(); });
                            npm error       |                                                    ^~~~
                            npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-default
                            npm 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 here
                            npm 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 type
                            npm error    81 |     gpiod::line line;
                            npm error       |            ^~~~
                            npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                            npm 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::line
                            npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                            npm 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::line
                            npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                            npm 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 captured
                            npm error   111 |         bool value = line.get_value();
                            npm error       |                      ^~~~
                            npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-default
                            npm 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 here
                            npm 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 captured
                            npm 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-default
                            npm error   124 |         [](uv_work_t *req)
                            npm error       |          ^
                            npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared here
                            npm 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_event
                            npm 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       |                                  servent
                            npm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declared
                            npm 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 type
                            npm error   168 |     gpiod::line line;
                            npm error       |            ^~~~
                            npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                            npm 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::line
                            npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                            npm 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::line
                            npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                            npm 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 captured
                            npm error   264 |                 line.set_value(true);
                            npm error       |                 ^~~~
                            npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-default
                            npm error   221 |         [](uv_work_t *req)
                            npm error       |          ^
                            npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared here
                            npm error   213 |     data->line = line;
                            npm error       |                  ^~~~
                            npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not captured
                            npm error   278 |                 line.set_value(false);
                            npm error       |                 ^~~~
                            npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-default
                            npm error   221 |         [](uv_work_t *req)
                            npm error       |          ^
                            npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared here
                            npm 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 captured
                            npm error   328 |             line.release();
                            npm error       |             ^~~~
                            npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-default
                            npm error   324 |         [](uv_work_t *req, int status)
                            npm error       |          ^
                            npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared here
                            npm error   213 |     data->line = line;
                            npm error       |                  ^~~~
                            npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 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:219:23)
                            npm error gyp ERR! System Linux 6.12.75+rpt-rpi-v8
                            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 /opt/iobroker/node_modules/opengpio
                            npm error gyp ERR! node -v v22.22.2
                            npm error gyp ERR! node-gyp -v v11.5.0
                            npm error gyp ERR! not ok
                            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2026-04-08T15_15_18_417Z-debug-0.log
                            host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1
                            

                            MOD-EDIT: Code in code-tags gesetzt!

                            HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb zuletzt editiert von Homoran
                            #13

                            @airjk sagte:

                            host.raspberrypi Cannot install iobroker.rpi2@ 2.4.0 : 1

                            @mcm1957 sagte:

                            Debian Trixie braucht version 3.0.0

                            kein Support per PN! - Fragen im Forum stellen -
                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Antwort Letzte Antwort
                            0
                            • A airjk
                              iob install rpi2
                              NPM version: 10.9.7
                              Installing iobroker.rpi2@2.4.0... (System call)
                              npm error code 1
                              npm error path /opt/iobroker/node_modules/opengpio
                              npm error command failed
                              npm error command sh -c node-gyp rebuild
                              npm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'
                              npm error   CXX(target) Release/obj.target/opengpio/cpp/opengpio.o
                              npm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'
                              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::line
                              npm 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 here
                              npm 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::line
                              npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                              npm 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 captured
                              npm error    30 |         bool value = line.get_value();
                              npm error       |                      ^~~~
                              npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-default
                              npm 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 here
                              npm 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 captured
                              npm error    34 |                                                  { line.release(); });
                              npm error       |                                                    ^~~~
                              npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-default
                              npm 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 here
                              npm 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::line
                              npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                              npm 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::line
                              npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                              npm 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 captured
                              npm error    66 |         line.set_value(value); });
                              npm error       |         ^~~~
                              npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-default
                              npm 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 here
                              npm 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 captured
                              npm error    69 |                                                  { line.release(); });
                              npm error       |                                                    ^~~~
                              npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-default
                              npm 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 here
                              npm 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 type
                              npm error    81 |     gpiod::line line;
                              npm error       |            ^~~~
                              npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                              npm 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::line
                              npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                              npm 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::line
                              npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                              npm 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 captured
                              npm error   111 |         bool value = line.get_value();
                              npm error       |                      ^~~~
                              npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-default
                              npm 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 here
                              npm 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 captured
                              npm 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-default
                              npm error   124 |         [](uv_work_t *req)
                              npm error       |          ^
                              npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared here
                              npm 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_event
                              npm 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       |                                  servent
                              npm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declared
                              npm 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 type
                              npm error   168 |     gpiod::line line;
                              npm error       |            ^~~~
                              npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                              npm 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::line
                              npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                              npm 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::line
                              npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared here
                              npm 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 captured
                              npm error   264 |                 line.set_value(true);
                              npm error       |                 ^~~~
                              npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-default
                              npm error   221 |         [](uv_work_t *req)
                              npm error       |          ^
                              npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared here
                              npm error   213 |     data->line = line;
                              npm error       |                  ^~~~
                              npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not captured
                              npm error   278 |                 line.set_value(false);
                              npm error       |                 ^~~~
                              npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-default
                              npm error   221 |         [](uv_work_t *req)
                              npm error       |          ^
                              npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared here
                              npm 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 captured
                              npm error   328 |             line.release();
                              npm error       |             ^~~~
                              npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-default
                              npm error   324 |         [](uv_work_t *req, int status)
                              npm error       |          ^
                              npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared here
                              npm error   213 |     data->line = line;
                              npm error       |                  ^~~~
                              npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 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:219:23)
                              npm error gyp ERR! System Linux 6.12.75+rpt-rpi-v8
                              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 /opt/iobroker/node_modules/opengpio
                              npm error gyp ERR! node -v v22.22.2
                              npm error gyp ERR! node-gyp -v v11.5.0
                              npm error gyp ERR! not ok
                              npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2026-04-08T15_15_18_417Z-debug-0.log
                              host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1
                              

                              MOD-EDIT: Code in code-tags gesetzt!

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb zuletzt editiert von
                              #14

                              @airjk

                              Die Zeitzone richtig setzen.
                              Installier die Beta-Version des Adapters.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              1 Antwort Letzte Antwort
                              0

                              Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                              Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                              Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                              Registrieren Anmelden
                              Antworten
                              • In einem neuen Thema antworten
                              Anmelden zum Antworten
                              • Älteste zuerst
                              • Neuste zuerst
                              • Meiste Stimmen


                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              623

                              Online

                              32.8k

                              Benutzer

                              82.7k

                              Themen

                              1.3m

                              Beiträge
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                              ioBroker Community 2014-2025
                              logo
                              • Anmelden

                              • Du hast noch kein Konto? Registrieren

                              • Anmelden oder registrieren, um zu suchen
                              • Erster Beitrag
                                Letzter Beitrag
                              0
                              • Home
                              • Aktuell
                              • Tags
                              • Ungelesen 0
                              • Kategorien
                              • Unreplied
                              • Beliebt
                              • GitHub
                              • Docu
                              • Hilfe