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

  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Error beim Installieren von Adaptern

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

Error beim Installieren von Adaptern

Geplant Angeheftet Gesperrt Verschoben Ungelöst Error/Bug
error
3 Beiträge 3 Kommentatoren 347 Aufrufe 3 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.
  • D Offline
    D Offline
    Datainspektor
    schrieb am zuletzt editiert von Datainspektor
    #1
    Systemdata Bitte Ausfüllen
    Hardwaresystem: WMWare ESX 6.0
    Arbeitsspeicher: 4GB
    Festplattenart: SSD
    Betriebssystem: Debian
    Node-Version: 10.19.0
    Nodejs-Version: 10.19.0
    NPM-Version: 6.13.4
    Installationsart: Manuell
    Image genutzt: Nein
    Ort/Name der Imagedatei: Link

    Hallo,

    beim installieren sowie aktualisieren bekomme ich folgenden Fehler.
    Liegt das an dem nicht verfügbaren Bluetooth auf der Debian Maschine und kann ich das ingnorieren?

    $ ./iobroker upgrade swiss-weather-api
    Update swiss-weather-api from @0.1.6 to @0.2.0
    NPM version: 6.13.4
    npm install iobroker.swiss-weather-api@0.2.0 --loglevel error --prefix "/opt/iobroker" (System call)
    In file included from ../src/DeviceINQ.h:17,                 from ../src/linux/BluetoothSerialPort.cc:13:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../node_modules/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)                                                              ^
    In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc: At global scope:/home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {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/10.19.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~
    In file included from /home/iobroker/.cache/node-gyp/10.19.0/include/node/node.h:63,                 from ../src/linux/BluetoothSerialPort.cc:12:/home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:/home/iobroker/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:../node_modules/nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
    ../src/linux/DeviceINQ.cc:35:14: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden     #include <bluetooth/bluetooth.h>              ^~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [BluetoothSerialPort.target.mk:109: Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1
    gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:191:23)gyp ERR! stack     at ChildProcess.emit (events.js:198:13)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.19.0-8-amd64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v10.19.0gyp ERR! node-gyp -v v5.0.5gyp ERR! not ok 
    node-pre-gyp
    
    1 Antwort Letzte Antwort
    0
    • M Offline
      M Offline
      msauer
      schrieb am zuletzt editiert von Negalein
      #2

      Hi, diesen Fehler bekomme ich seit einm paar Tagen auch,,,seltsam..dachte erst, das mein Bluetooth Modul, welches ich für Radar2 nutze, ein Problem hat. Aber das wird ordnungsgemäß an die VM weitergereicht.

      2020-04-23 12:26:09.149 - info: host.MSNUC-IOB iobroker In file included from ../src/DeviceINQ.h:17, from ../src/linux/BluetoothSerialPort.cc:13:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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(AsyncExecuteComplete) ^
      2020-04-23 12:26:09.198 - info: host.MSNUC-IOB iobroker ../src/linux/BluetoothSerialPort.cc: At global scope:../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ declared void void InitAll(Handle exports) { ^~~~~~
      2020-04-23 12:26:09.200 - info: host.MSNUC-IOB iobroker ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope
      2020-04-23 12:26:09.204 - info: host.MSNUC-IOB iobroker ../src/linux/BluetoothSerialPort.cc:18:14: note: suggested alternative: ‘rand_r’ void InitAll(Handle exports) { ^~~~~~ rand_r../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token void InitAll(Handle exports) { ^
      2020-04-23 12:26:09.205 - info: host.MSNUC-IOB iobroker ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope void InitAll(Handle exports) { ^~~~~~~
      2020-04-23 12:26:09.209 - info: host.MSNUC-IOB iobroker In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~/home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’ (node::addon_register_func) (regfunc), \ ^~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~
      2020-04-23 12:26:09.404 - info: host.MSNUC-IOB iobroker make: *** [BluetoothSerialPort.target.mk:117: Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Fehler 1
      2020-04-23 12:26:09.406 - info: host.MSNUC-IOB iobroker gyp
      2020-04-23 12:26:09.408 - info: host.MSNUC-IOB iobroker ERR! build error
      2020-04-23 12:26:09.410 - info: host.MSNUC-IOB iobroker gyp ERR! stack Error: `make` failed with exit code: 2gyp 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:310:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-8-amd64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetoothgyp ERR! node -v
      2020-04-23 12:26:09.412 - info: host.MSNUC-IOB iobroker v12.16.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
      

      @apollon77 : Kann das mit dem JS V3 zu tun haben?


      Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
      Hier gehts zur Hilfe.

      Proxmox 3 Node HA-Cluster TRIGKEY Mini-PC N100 mit 32 GB RAM und 3x1TB shared SSDs. VM- iobroker ,Raspberrymatic. LXC - Adguard, , Traccar, iSpy, Fileserver (emby, MiniDLNA)...usw

      apollon77A 1 Antwort Letzte Antwort
      0
      • M msauer

        Hi, diesen Fehler bekomme ich seit einm paar Tagen auch,,,seltsam..dachte erst, das mein Bluetooth Modul, welches ich für Radar2 nutze, ein Problem hat. Aber das wird ordnungsgemäß an die VM weitergereicht.

        2020-04-23 12:26:09.149 - info: host.MSNUC-IOB iobroker In file included from ../src/DeviceINQ.h:17, from ../src/linux/BluetoothSerialPort.cc:13:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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(AsyncExecuteComplete) ^
        2020-04-23 12:26:09.198 - info: host.MSNUC-IOB iobroker ../src/linux/BluetoothSerialPort.cc: At global scope:../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ declared void void InitAll(Handle exports) { ^~~~~~
        2020-04-23 12:26:09.200 - info: host.MSNUC-IOB iobroker ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope
        2020-04-23 12:26:09.204 - info: host.MSNUC-IOB iobroker ../src/linux/BluetoothSerialPort.cc:18:14: note: suggested alternative: ‘rand_r’ void InitAll(Handle exports) { ^~~~~~ rand_r../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token void InitAll(Handle exports) { ^
        2020-04-23 12:26:09.205 - info: host.MSNUC-IOB iobroker ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope void InitAll(Handle exports) { ^~~~~~~
        2020-04-23 12:26:09.209 - info: host.MSNUC-IOB iobroker In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~/home/iobroker/.cache/node-gyp/12.16.2/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’ (node::addon_register_func) (regfunc), \ ^~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~
        2020-04-23 12:26:09.404 - info: host.MSNUC-IOB iobroker make: *** [BluetoothSerialPort.target.mk:117: Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Fehler 1
        2020-04-23 12:26:09.406 - info: host.MSNUC-IOB iobroker gyp
        2020-04-23 12:26:09.408 - info: host.MSNUC-IOB iobroker ERR! build error
        2020-04-23 12:26:09.410 - info: host.MSNUC-IOB iobroker gyp ERR! stack Error: `make` failed with exit code: 2gyp 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:310:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-8-amd64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetoothgyp ERR! node -v
        2020-04-23 12:26:09.412 - info: host.MSNUC-IOB iobroker v12.16.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
        

        @apollon77 : Kann das mit dem JS V3 zu tun haben?


        Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
        Hier gehts zur Hilfe.

        apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #3

        @msauer Der Fehler kommt von irgendeinem Adapter (radar2) der irgendwas mit Bluetooth macht und ggf eine alte Verison drin hat. beim radar2 bitte Issue anlegen!

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        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

        730

        Online

        32.4k

        Benutzer

        81.4k

        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