Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • 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. Jeelink Adapter startet nicht mehr

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    21
    1
    943

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

Jeelink Adapter startet nicht mehr

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
53 Beiträge 14 Kommentatoren 6.4k Aufrufe 13 Watching
  • Ä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.
  • TepManT TepMan

    Sorry, der Post sollte hier landen: https://forum.iobroker.net/topic/44566/how-to-node-js-für-iobroker-richtig-updaten-2021-edition/150

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

    @tepman

    which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
    iobroker update -i
    iobroker stop 
    iobroker fix
    iobroker start
    

    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

    TepManT 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @tepman

      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
      iobroker update -i
      iobroker stop 
      iobroker fix
      iobroker start
      
      TepManT Offline
      TepManT Offline
      TepMan
      schrieb am zuletzt editiert von
      #4

      @thomas-braun said in Jeelink Adapter startet nicht mehr:

      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs

      Ausgaben der ersten Zeile:

      pi@raspi4:/ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v14.18.1
      v14.18.1
      6.14.15
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://phoscon.de/apt/deconz buster InRelease
      OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:4 https://repos.influxdata.com/debian buster InRelease
      OK:5 https://deb.nodesource.com/node_14.x buster InRelease
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Alle Pakete sind aktuell.
      OK:1 http://phoscon.de/apt/deconz buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:3 http://archive.raspberrypi.org/debian buster InRelease
      OK:4 https://repos.influxdata.com/debian buster InRelease
      OK:5 https://deb.nodesource.com/node_14.x buster InRelease
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Alle Pakete sind aktuell.
      nodejs:
        Installiert:           14.18.1-deb-1nodesource1
        Installationskandidat: 14.18.1-deb-1nodesource1
        Versionstabelle:
       *** 14.18.1-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      

      Ausgabe update -i:

      pi@raspi4:/ $ iobroker update -i
      Used repository: stable
      hash unchanged, use cached sources
      update done
      Adapter    "admin"         : 5.1.25   , installed 5.1.25
      Adapter    "alexa2"        : 3.11.2   , installed 3.11.2
      Adapter    "backitup"      : 2.2.2    , installed 2.2.2
      Adapter    "cloud"         : 4.1.0    , installed 4.1.0
      Adapter    "daswetter"     : 3.0.7    , installed 3.0.7
      Adapter    "deconz"        : 1.3.19   , installed 1.3.19
      Adapter    "discovery"     : 2.7.3    , installed 2.7.3
      Adapter    "flot"          : 1.10.7   , installed 1.10.7
      Adapter    "fritzdect"     : 2.1.15   , installed 2.1.15
      Adapter    "icons-addictive-flavour-png": 0.1.0   , installed 0.1.0
      Adapter    "icons-icons8"  : 0.0.1    , installed 0.0.1
      Adapter    "icons-ultimate-png": 1.0.1   , installed 1.0.1
      Adapter    "influxdb"      : 1.9.5    , installed 1.9.5
      Adapter    "info"          : 1.9.8    , installed 1.9.8
      Adapter    "iot"           : 1.8.24   , installed 1.8.24
      Adapter    "iqontrol"      : 1.8.2    , installed 1.8.2
      Adapter    "jarvis"        : 2.2.1    , installed 2.2.1
      Adapter    "javascript"    : 5.2.13   , installed 5.2.13
      Adapter    "jeelink"       : 0.1.3    , installed 0.1.3
      Controller "js-controller" : 3.3.18   , installed 3.3.18
      Adapter    "kodi"          : 2.0.8    , installed 2.0.8
      Adapter    "linkeddevices" : 1.4.3    , installed 1.4.3
      Adapter    "logparser"     : 1.1.0    , installed 1.1.0
      Adapter    "luftdaten"     : 1.0.3    , installed 1.0.3
      Adapter    "mobile"        : 1.0.1    , installed 1.0.1
      Adapter    "mqtt"          : 2.4.0    , installed 2.4.0
      Adapter    "ping"          : 1.5.0    , installed 1.5.0
      Adapter    "pushbullet"    : 0.0.11   , installed 0.0.11
      Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
      Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
      Adapter    "socketio"      : 3.1.4    , installed 3.1.4
      Adapter    "synology"      : 1.1.3    , installed 2.0.1
      Adapter    "tr-064"        : 4.2.14   , installed 4.2.14
      Adapter    "vis"           : 1.4.5    , installed 1.4.5
      Adapter    "vis-canvas-gauges": 0.1.5   , installed 0.1.5
      Adapter    "vis-fancyswitch": 1.1.0   , installed 1.1.0
      Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.7
      Adapter    "vis-jqui-mfd"  : 1.0.12   , installed 1.0.12
      Adapter    "vis-timeandweather": 1.1.7   , installed 1.1.7
      Adapter    "vis-weather"   : 2.5.3    , installed 2.5.3
      Adapter    "web"           : 3.4.9    , installed 3.4.9
      

      Fix ist durchgelaufen, Jeelink läuft nach wie vor nicht, gleicher Fehler:

      host.raspi4
      2021-11-20 11:26:03.225	error	instance system.adapter.jeelink.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.raspi4
      2021-11-20 11:26:03.224	error	Caught by controller[0]: }
      host.raspi4
      2021-11-20 11:26:03.224	error	Caught by controller[0]: ]
      host.raspi4
      2021-11-20 11:26:03.224	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/lib/binding/node-v83-linux-arm/bindings.node'
      host.raspi4
      2021-11-20 11:26:03.224	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/compiled/14.18.1/linux/arm/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/default/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/Release/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/out/Release/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/Debug/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/out/Debug/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/Debug/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.221	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/bindings.node',
      host.raspi4
      2021-11-20 11:26:03.221	error	Caught by controller[0]: tries: [
      host.raspi4
      2021-11-20 11:26:03.221	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) {
      host.raspi4
      2021-11-20 11:26:03.221	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/index.js:14:22)
      host.raspi4
      2021-11-20 11:26:03.220	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
      host.raspi4
      2021-11-20 11:26:03.220	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
      host.raspi4
      2021-11-20 11:26:03.220	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
      host.raspi4
      2021-11-20 11:26:03.220	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
      host.raspi4
      2021-11-20 11:26:03.219	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
      host.raspi4
      2021-11-20 11:26:03.219	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
      host.raspi4
      2021-11-20 11:26:03.219	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:1:36)
      host.raspi4
      2021-11-20 11:26:03.219	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:126:9)
      host.raspi4
      2021-11-20 11:26:03.218	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/lib/binding/node-v83-linux-arm/bindings.node
      host.raspi4
      2021-11-20 11:26:03.218	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node
      host.raspi4
      2021-11-20 11:26:03.218	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node
      host.raspi4
      2021-11-20 11:26:03.218	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node
      host.raspi4
      2021-11-20 11:26:03.217	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/compiled/14.18.1/linux/arm/bindings.node
      host.raspi4
      2021-11-20 11:26:03.217	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/default/bindings.node
      host.raspi4
      2021-11-20 11:26:03.217	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/Release/bindings.node
      host.raspi4
      2021-11-20 11:26:03.217	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/out/Release/bindings.node
      host.raspi4
      2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/Debug/bindings.node
      host.raspi4
      2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/out/Debug/bindings.node
      host.raspi4
      2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node
      host.raspi4
      2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/Debug/bindings.node
      host.raspi4
      2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/bindings.node
      host.raspi4
      2021-11-20 11:26:03.215	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
      host.raspi4
      2021-11-20 11:26:03.215	error	Caught by controller[0]: ^
      host.raspi4
      2021-11-20 11:26:03.215	error	Caught by controller[0]: throw err;
      host.raspi4
      2021-11-20 11:26:03.214	error	Caught by controller[0]: /opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:135
      
      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • TepManT TepMan

        @thomas-braun said in Jeelink Adapter startet nicht mehr:

        which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs

        Ausgaben der ersten Zeile:

        pi@raspi4:/ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v14.18.1
        v14.18.1
        6.14.15
        OK:1 http://archive.raspberrypi.org/debian buster InRelease
        OK:2 http://phoscon.de/apt/deconz buster InRelease
        OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
        OK:4 https://repos.influxdata.com/debian buster InRelease
        OK:5 https://deb.nodesource.com/node_14.x buster InRelease
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Alle Pakete sind aktuell.
        OK:1 http://phoscon.de/apt/deconz buster InRelease
        OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
        OK:3 http://archive.raspberrypi.org/debian buster InRelease
        OK:4 https://repos.influxdata.com/debian buster InRelease
        OK:5 https://deb.nodesource.com/node_14.x buster InRelease
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Alle Pakete sind aktuell.
        nodejs:
          Installiert:           14.18.1-deb-1nodesource1
          Installationskandidat: 14.18.1-deb-1nodesource1
          Versionstabelle:
         *** 14.18.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                100 /var/lib/dpkg/status
             10.24.0~dfsg-1~deb10u1 500
                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        

        Ausgabe update -i:

        pi@raspi4:/ $ iobroker update -i
        Used repository: stable
        hash unchanged, use cached sources
        update done
        Adapter    "admin"         : 5.1.25   , installed 5.1.25
        Adapter    "alexa2"        : 3.11.2   , installed 3.11.2
        Adapter    "backitup"      : 2.2.2    , installed 2.2.2
        Adapter    "cloud"         : 4.1.0    , installed 4.1.0
        Adapter    "daswetter"     : 3.0.7    , installed 3.0.7
        Adapter    "deconz"        : 1.3.19   , installed 1.3.19
        Adapter    "discovery"     : 2.7.3    , installed 2.7.3
        Adapter    "flot"          : 1.10.7   , installed 1.10.7
        Adapter    "fritzdect"     : 2.1.15   , installed 2.1.15
        Adapter    "icons-addictive-flavour-png": 0.1.0   , installed 0.1.0
        Adapter    "icons-icons8"  : 0.0.1    , installed 0.0.1
        Adapter    "icons-ultimate-png": 1.0.1   , installed 1.0.1
        Adapter    "influxdb"      : 1.9.5    , installed 1.9.5
        Adapter    "info"          : 1.9.8    , installed 1.9.8
        Adapter    "iot"           : 1.8.24   , installed 1.8.24
        Adapter    "iqontrol"      : 1.8.2    , installed 1.8.2
        Adapter    "jarvis"        : 2.2.1    , installed 2.2.1
        Adapter    "javascript"    : 5.2.13   , installed 5.2.13
        Adapter    "jeelink"       : 0.1.3    , installed 0.1.3
        Controller "js-controller" : 3.3.18   , installed 3.3.18
        Adapter    "kodi"          : 2.0.8    , installed 2.0.8
        Adapter    "linkeddevices" : 1.4.3    , installed 1.4.3
        Adapter    "logparser"     : 1.1.0    , installed 1.1.0
        Adapter    "luftdaten"     : 1.0.3    , installed 1.0.3
        Adapter    "mobile"        : 1.0.1    , installed 1.0.1
        Adapter    "mqtt"          : 2.4.0    , installed 2.4.0
        Adapter    "ping"          : 1.5.0    , installed 1.5.0
        Adapter    "pushbullet"    : 0.0.11   , installed 0.0.11
        Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
        Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
        Adapter    "socketio"      : 3.1.4    , installed 3.1.4
        Adapter    "synology"      : 1.1.3    , installed 2.0.1
        Adapter    "tr-064"        : 4.2.14   , installed 4.2.14
        Adapter    "vis"           : 1.4.5    , installed 1.4.5
        Adapter    "vis-canvas-gauges": 0.1.5   , installed 0.1.5
        Adapter    "vis-fancyswitch": 1.1.0   , installed 1.1.0
        Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.7
        Adapter    "vis-jqui-mfd"  : 1.0.12   , installed 1.0.12
        Adapter    "vis-timeandweather": 1.1.7   , installed 1.1.7
        Adapter    "vis-weather"   : 2.5.3    , installed 2.5.3
        Adapter    "web"           : 3.4.9    , installed 3.4.9
        

        Fix ist durchgelaufen, Jeelink läuft nach wie vor nicht, gleicher Fehler:

        host.raspi4
        2021-11-20 11:26:03.225	error	instance system.adapter.jeelink.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        host.raspi4
        2021-11-20 11:26:03.224	error	Caught by controller[0]: }
        host.raspi4
        2021-11-20 11:26:03.224	error	Caught by controller[0]: ]
        host.raspi4
        2021-11-20 11:26:03.224	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/lib/binding/node-v83-linux-arm/bindings.node'
        host.raspi4
        2021-11-20 11:26:03.224	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/compiled/14.18.1/linux/arm/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/default/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.223	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/Release/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/out/Release/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/Debug/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/out/Debug/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.222	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/Debug/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.221	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/bindings.node',
        host.raspi4
        2021-11-20 11:26:03.221	error	Caught by controller[0]: tries: [
        host.raspi4
        2021-11-20 11:26:03.221	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) {
        host.raspi4
        2021-11-20 11:26:03.221	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/index.js:14:22)
        host.raspi4
        2021-11-20 11:26:03.220	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
        host.raspi4
        2021-11-20 11:26:03.220	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
        host.raspi4
        2021-11-20 11:26:03.220	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
        host.raspi4
        2021-11-20 11:26:03.220	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
        host.raspi4
        2021-11-20 11:26:03.219	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
        host.raspi4
        2021-11-20 11:26:03.219	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
        host.raspi4
        2021-11-20 11:26:03.219	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:1:36)
        host.raspi4
        2021-11-20 11:26:03.219	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:126:9)
        host.raspi4
        2021-11-20 11:26:03.218	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/lib/binding/node-v83-linux-arm/bindings.node
        host.raspi4
        2021-11-20 11:26:03.218	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node
        host.raspi4
        2021-11-20 11:26:03.218	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node
        host.raspi4
        2021-11-20 11:26:03.218	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node
        host.raspi4
        2021-11-20 11:26:03.217	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/compiled/14.18.1/linux/arm/bindings.node
        host.raspi4
        2021-11-20 11:26:03.217	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/default/bindings.node
        host.raspi4
        2021-11-20 11:26:03.217	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/Release/bindings.node
        host.raspi4
        2021-11-20 11:26:03.217	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/out/Release/bindings.node
        host.raspi4
        2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/Debug/bindings.node
        host.raspi4
        2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/out/Debug/bindings.node
        host.raspi4
        2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node
        host.raspi4
        2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/Debug/bindings.node
        host.raspi4
        2021-11-20 11:26:03.216	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/bindings.node
        host.raspi4
        2021-11-20 11:26:03.215	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
        host.raspi4
        2021-11-20 11:26:03.215	error	Caught by controller[0]: ^
        host.raspi4
        2021-11-20 11:26:03.215	error	Caught by controller[0]: throw err;
        host.raspi4
        2021-11-20 11:26:03.214	error	Caught by controller[0]: /opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:135
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von Thomas Braun
        #5

        @tepman

        Deinistallier den Adapter mal komplett und dann ziehst du den (nach einem Neustart) wieder rein.

        Ich vermute da muss der Maintainer sonst nochmal in seine dependencies schauen. Mach ein Issue auf.

        Der Adapter ist auch schon 'ewig' nicht mehr angepasst worden:

        jeelink
        github:	0.1.3
        latest:	0.1.3 for 27 months
        stable:	0.1.3 for 27 months
        

        Der braucht vermutlich etwas Liebe.

        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

        TepManT 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @tepman

          Deinistallier den Adapter mal komplett und dann ziehst du den (nach einem Neustart) wieder rein.

          Ich vermute da muss der Maintainer sonst nochmal in seine dependencies schauen. Mach ein Issue auf.

          Der Adapter ist auch schon 'ewig' nicht mehr angepasst worden:

          jeelink
          github:	0.1.3
          latest:	0.1.3 for 27 months
          stable:	0.1.3 for 27 months
          

          Der braucht vermutlich etwas Liebe.

          TepManT Offline
          TepManT Offline
          TepMan
          schrieb am zuletzt editiert von
          #6

          @thomas-braun lässt sich nicht mehr installieren:

          $ iobroker add jeelink auto --host raspi4
          
          NPM version: 6.14.15
          
          npm install iobroker.jeelink@0.1.3 --loglevel error --prefix "/opt/iobroker" (System call)
          
          In file included from ../src/./serialport.h:6,
          
          from ../src/serialport.cpp:1:../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
          
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen); ^~~~~~~~~~~~~
          
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
          
          uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate); ^~~~~~~~~~~~~~~
          
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose); ^~~~~~~~~~~~~~
          
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush); ^~~~~~~~~~~~~~
          
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
          
          ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet); ^~~~~~~~~~~~
          
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
          
          ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet); ^~~~~~~~~~~~
          
          ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
          
          ../src/serialport.cpp:329:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’ results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts)); ^In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
          
          from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
          
          ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’ results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr)); ^In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
          
          from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
          
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
          
          ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’ results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd)); ^In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
          
          from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
          
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
          
          ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate); ^~~~~~~~~~~~~~~~~~~~
          
          ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:378:106: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’ results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate)); ^
          
          In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67, from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^~~
          
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
          
          ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain); ^~~~~~~~~~~~~~
          
          ../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) { ^
          
          ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
          
          SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^
          
          In file included from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^
          
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
          
          make: *** [bindings.target.mk:112: Release/obj.target/bindings/src/serialport.o] Fehler 1
          
          gyp ERR! build error
          
          gyp ERR! stack Error: `make` failed with exit code: 2
          
          gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:400:28)
          
          gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.1gyp ERR! node-gyp -v v5.1.0
          
          gyp ERR! not ok
          
          npm ERR! code ELIFECYCLEnpm ERR! errno 1
          
          npm ERR! @serialport/bindings@2.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the @serialport/bindings@2.0.8 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
          
          npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-11-20T10_42_23_958Z-debug.log
          
          host.raspi4 Cannot install iobroker.jeelink@0.1.3: 1
          
          ERROR: Process exited with code 25
          

          So ein Mist...

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • TepManT TepMan

            @thomas-braun lässt sich nicht mehr installieren:

            $ iobroker add jeelink auto --host raspi4
            
            NPM version: 6.14.15
            
            npm install iobroker.jeelink@0.1.3 --loglevel error --prefix "/opt/iobroker" (System call)
            
            In file included from ../src/./serialport.h:6,
            
            from ../src/serialport.cpp:1:../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
            
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen); ^~~~~~~~~~~~~
            
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
            
            uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate); ^~~~~~~~~~~~~~~
            
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose); ^~~~~~~~~~~~~~
            
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush); ^~~~~~~~~~~~~~
            
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
            
            ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet); ^~~~~~~~~~~~
            
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
            
            ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet); ^~~~~~~~~~~~
            
            ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
            
            ../src/serialport.cpp:329:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’ results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts)); ^In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
            
            from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
            
            ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’ results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr)); ^In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
            
            from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided
            
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
            
            ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’ results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd)); ^In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
            
            from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
            
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
            
            ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate); ^~~~~~~~~~~~~~~~~~~~
            
            ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:378:106: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’ results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate)); ^
            
            In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67, from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, ^~~
            
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^~~/home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided
            
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain); ^~~~~~~~~~~~~~
            
            ../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) { ^
            
            ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
            
            SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^
            
            In file included from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^
            
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
            
            make: *** [bindings.target.mk:112: Release/obj.target/bindings/src/serialport.o] Fehler 1
            
            gyp ERR! build error
            
            gyp ERR! stack Error: `make` failed with exit code: 2
            
            gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack at ChildProcess.emit (events.js:400:28)
            
            gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)gyp ERR! System Linux 5.10.63-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindingsgyp ERR! node -v v14.18.1gyp ERR! node-gyp -v v5.1.0
            
            gyp ERR! not ok
            
            npm ERR! code ELIFECYCLEnpm ERR! errno 1
            
            npm ERR! @serialport/bindings@2.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the @serialport/bindings@2.0.8 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-11-20T10_42_23_958Z-debug.log
            
            host.raspi4 Cannot install iobroker.jeelink@0.1.3: 1
            
            ERROR: Process exited with code 25
            

            So ein Mist...

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

            @tepman @foxthefox

            Wenn es dich tröstet, bei mir kann man den auch nicht (mehr?) auf Anhieb installieren:

            echad@chet:/opt/iobroker $ iobroker add jeelink
            NPM version: 8.1.2
            npm install iobroker.jeelink@0.1.3 --loglevel error --prefix "/opt/iobroker" (System call)
            npm ERR! code 1
            npm ERR! path /opt/iobroker/node_modules/@serialport/bindings
            npm ERR! command failed
            npm ERR! command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
            npm ERR! make: Entering directory '/opt/iobroker/node_modules/@serialport/bindings/build'
            npm ERR!   CXX(target) Release/obj.target/bindings/src/serialport.o
            npm ERR! make: Leaving directory '/opt/iobroker/node_modules/@serialport/bindings/build'
            npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
            npm ERR! ../src/serialport.cpp:78:51: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
            npm ERR!    78 |   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
            npm ERR!       |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
            npm ERR! ../src/serialport.cpp:135:53: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
            npm ERR!   135 |   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
            npm ERR!       |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
            npm ERR! ../src/serialport.cpp:175:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
            npm ERR!   175 |   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
            npm ERR!       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
            npm ERR! ../src/serialport.cpp:215:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
            npm ERR!   215 |   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
            npm ERR!       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
            npm ERR! ../src/serialport.cpp:270:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
            npm ERR!   270 |   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
            npm ERR!       |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
            npm ERR! ../src/serialport.cpp:314:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
            npm ERR!   314 |   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
            npm ERR!       |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            npm ERR! ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
            npm ERR! ../src/serialport.cpp:329:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
            npm ERR!   329 |     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
            npm ERR!       |                                                                                                ^
            npm ERR! In file included from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-array-buffer.h:13,
            npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8.h:25,
            npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:63,
            npm ERR!                  from ../../../nan/nan.h:58,
            npm ERR!                  from ../src/./serialport.h:6,
            npm ERR!                  from ../src/serialport.cpp:1:
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
            npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
            npm ERR!       |                                     ^~~
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
            npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
            npm ERR!       |                                     ^~~
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
            npm ERR! ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
            npm ERR!   330 |     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
            npm ERR!       |                                                                                                ^
            npm ERR! In file included from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-array-buffer.h:13,
            npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8.h:25,
            npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:63,
            npm ERR!                  from ../../../nan/nan.h:58,
            npm ERR!                  from ../src/./serialport.h:6,
            npm ERR!                  from ../src/serialport.cpp:1:
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
            npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
            npm ERR!       |                                     ^~~
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
            npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
            npm ERR!       |                                     ^~~
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
            npm ERR! ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
            npm ERR!   331 |     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
            npm ERR!       |                                                                                                ^
            npm ERR! In file included from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-array-buffer.h:13,
            npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8.h:25,
            npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:63,
            npm ERR!                  from ../../../nan/nan.h:58,
            npm ERR!                  from ../src/./serialport.h:6,
            npm ERR!                  from ../src/serialport.cpp:1:
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
            npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
            npm ERR!       |                                     ^~~
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
            npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
            npm ERR!       |                                     ^~~
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
            npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
            npm ERR! ../src/serialport.cpp:363:58: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
            npm ERR!   363 |   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
            npm ERR!       |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            npm ERR! ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
            npm ERR! ../src/serialport.cpp:378:106: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
            npm ERR!   378 |     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
            npm ERR!       |                                                                                                          ^
            npm ERR! In file included from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-array-buffer.h:13,
            npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8.h:25,
            npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:63,
            npm ERR!                  from ../../../nan/nan.h:58,
            npm ERR!                  from ../src/./serialport.h:6,
            npm ERR!                  from ../src/serialport.cpp:1:
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
            npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
            npm ERR!       |                                     ^~~
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
            npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
            npm ERR!       |                                     ^~~
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
            npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
            npm ERR! ../src/serialport.cpp:409:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
            npm ERR!   409 |   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
            npm ERR!       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            npm ERR! ../src/serialport.cpp: At global scope:
            npm ERR! ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
            npm ERR!   430 | SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
            npm ERR!       |                            ^
            npm ERR! ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
            npm ERR!   449 | SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
            npm ERR!       |                              ^
            npm ERR! In file included from ../../../nan/nan.h:58,
            npm ERR!                  from ../src/./serialport.h:6,
            npm ERR!                  from ../src/serialport.cpp:1:
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:843:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
            npm ERR!   843 |       (node::addon_register_func) (regfunc),                          \
            npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:877:3: note: in expansion of macro ‘NODE_MODULE_X’
            npm ERR!   877 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
            npm ERR!       |   ^~~~~~~~~~~~~
            npm ERR! ../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’
            npm ERR!   483 | NODE_MODULE(serialport, init);
            npm ERR!       | ^~~~~~~~~~~
            npm ERR! make: *** [bindings.target.mk:114: Release/obj.target/bindings/src/serialport.o] Error 1
            npm ERR! gyp ERR! build error
            npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
            npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
            npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
            npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
            npm ERR! gyp ERR! System Linux 5.10.63-v8+
            npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
            npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings
            npm ERR! gyp ERR! node -v v17.1.0
            npm ERR! gyp ERR! node-gyp -v v8.3.0
            npm ERR! gyp ERR! not ok
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2021-11-20T12_28_05_361Z-debug.log
            host.chet Cannot install iobroker.jeelink@0.1.3: 1
            

            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

            TepManT 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @tepman @foxthefox

              Wenn es dich tröstet, bei mir kann man den auch nicht (mehr?) auf Anhieb installieren:

              echad@chet:/opt/iobroker $ iobroker add jeelink
              NPM version: 8.1.2
              npm install iobroker.jeelink@0.1.3 --loglevel error --prefix "/opt/iobroker" (System call)
              npm ERR! code 1
              npm ERR! path /opt/iobroker/node_modules/@serialport/bindings
              npm ERR! command failed
              npm ERR! command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
              npm ERR! make: Entering directory '/opt/iobroker/node_modules/@serialport/bindings/build'
              npm ERR!   CXX(target) Release/obj.target/bindings/src/serialport.o
              npm ERR! make: Leaving directory '/opt/iobroker/node_modules/@serialport/bindings/build'
              npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
              npm ERR! ../src/serialport.cpp:78:51: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
              npm ERR!    78 |   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
              npm ERR!       |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
              npm ERR! ../src/serialport.cpp:135:53: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
              npm ERR!   135 |   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
              npm ERR!       |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
              npm ERR! ../src/serialport.cpp:175:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
              npm ERR!   175 |   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
              npm ERR!       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
              npm ERR! ../src/serialport.cpp:215:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
              npm ERR!   215 |   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
              npm ERR!       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
              npm ERR! ../src/serialport.cpp:270:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
              npm ERR!   270 |   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
              npm ERR!       |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
              npm ERR! ../src/serialport.cpp:314:50: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
              npm ERR!   314 |   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
              npm ERR!       |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              npm ERR! ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
              npm ERR! ../src/serialport.cpp:329:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
              npm ERR!   329 |     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
              npm ERR!       |                                                                                                ^
              npm ERR! In file included from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-array-buffer.h:13,
              npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8.h:25,
              npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:63,
              npm ERR!                  from ../../../nan/nan.h:58,
              npm ERR!                  from ../src/./serialport.h:6,
              npm ERR!                  from ../src/serialport.cpp:1:
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
              npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
              npm ERR!       |                                     ^~~
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
              npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
              npm ERR!       |                                     ^~~
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
              npm ERR! ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
              npm ERR!   330 |     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
              npm ERR!       |                                                                                                ^
              npm ERR! In file included from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-array-buffer.h:13,
              npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8.h:25,
              npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:63,
              npm ERR!                  from ../../../nan/nan.h:58,
              npm ERR!                  from ../src/./serialport.h:6,
              npm ERR!                  from ../src/serialport.cpp:1:
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
              npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
              npm ERR!       |                                     ^~~
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
              npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
              npm ERR!       |                                     ^~~
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
              npm ERR! ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
              npm ERR!   331 |     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
              npm ERR!       |                                                                                                ^
              npm ERR! In file included from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-array-buffer.h:13,
              npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8.h:25,
              npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:63,
              npm ERR!                  from ../../../nan/nan.h:58,
              npm ERR!                  from ../src/./serialport.h:6,
              npm ERR!                  from ../src/serialport.cpp:1:
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
              npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
              npm ERR!       |                                     ^~~
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
              npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
              npm ERR!       |                                     ^~~
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
              npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
              npm ERR! ../src/serialport.cpp:363:58: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
              npm ERR!   363 |   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
              npm ERR!       |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              npm ERR! ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
              npm ERR! ../src/serialport.cpp:378:106: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
              npm ERR!   378 |     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
              npm ERR!       |                                                                                                          ^
              npm ERR! In file included from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-array-buffer.h:13,
              npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8.h:25,
              npm ERR!                  from /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:63,
              npm ERR!                  from ../../../nan/nan.h:58,
              npm ERR!                  from ../src/./serialport.h:6,
              npm ERR!                  from ../src/serialport.cpp:1:
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
              npm ERR!   244 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
              npm ERR!       |                                     ^~~
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:244:37: note:   candidate expects 3 arguments, 2 provided
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
              npm ERR!   247 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
              npm ERR!       |                                     ^~~
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/v8-object.h:247:37: note:   candidate expects 3 arguments, 2 provided
              npm ERR! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
              npm ERR! ../src/serialport.cpp:409:52: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
              npm ERR!   409 |   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
              npm ERR!       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              npm ERR! ../src/serialport.cpp: At global scope:
              npm ERR! ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
              npm ERR!   430 | SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
              npm ERR!       |                            ^
              npm ERR! ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
              npm ERR!   449 | SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
              npm ERR!       |                              ^
              npm ERR! In file included from ../../../nan/nan.h:58,
              npm ERR!                  from ../src/./serialport.h:6,
              npm ERR!                  from ../src/serialport.cpp:1:
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:843:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
              npm ERR!   843 |       (node::addon_register_func) (regfunc),                          \
              npm ERR!       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              npm ERR! /home/iobroker/.cache/node-gyp/17.1.0/include/node/node.h:877:3: note: in expansion of macro ‘NODE_MODULE_X’
              npm ERR!   877 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
              npm ERR!       |   ^~~~~~~~~~~~~
              npm ERR! ../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’
              npm ERR!   483 | NODE_MODULE(serialport, init);
              npm ERR!       | ^~~~~~~~~~~
              npm ERR! make: *** [bindings.target.mk:114: Release/obj.target/bindings/src/serialport.o] Error 1
              npm ERR! gyp ERR! build error
              npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
              npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
              npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
              npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
              npm ERR! gyp ERR! System Linux 5.10.63-v8+
              npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@serialport/bindings
              npm ERR! gyp ERR! node -v v17.1.0
              npm ERR! gyp ERR! node-gyp -v v8.3.0
              npm ERR! gyp ERR! not ok
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2021-11-20T12_28_05_361Z-debug.log
              host.chet Cannot install iobroker.jeelink@0.1.3: 1
              
              TepManT Offline
              TepManT Offline
              TepMan
              schrieb am zuletzt editiert von
              #8

              @thomas-braun danke, da fühle ich mich dann nicht so ganz allein... ;-)

              Ist schade, weil meine Heizungsregelung da dran hängt, der JeeLink und die TFA Sensoren sind halt super stabil und zuverlässig. Aber vielleicht wirft @foxthefox nochmal einen Blick auf den Adapter.

              Thomas BraunT 1 Antwort Letzte Antwort
              1
              • TepManT TepMan

                @thomas-braun danke, da fühle ich mich dann nicht so ganz allein... ;-)

                Ist schade, weil meine Heizungsregelung da dran hängt, der JeeLink und die TFA Sensoren sind halt super stabil und zuverlässig. Aber vielleicht wirft @foxthefox nochmal einen Blick auf den Adapter.

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

                @tepman sagte in Jeelink Adapter startet nicht mehr:

                Dann bleib vorerst auf node12.
                Foxthefox scheint nicht mehr großartig aktiv zu sein. Bedeutet vermutlich für den Adapter jeelink nichts gutes.

                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

                TepManT B 2 Antworten Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @tepman sagte in Jeelink Adapter startet nicht mehr:

                  Dann bleib vorerst auf node12.
                  Foxthefox scheint nicht mehr großartig aktiv zu sein. Bedeutet vermutlich für den Adapter jeelink nichts gutes.

                  TepManT Offline
                  TepManT Offline
                  TepMan
                  schrieb am zuletzt editiert von
                  #10

                  @thomas-braun nein, downgraden tue ich jetzt nicht mehr. Verschiebt das Problem ja auch nur. Werde die Sensoren vermutlich gegen Zigbees tauschen.

                  B 2 Antworten Letzte Antwort
                  0
                  • TepManT TepMan

                    @thomas-braun nein, downgraden tue ich jetzt nicht mehr. Verschiebt das Problem ja auch nur. Werde die Sensoren vermutlich gegen Zigbees tauschen.

                    B Offline
                    B Offline
                    Berchemer
                    schrieb am zuletzt editiert von
                    #11

                    @tepman sagte in Jeelink Adapter startet nicht mehr:

                    @thomas-braun nein, downgraden tue ich jetzt nicht mehr. Verschiebt das Problem ja auch nur.

                    Will ich eigentlich auch nicht, nur stand da doch unter richtig Updaten und NodeJS der Hinweis, dass man im Zusammenhang mit Serialport:

                    Die einfachste Option ist es dann manuell im richtigen Verzeichnis neu zu bauen.

                    In dem Fall das Verzeichenis mit "bindings" suchen - oben ist das /opt/iobroker/node_modules/serialport/node_modules/bindings ... bei neueren Versionen kann es auch etwas wie /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings sein.

                    Dann in dieses Verzeichnis wechseln und npm install --production ausführen. Danach den Adapter nochmal sneu starten, das sollte dann tun.

                    Was wäre denn das richtige Verzeichnis bei folgenden Fehlermeldungen des JeeLink:

                    2021-11-21 12:03:51.760	error	instance system.adapter.jeelink.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                    2021-11-21 12:03:51.760	error	Caught by controller[0]: }
                    2021-11-21 12:03:51.760	error	Caught by controller[0]: ]
                    2021-11-21 12:03:51.760	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/lib/binding/node-v83-linux-x64/bindings.node'
                    2021-11-21 12:03:51.760	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node',
                    2021-11-21 12:03:51.760	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node',
                    2021-11-21 12:03:51.760	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node',
                    2021-11-21 12:03:51.760	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/compiled/14.18.1/linux/x64/bindings.node',
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/build/default/bindings.node',
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/Release/bindings.node',
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/out/Release/bindings.node',
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/Debug/bindings.node',
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/out/Debug/bindings.node',
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/build/Release/bindings.node',
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/build/Debug/bindings.node',
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/build/bindings.node',
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: tries: [
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) {
                    2021-11-21 12:03:51.759	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/lib/index.js:14:22)
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:93:18)
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/lib/linux.js:1:36)
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/lib/binding/node-v83-linux-x64/bindings.node
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node
                    2021-11-21 12:03:51.758	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/compiled/14.18.1/linux/x64/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/build/default/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/Release/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/out/Release/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/Debug/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/out/Debug/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/build/Release/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/build/Debug/bindings.node
                    2021-11-21 12:03:51.757	error	Caught by controller[0]: → /opt/iobroker/node_modules/iobroker.jeelink/node_modules/@serialport/bindings/build/bindings.node
                    2021-11-21 12:03:51.756	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
                    2021-11-21 12:03:51.756	error	Caught by controller[0]: ^
                    2021-11-21 12:03:51.756	error	Caught by controller[0]: throw err;
                    2021-11-21 12:03:51.755	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
                    

                    in welches man gehen und den Befehl npm install --production ausführen sollte???

                    1 Antwort Letzte Antwort
                    0
                    • TepManT TepMan

                      @thomas-braun nein, downgraden tue ich jetzt nicht mehr. Verschiebt das Problem ja auch nur. Werde die Sensoren vermutlich gegen Zigbees tauschen.

                      B Offline
                      B Offline
                      Berchemer
                      schrieb am zuletzt editiert von Berchemer
                      #12

                      @tepman sagte in Jeelink Adapter startet nicht mehr:

                      Werde die Sensoren vermutlich gegen Zigbees tauschen.

                      Rein interessehalber... Gegen welche?

                      1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @tepman sagte in Jeelink Adapter startet nicht mehr:

                        Dann bleib vorerst auf node12.
                        Foxthefox scheint nicht mehr großartig aktiv zu sein. Bedeutet vermutlich für den Adapter jeelink nichts gutes.

                        B Offline
                        B Offline
                        Berchemer
                        schrieb am zuletzt editiert von Berchemer
                        #13

                        @thomas-braun sagte in Jeelink Adapter startet nicht mehr:

                        @tepman sagte in Jeelink Adapter startet nicht mehr:

                        Dann bleib vorerst auf node12.
                        Foxthefox scheint nicht mehr großartig aktiv zu sein. Bedeutet vermutlich für den Adapter jeelink nichts gutes.

                        @foxthefox
                        Hatte auch schon versucht auf Github ein Issue aufzumachen, aber das scheint bei Jeelink nicht aktiviert zu sein. Oder habe ich mich völlig verguckt???

                        Kann denn sonst Jemand was mit den Fehlermeldungen anfangen und ggf. eine quick&dirty-Lösung anbieten, bis sich Jemand findet, der sich wieder des JeeLink-Adapters annimmt?

                        Irgendwie möchte ich die vorhandenen über 20 Sensoren nicht gegen Andere austauschen müssen :-(

                        Chris76eC 1 Antwort Letzte Antwort
                        0
                        • B Berchemer

                          @thomas-braun sagte in Jeelink Adapter startet nicht mehr:

                          @tepman sagte in Jeelink Adapter startet nicht mehr:

                          Dann bleib vorerst auf node12.
                          Foxthefox scheint nicht mehr großartig aktiv zu sein. Bedeutet vermutlich für den Adapter jeelink nichts gutes.

                          @foxthefox
                          Hatte auch schon versucht auf Github ein Issue aufzumachen, aber das scheint bei Jeelink nicht aktiviert zu sein. Oder habe ich mich völlig verguckt???

                          Kann denn sonst Jemand was mit den Fehlermeldungen anfangen und ggf. eine quick&dirty-Lösung anbieten, bis sich Jemand findet, der sich wieder des JeeLink-Adapters annimmt?

                          Irgendwie möchte ich die vorhandenen über 20 Sensoren nicht gegen Andere austauschen müssen :-(

                          Chris76eC Online
                          Chris76eC Online
                          Chris76e
                          schrieb am zuletzt editiert von
                          #14

                          @berchemer

                          habe auch 10 Sensoren, wenn es keine andere Lösung gibt werde ich auf einen Raspberry Pi wieder FHEM drauf machen und die Sensoren über den FHEM Adapter einbinden.

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • Chris76eC Chris76e

                            @berchemer

                            habe auch 10 Sensoren, wenn es keine andere Lösung gibt werde ich auf einen Raspberry Pi wieder FHEM drauf machen und die Sensoren über den FHEM Adapter einbinden.

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

                            @chris76e

                            Bleib doch zunächst mal auf node12. Da muss man ja noch nicht von runterspringen. Bis das erforderlich wird hat sich vermutlich bei dem Adapter schon was getan.

                            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

                            Chris76eC 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @chris76e

                              Bleib doch zunächst mal auf node12. Da muss man ja noch nicht von runterspringen. Bis das erforderlich wird hat sich vermutlich bei dem Adapter schon was getan.

                              Chris76eC Online
                              Chris76eC Online
                              Chris76e
                              schrieb am zuletzt editiert von
                              #16

                              @thomas-braun

                              bin ja schon auf node14, kann man einfach wieder zurück auf die 12er version?

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • Chris76eC Chris76e

                                @thomas-braun

                                bin ja schon auf node14, kann man einfach wieder zurück auf die 12er version?

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

                                @chris76e
                                Klar. Schau in meiner Signatur, da steht drin wie man es macht.

                                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

                                rolandmR B 2 Antworten Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @chris76e
                                  Klar. Schau in meiner Signatur, da steht drin wie man es macht.

                                  rolandmR Offline
                                  rolandmR Offline
                                  rolandm
                                  schrieb am zuletzt editiert von
                                  #18

                                  @foxthefox
                                  Ich hätte auch gerne wieder einen funktionalen jeelink Adapter

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • rolandmR rolandm

                                    @foxthefox
                                    Ich hätte auch gerne wieder einen funktionalen jeelink Adapter

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

                                    @rolandm
                                    War
                                    ZULETZT ONLINE 19. MAI 2021

                                    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
                                    • Thomas BraunT Thomas Braun

                                      @chris76e
                                      Klar. Schau in meiner Signatur, da steht drin wie man es macht.

                                      B Offline
                                      B Offline
                                      Berchemer
                                      schrieb am zuletzt editiert von Berchemer
                                      #20

                                      @thomas-braun sagte in Jeelink Adapter startet nicht mehr:

                                      @chris76e
                                      Klar. Schau in meiner Signatur, da steht drin wie man es macht.

                                      Ganz verstanden habe ich es nicht. Früher stand immer dabei, dass man die alte Node komplett deinstallieren sollte. Das Vorgehen finde ich in den neueren Anleitungen nicht mehr.

                                      Reicht jetzt einfach bei installiertem 14er die Eingabe von unten stehenden Befehlen, wie es in den neueren Anleitungen steht und die 14er ist durch die 12er ersetzt???

                                      curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
                                      sudo apt-get install -y nodejs
                                      
                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • B Berchemer

                                        @thomas-braun sagte in Jeelink Adapter startet nicht mehr:

                                        @chris76e
                                        Klar. Schau in meiner Signatur, da steht drin wie man es macht.

                                        Ganz verstanden habe ich es nicht. Früher stand immer dabei, dass man die alte Node komplett deinstallieren sollte. Das Vorgehen finde ich in den neueren Anleitungen nicht mehr.

                                        Reicht jetzt einfach bei installiertem 14er die Eingabe von unten stehenden Befehlen, wie es in den neueren Anleitungen steht und die 14er ist durch die 12er ersetzt???

                                        curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
                                        sudo apt-get install -y nodejs
                                        
                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von Thomas Braun
                                        #21

                                        @berchemer

                                        Geht nicht, in deinem Fall.
                                        Die node12 muss von Hand gezielt angegeben werden.
                                        Also den Eintrag zu node14 in der nodesource.list auskommentieren oder durch 12 ersetzen und dann die genaue Version 12 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

                                        B 1 Antwort Letzte Antwort
                                        1
                                        • Thomas BraunT Thomas Braun

                                          @berchemer

                                          Geht nicht, in deinem Fall.
                                          Die node12 muss von Hand gezielt angegeben werden.
                                          Also den Eintrag zu node14 in der nodesource.list auskommentieren oder durch 12 ersetzen und dann die genaue Version 12 installieren.

                                          B Offline
                                          B Offline
                                          Berchemer
                                          schrieb am zuletzt editiert von
                                          #22

                                          @thomas-braun sagte in Jeelink Adapter startet nicht mehr:

                                          @berchemer

                                          Geht nicht, in deinem Fall.
                                          Die node12 muss von Hand gezielt angegeben werden.
                                          Also den Eintrag zu node14 in der nodesource.list auskommentieren oder durch 12 ersetzen und dann die genaue Version 12 installieren.

                                          Sorry...
                                          Meinte ich auch...
                                          Hatte vergessen die 14 durch 12 zu ersetzen ;-)

                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          0
                                          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

                                          618

                                          Online

                                          32.5k

                                          Benutzer

                                          81.6k

                                          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