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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Ständig prebuild Fehler beim Adapter installieren / updaten

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.7k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    703

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

Ständig prebuild Fehler beim Adapter installieren / updaten

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
prebuildinstallationupdateadapterfehlermeldung
34 Beiträge 4 Kommentatoren 3.2k Aufrufe 5 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @peterfido Hast du den peter mal ausgeloggt?
    Die Gruppen werden nur bei der Anmeldung eingelesen.

    P Offline
    P Offline
    peterfido
    schrieb am zuletzt editiert von peterfido
    #13

    @Thomas-Braun
    Okay, das wars :)

    Leider hat es nicht viel gebracht:

    prebuild-install
     
    info 
    begin Prebuild-install version 5.3.3
    prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/405966-usb-v1.6.3-node-v64-linux-x64.tar.gz
    prebuild-install info found cached prebuild prebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/405966-usb-v1.6.3-node-v64-linux-x64.tar.gz
    prebuild-install
     info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node
    prebuild-install
     
    info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfully
    prebuild-install 
    info install Successfully installed prebuilt binary!
    In file included from ../src/BluetoothHciSocket.cpp:8:../../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/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^
    In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’   Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);                                                                        ^In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,                 from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:3993:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:3996:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provided
    ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^
    In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
    ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:395:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]       devId = arg0->IntegerValue();                                  ^
    In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:26,                 from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,                 from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:2476:46: note: declared here   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);                                              ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
    ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:417:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]       devId = arg0->IntegerValue();                                  ^In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:26,                 from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,                 from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/10.21.0/include/node/v8.h:2476:46: note: declared here   V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);                                              ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.21.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
    In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:../src/BluetoothHciSocket.cpp: At global scope:/home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:573: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/10.21.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/BluetoothHciSocket.cpp:499:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~
    In file included from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node.h:63,                 from /home/iobroker/.cache/node-gyp/10.21.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/10.21.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.21.0/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.cache/node-gyp/10.21.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.21.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>&)]’:../../nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.cache/node-gyp/10.21.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]
    make: *** [binding.target.mk:103: Release/obj.target/binding/src/BluetoothHciSocket.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" "rebuild"
    gyp
     ERR! 
    cwd /opt/iobroker/node_modules/bluetooth-hci-socketgyp
     ERR! node -v
     v10.21.0gyp 
    ERR! node-gyp -v v5.1.0gyp ERR! not ok 
    npm
    

    Mache jetzt Feierabend für Heute.

    Vielen Dank.

    Gruß

    Peterfido

    1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @peterfido Hast du den peter mal ausgeloggt?
      Die Gruppen werden nur bei der Anmeldung eingelesen.

      P Offline
      P Offline
      peterfido
      schrieb am zuletzt editiert von peterfido
      #14

      @Thomas-Braun

      Hallo,

      habe nun auf nodejs12.19.0 aktualisiert.

      Der Fehler ist geblieben. Dafür fehlt Node-Red jetzt der Serialport und der S7 - Adapter startet ständig neu, weil er auf nen Fehler stößt. Daher spiele ich gerade das Backup wieder ein und lebe mit dem Fehler.

      $ ./iobroker upgrade s7@1.1.8
      Update s7 from @1.1.8 to @1.1.8
      NPM version: 6.14.8npm install iobroker.s7@1.1.8 --loglevel error --prefix "/opt/iobroker" (System call)
      prebuild-install
      info begin Prebuild-install version 5.3.3
      prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gzprebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linux-x64.tar.gz
      prebuild-install http 200 https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linux-x64.tar.gzprebuild-install info downloading to @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz.16422-a9ce1741c8a2e.tmp
      prebuild-install info renaming to @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gzprebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
      prebuild-install info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.nodeprebuild-install info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfullyprebuild-install info install Successfully installed prebuilt binary!
      In file included from ../src/BluetoothHciSocket.cpp:8:../../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/BluetoothHciSocket.cpp: In static member function ‘static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:128:82: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’   target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());                                                                                  ^
      In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(                                              ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^
      In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
      ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:269:109: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Function> errorConstructor = Local<Function>::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked()));                                                                                                             ^
      In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
      ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’   Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);                                                                        ^
      In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note:   candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note:   candidate expects 1 argument, 2 provided
      ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
      ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
      ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:395:34: error: no matching function for call to ‘v8::Value::IntegerValue()’       devId = arg0->IntegerValue();                                  ^
      In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(                                        ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:417:34: error: no matching function for call to ‘v8::Value::IntegerValue()’       devId = arg0->IntegerValue();                                  ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(                                        ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided
      In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:../src/BluetoothHciSocket.cpp: At global scope:/home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:727: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/12.19.0/include/node/node.h:761:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/BluetoothHciSocket.cpp:499:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~
      make: *** [binding.target.mk:111: Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1gyp 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:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:314: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" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/bluetooth-hci-socketgyp ERR! node -v v12.19.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
      upload [11] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/words.js words.js application/javascript
      upload [10] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/jsgrid.min.js lib/js/jsgrid.min.js application/javascript
      upload [9] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/jsgrid.js lib/js/jsgrid.js application/javascript
      upload [8] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/grid.locale-ru.js lib/js/grid.locale-ru.js application/javascript
      upload [7] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/grid.locale-de.js lib/js/grid.locale-de.js application/javascript
      upload [6] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid.min.css lib/css/jsgrid.min.css text/css
      upload [5] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid.css lib/css/jsgrid.css text/css
      upload [4] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid-theme.min.css lib/css/jsgrid-theme.min.css text/css
      upload [3] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid-theme.css lib/css/jsgrid-theme.css text/css
      upload [2] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/index.html index.html text/html
      upload [1] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/img/plc_back.png img/plc_back.png image/png
      upload [0] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/S7.png S7.png image/png
      Adapter "s7" updated
      process exited with code 0
      

      peter@proxbroker:/var/scripte$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      /usr/bin/nodejs
      v12.19.0
      /usr/bin/node
      v12.19.0
      /usr/bin/npm
      6.14.8
      nodejs:
       Installiert:           12.19.0-1nodesource1
       Installationskandidat: 12.19.0-1nodesource1
       Versionstabelle:
      *** 12.19.0-1nodesource1 500
             500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
             100 /var/lib/dpkg/status
          10.21.0~dfsg-1~deb10u1 500
             500 http://deb.debian.org/debian buster/main amd64 Packages
             500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
      peter@proxbroker:/var/scripte$ iobroker fix
      library: loaded
      Library version=2020-06-12
      
      

      Gruß

      Peterfido

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • P peterfido

        @Thomas-Braun

        Hallo,

        habe nun auf nodejs12.19.0 aktualisiert.

        Der Fehler ist geblieben. Dafür fehlt Node-Red jetzt der Serialport und der S7 - Adapter startet ständig neu, weil er auf nen Fehler stößt. Daher spiele ich gerade das Backup wieder ein und lebe mit dem Fehler.

        $ ./iobroker upgrade s7@1.1.8
        Update s7 from @1.1.8 to @1.1.8
        NPM version: 6.14.8npm install iobroker.s7@1.1.8 --loglevel error --prefix "/opt/iobroker" (System call)
        prebuild-install
        info begin Prebuild-install version 5.3.3
        prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gzprebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linux-x64.tar.gz
        prebuild-install http 200 https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linux-x64.tar.gzprebuild-install info downloading to @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz.16422-a9ce1741c8a2e.tmp
        prebuild-install info renaming to @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gzprebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
        prebuild-install info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.nodeprebuild-install info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfullyprebuild-install info install Successfully installed prebuilt binary!
        In file included from ../src/BluetoothHciSocket.cpp:8:../../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/BluetoothHciSocket.cpp: In static member function ‘static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:128:82: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’   target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());                                                                                  ^
        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(                                              ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
        ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^
        In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
        ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
        ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:269:109: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Function> errorConstructor = Local<Function>::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked()));                                                                                                             ^
        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
        ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’   Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);                                                                        ^
        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note:   candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note:   candidate expects 1 argument, 2 provided
        ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
        ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
        ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:395:34: error: no matching function for call to ‘v8::Value::IntegerValue()’       devId = arg0->IntegerValue();                                  ^
        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(                                        ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:417:34: error: no matching function for call to ‘v8::Value::IntegerValue()’       devId = arg0->IntegerValue();                                  ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(                                        ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided
        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:../src/BluetoothHciSocket.cpp: At global scope:/home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:727: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/12.19.0/include/node/node.h:761:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/BluetoothHciSocket.cpp:499:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~
        make: *** [binding.target.mk:111: Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1gyp 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:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:314: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" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/bluetooth-hci-socketgyp ERR! node -v v12.19.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
        upload [11] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/words.js words.js application/javascript
        upload [10] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/jsgrid.min.js lib/js/jsgrid.min.js application/javascript
        upload [9] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/jsgrid.js lib/js/jsgrid.js application/javascript
        upload [8] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/grid.locale-ru.js lib/js/grid.locale-ru.js application/javascript
        upload [7] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/grid.locale-de.js lib/js/grid.locale-de.js application/javascript
        upload [6] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid.min.css lib/css/jsgrid.min.css text/css
        upload [5] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid.css lib/css/jsgrid.css text/css
        upload [4] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid-theme.min.css lib/css/jsgrid-theme.min.css text/css
        upload [3] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid-theme.css lib/css/jsgrid-theme.css text/css
        upload [2] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/index.html index.html text/html
        upload [1] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/img/plc_back.png img/plc_back.png image/png
        upload [0] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/S7.png S7.png image/png
        Adapter "s7" updated
        process exited with code 0
        

        peter@proxbroker:/var/scripte$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
        /usr/bin/nodejs
        v12.19.0
        /usr/bin/node
        v12.19.0
        /usr/bin/npm
        6.14.8
        nodejs:
         Installiert:           12.19.0-1nodesource1
         Installationskandidat: 12.19.0-1nodesource1
         Versionstabelle:
        *** 12.19.0-1nodesource1 500
               500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
               100 /var/lib/dpkg/status
            10.21.0~dfsg-1~deb10u1 500
               500 http://deb.debian.org/debian buster/main amd64 Packages
               500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
        peter@proxbroker:/var/scripte$ iobroker fix
        library: loaded
        Library version=2020-06-12
        
        

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

        @peterfido Da muss noch ein rebuild erfolgen.
        Cache zuvor löschen.

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

        P 2 Antworten Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @peterfido Da muss noch ein rebuild erfolgen.
          Cache zuvor löschen.

          P Offline
          P Offline
          peterfido
          schrieb am zuletzt editiert von
          #16

          @Thomas-Braun

          Auch nach einem Rebuild läuft der Serialport nicht. Habe jetzt nen Update des Serialports innerhalb Node-Red durchgeführt. Auch der läuft nicht.

          node-red.0	2020-10-17 18:31:46.146	info	(5987) node-red exited with 1
          node-red.0	2020-10-17 18:31:46.136	debug	(5987) 17 Oct 18:31:46 - Error: Module did not self-register: '/opt/iobroker/iobroker-data/node-red/node_modules/modbus-serial/node_modules/@serialport/bindings/build/Release/bindings.node'. at Ob
          node-red.0	2020-10-17 18:31:46.134	debug	(5987) 17 Oct 18:31:46 - [red] Uncaught Exception:
          

          Gruß

          Peterfido

          1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @peterfido Da muss noch ein rebuild erfolgen.
            Cache zuvor löschen.

            P Offline
            P Offline
            peterfido
            schrieb am zuletzt editiert von
            #17

            @Thomas-Braun

            Cache gelöscht, Node-Red aktualisiert, alles neu gebuildet. Ergebnis ernüchternd:

            $ ./iobroker add linkeddevices  --host proxbroker
            NPM version: 6.14.8npm install iobroker.linkeddevices@1.2.2 --loglevel error --prefix "/opt/iobroker" (System call)
            prebuild-install
            info begin
            Prebuild-install version 5.3.3
            prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
            prebuild-install info found cached prebuild prebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
            prebuild-install
            
            info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node
            prebuild-install info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfullyprebuild-install info install Successfully installed prebuilt binary!
            In file included from ../src/BluetoothHciSocket.cpp:8:../../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/BluetoothHciSocket.cpp: In static member function ‘static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:128:82: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’   target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());                                                                                  ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(                                              ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
            ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
            ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:269:109: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Function> errorConstructor = Local<Function>::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked()));                                                                                                             ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’   Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);                                                                        ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note:   candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note:   candidate expects 1 argument, 2 provided../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
            ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:395:34: error: no matching function for call to ‘v8::Value::IntegerValue()’       devId = arg0->IntegerValue();                                  ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(                                        ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:417:34: error: no matching function for call to ‘v8::Value::IntegerValue()’       devId = arg0->IntegerValue();                                  ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(                                        ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided
            In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:../src/BluetoothHciSocket.cpp: At global scope:/home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:727: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/12.19.0/include/node/node.h:761:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/BluetoothHciSocket.cpp:499:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~
            make: *** [binding.target.mk:111: Release/obj.target/binding/src/BluetoothHciSocket.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:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:314:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-11-amd64gyp 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/bluetooth-hci-socketgyp ERR! node -v v12.19.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
            host.proxbroker install adapter linkeddevices
            upload [11] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/words.js words.js application/javascript
            upload [10] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/style.css style.css text/css
            upload [9] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/linkeddevices_small.png linkeddevices_small.png image/png
            upload [8] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/linkeddevices_missing.png linkeddevices_missing.png image/png
            upload [7] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/linkeddevices_info.png linkeddevices_info.png image/png
            upload [6] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/linkeddevices.png linkeddevices.png image/png
            upload [5] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/index_m.js index_m.js application/javascript
            upload [4] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/index_m.html index_m.html text/html
            upload [3] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/img/info-big.png img/info-big.png image/png
            upload [2] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/custom_m.html custom_m.html text/html
            upload [1] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/custom.js custom.js application/javascript
            upload [0] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/admin.d.ts admin.d.ts video/mp2t
            host.proxbroker object system.adapter.linkeddevices created/updated
            host.proxbroker create instance linkeddevices
            host.proxbroker object linkeddevices.0.info.notlinkedObjects created
            host.proxbroker object linkeddevices.0.info.linkedObjects created
            host.proxbroker object linkeddevices.0.info created
            host.proxbroker object system.adapter.linkeddevices.0.sigKill created
            host.proxbroker object system.adapter.linkeddevices.0.eventLoopLag created
            host.proxbroker object system.adapter.linkeddevices.0.outputCount created
            host.proxbroker object system.adapter.linkeddevices.0.inputCount created
            host.proxbroker object system.adapter.linkeddevices.0.uptime created
            host.proxbroker object system.adapter.linkeddevices.0.memRss created
            host.proxbroker object system.adapter.linkeddevices.0.memHeapTotal created
            host.proxbroker object system.adapter.linkeddevices.0.memHeapUsed created
            host.proxbroker object system.adapter.linkeddevices.0.cputime created
            host.proxbroker object system.adapter.linkeddevices.0.cpu created
            host.proxbroker object system.adapter.linkeddevices.0.compactMode created
            host.proxbroker object system.adapter.linkeddevices.0.connected created
            host.proxbroker object system.adapter.linkeddevices.0.alive created
            host.proxbroker Set default value of linkeddevices.0.info.notlinkedObjects: 0
            host.proxbroker Set default value of linkeddevices.0.info.linkedObjects: 0
            host.proxbroker object system.adapter.linkeddevices.0 created
            process exited with code 0
            

            Und das hier:

            v12.19.0 (Es gibt eine neuere Version: v12.16.2 Die Version v12.x von Node.js wird derzeit nicht vollständig unterstützt. - Empfohlene Version v10.20.1)
            

            Und der HUE Bewegungsmelder hat sich auch verabschiedet. Der lief jetzt seit Tagen mit der minütlichen Abfrage durch.

            Gruß

            Peterfido

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • P peterfido

              @Thomas-Braun

              Cache gelöscht, Node-Red aktualisiert, alles neu gebuildet. Ergebnis ernüchternd:

              $ ./iobroker add linkeddevices  --host proxbroker
              NPM version: 6.14.8npm install iobroker.linkeddevices@1.2.2 --loglevel error --prefix "/opt/iobroker" (System call)
              prebuild-install
              info begin
              Prebuild-install version 5.3.3
              prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
              prebuild-install info found cached prebuild prebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
              prebuild-install
              
              info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node
              prebuild-install info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfullyprebuild-install info install Successfully installed prebuilt binary!
              In file included from ../src/BluetoothHciSocket.cpp:8:../../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/BluetoothHciSocket.cpp: In static member function ‘static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:128:82: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’   target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());                                                                                  ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’   V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(                                              ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
              ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]     Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                               ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
              ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:269:109: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]   Local<Function> errorConstructor = Local<Function>::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked()));                                                                                                             ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’   Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);                                                                        ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note:   candidate expects 3 arguments, 2 provided/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(                                            ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note:   candidate expects 1 argument, 2 provided../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);                                                                                             ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1045:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
              ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:395:34: error: no matching function for call to ‘v8::Value::IntegerValue()’       devId = arg0->IntegerValue();                                  ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(                                        ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:417:34: error: no matching function for call to ‘v8::Value::IntegerValue()’       devId = arg0->IntegerValue();                                  ^In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,                 from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(                                        ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided
              In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,                 from ../src/BluetoothHciSocket.cpp:7:../src/BluetoothHciSocket.cpp: At global scope:/home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:727: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/12.19.0/include/node/node.h:761:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/BluetoothHciSocket.cpp:499:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~
              make: *** [binding.target.mk:111: Release/obj.target/binding/src/BluetoothHciSocket.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:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:314:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.0-11-amd64gyp 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/bluetooth-hci-socketgyp ERR! node -v v12.19.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
              host.proxbroker install adapter linkeddevices
              upload [11] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/words.js words.js application/javascript
              upload [10] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/style.css style.css text/css
              upload [9] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/linkeddevices_small.png linkeddevices_small.png image/png
              upload [8] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/linkeddevices_missing.png linkeddevices_missing.png image/png
              upload [7] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/linkeddevices_info.png linkeddevices_info.png image/png
              upload [6] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/linkeddevices.png linkeddevices.png image/png
              upload [5] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/index_m.js index_m.js application/javascript
              upload [4] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/index_m.html index_m.html text/html
              upload [3] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/img/info-big.png img/info-big.png image/png
              upload [2] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/custom_m.html custom_m.html text/html
              upload [1] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/custom.js custom.js application/javascript
              upload [0] linkeddevices.admin /opt/iobroker/node_modules/iobroker.linkeddevices/admin/admin.d.ts admin.d.ts video/mp2t
              host.proxbroker object system.adapter.linkeddevices created/updated
              host.proxbroker create instance linkeddevices
              host.proxbroker object linkeddevices.0.info.notlinkedObjects created
              host.proxbroker object linkeddevices.0.info.linkedObjects created
              host.proxbroker object linkeddevices.0.info created
              host.proxbroker object system.adapter.linkeddevices.0.sigKill created
              host.proxbroker object system.adapter.linkeddevices.0.eventLoopLag created
              host.proxbroker object system.adapter.linkeddevices.0.outputCount created
              host.proxbroker object system.adapter.linkeddevices.0.inputCount created
              host.proxbroker object system.adapter.linkeddevices.0.uptime created
              host.proxbroker object system.adapter.linkeddevices.0.memRss created
              host.proxbroker object system.adapter.linkeddevices.0.memHeapTotal created
              host.proxbroker object system.adapter.linkeddevices.0.memHeapUsed created
              host.proxbroker object system.adapter.linkeddevices.0.cputime created
              host.proxbroker object system.adapter.linkeddevices.0.cpu created
              host.proxbroker object system.adapter.linkeddevices.0.compactMode created
              host.proxbroker object system.adapter.linkeddevices.0.connected created
              host.proxbroker object system.adapter.linkeddevices.0.alive created
              host.proxbroker Set default value of linkeddevices.0.info.notlinkedObjects: 0
              host.proxbroker Set default value of linkeddevices.0.info.linkedObjects: 0
              host.proxbroker object system.adapter.linkeddevices.0 created
              process exited with code 0
              

              Und das hier:

              v12.19.0 (Es gibt eine neuere Version: v12.16.2 Die Version v12.x von Node.js wird derzeit nicht vollständig unterstützt. - Empfohlene Version v10.20.1)
              

              Und der HUE Bewegungsmelder hat sich auch verabschiedet. Der lief jetzt seit Tagen mit der minütlichen Abfrage durch.

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

              @peterfido sagte in Ständig prebuild Fehler beim Adapter installieren / updaten:

              BluetoothHciSocket.cpp

              Hast die libudev-dev installiert?

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

              P 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @peterfido sagte in Ständig prebuild Fehler beim Adapter installieren / updaten:

                BluetoothHciSocket.cpp

                Hast die libudev-dev installiert?

                P Offline
                P Offline
                peterfido
                schrieb am zuletzt editiert von
                #19

                @Thomas-Braun
                Ja.

                peter@proxbroker:/opt/iobroker$ sudo apt install libudev-dev
                [sudo] Passwort für peter:
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                libudev-dev ist schon die neueste Version (241-7~deb10u4).
                Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                 libjsoncpp1
                Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                peter@proxbroker:/opt/iobroker$
                
                

                Gruß

                Peterfido

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • P peterfido

                  @Thomas-Braun
                  Ja.

                  peter@proxbroker:/opt/iobroker$ sudo apt install libudev-dev
                  [sudo] Passwort für peter:
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  libudev-dev ist schon die neueste Version (241-7~deb10u4).
                  Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                   libjsoncpp1
                  Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                  peter@proxbroker:/opt/iobroker$
                  
                  

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

                  @peterfido

                  Das Build-Environment auch?

                  On Unix
                  Python v2.7, v3.5, v3.6, v3.7, or v3.8
                  make
                  A proper C/C++ compiler toolchain, like GCC

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

                  P 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @peterfido

                    Das Build-Environment auch?

                    On Unix
                    Python v2.7, v3.5, v3.6, v3.7, or v3.8
                    make
                    A proper C/C++ compiler toolchain, like GCC

                    P Offline
                    P Offline
                    peterfido
                    schrieb am zuletzt editiert von
                    #21

                    @Thomas-Braun

                    peter@proxbroker:/opt/iobroker$ sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
                    Paketlisten werden gelesen... Fertig
                    Abhängigkeitsbaum wird aufgebaut.
                    Statusinformationen werden eingelesen.... Fertig
                    bluetooth ist schon die neueste Version (5.50-1.2~deb10u1).
                    bluez ist schon die neueste Version (5.50-1.2~deb10u1).
                    libbluetooth-dev ist schon die neueste Version (5.50-1.2~deb10u1).
                    libudev-dev ist schon die neueste Version (241-7~deb10u4).
                    Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                     libjsoncpp1
                    Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                    peter@proxbroker:/opt/iobroker$ python -V
                    Python 2.7.16
                    peter@proxbroker:/opt/iobroker$
                    peter@proxbroker:/opt/iobroker$ python3 -V
                    Python 3.7.3
                    peter@proxbroker:/opt/iobroker$
                    peter@proxbroker:/opt/iobroker$ gcc -v
                    Using built-in specs.
                    COLLECT_GCC=gcc
                    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
                    OFFLOAD_TARGET_NAMES=nvptx-none
                    OFFLOAD_TARGET_DEFAULT=1
                    Target: x86_64-linux-gnu
                    Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
                    Thread model: posix
                    gcc version 8.3.0 (Debian 8.3.0-6)
                    peter@proxbroker:/opt/iobroker$
                    peter@proxbroker:/tmp$ make -v
                    GNU Make 4.2.1
                    Gebaut für x86_64-pc-linux-gnu
                    Copyright (C) 1988-2016 Free Software Foundation, Inc.
                    Lizenz GPLv3+: GNU GPL Version 3 oder später <http://gnu.org/licenses/gpl.html>
                    Dies ist freie Software: Sie können sie nach Belieben ändern und weiter verteilen.
                    Soweit es die Gesetze erlauben gibt es KEINE GARANTIE.
                    peter@proxbroker:/tmp$
                    
                    

                    Sowas muss sich doch entfernen lassen. Wieso machen die so einen Blödsinn, dass man "Installationen in der Pipeline" nicht einfach entfernen kann?

                    Gruß

                    Peterfido

                    GlasfaserG 1 Antwort Letzte Antwort
                    0
                    • P peterfido

                      @Thomas-Braun

                      peter@proxbroker:/opt/iobroker$ sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut.
                      Statusinformationen werden eingelesen.... Fertig
                      bluetooth ist schon die neueste Version (5.50-1.2~deb10u1).
                      bluez ist schon die neueste Version (5.50-1.2~deb10u1).
                      libbluetooth-dev ist schon die neueste Version (5.50-1.2~deb10u1).
                      libudev-dev ist schon die neueste Version (241-7~deb10u4).
                      Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                       libjsoncpp1
                      Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                      peter@proxbroker:/opt/iobroker$ python -V
                      Python 2.7.16
                      peter@proxbroker:/opt/iobroker$
                      peter@proxbroker:/opt/iobroker$ python3 -V
                      Python 3.7.3
                      peter@proxbroker:/opt/iobroker$
                      peter@proxbroker:/opt/iobroker$ gcc -v
                      Using built-in specs.
                      COLLECT_GCC=gcc
                      COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
                      OFFLOAD_TARGET_NAMES=nvptx-none
                      OFFLOAD_TARGET_DEFAULT=1
                      Target: x86_64-linux-gnu
                      Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
                      Thread model: posix
                      gcc version 8.3.0 (Debian 8.3.0-6)
                      peter@proxbroker:/opt/iobroker$
                      peter@proxbroker:/tmp$ make -v
                      GNU Make 4.2.1
                      Gebaut für x86_64-pc-linux-gnu
                      Copyright (C) 1988-2016 Free Software Foundation, Inc.
                      Lizenz GPLv3+: GNU GPL Version 3 oder später <http://gnu.org/licenses/gpl.html>
                      Dies ist freie Software: Sie können sie nach Belieben ändern und weiter verteilen.
                      Soweit es die Gesetze erlauben gibt es KEINE GARANTIE.
                      peter@proxbroker:/tmp$
                      
                      

                      Sowas muss sich doch entfernen lassen. Wieso machen die so einen Blödsinn, dass man "Installationen in der Pipeline" nicht einfach entfernen kann?

                      GlasfaserG Offline
                      GlasfaserG Offline
                      Glasfaser
                      schrieb am zuletzt editiert von
                      #22

                      @peterfido

                      info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node

                      Nimm den mal dazu :

                      sudo apt update
                      sudo apt install libusb-1.0-0-dev
                      

                      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                      P 1 Antwort Letzte Antwort
                      0
                      • GlasfaserG Glasfaser

                        @peterfido

                        info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node

                        Nimm den mal dazu :

                        sudo apt update
                        sudo apt install libusb-1.0-0-dev
                        
                        P Offline
                        P Offline
                        peterfido
                        schrieb am zuletzt editiert von peterfido
                        #23

                        @Glasfaser
                        Danke. Hat leider auch nichts gebracht.

                        Der Bluetooth-Kram scheint eine optionale Abhängigkeit von iobroker zu sein:
                        Ausschnitt von

                        npm list
                        

                        Zeile 27

                        ├─┬ iobroker.javascript@4.8.4
                        │ ├─┬ @iobroker/adapter-core@2.4.0
                        │ │ └─┬ @types/iobroker@3.2.3
                        │ │   └── @types/node@12.12.68 deduped
                        │ ├── @types/node@12.12.68
                        │ ├─┬ @types/request@2.48.5
                        │ │ ├── @types/caseless@0.12.2
                        │ │ ├── @types/node@12.12.68 deduped
                        │ │ ├── @types/tough-cookie@4.0.0
                        │ │ └─┬ form-data@2.5.1
                        │ │   ├── asynckit@0.4.0 deduped
                        │ │   ├── combined-stream@1.0.8 deduped
                        │ │   └── mime-types@2.1.26 deduped
                        │ ├── async@3.2.0
                        │ ├── await@0.2.6
                        │ ├── coffee-compiler@0.3.2
                        │ ├── coffee-script@1.12.7
                        │ ├─┬ fs-extra@9.0.1
                        │ │ ├── at-least-node@1.0.0
                        │ │ ├── graceful-fs@4.2.3 deduped
                        │ │ ├─┬ jsonfile@6.0.1
                        │ │ │ ├── graceful-fs@4.2.3 deduped
                        │ │ │ └── universalify@1.0.0 deduped
                        │ │ └── universalify@1.0.0
                        │ ├── jsonata@1.8.3
                        │ ├─┬ noble@1.9.1
                        │ │ ├─┬ UNMET OPTIONAL DEPENDENCY bluetooth-hci-socket@0.5.1
                        │ │ │ ├── debug@2.6.9 deduped
                        │ │ │ ├── nan@2.14.0 deduped
                        │ │ │ └─┬ UNMET OPTIONAL DEPENDENCY usb@1.6.3
                        │ │ │   ├─┬ UNMET OPTIONAL DEPENDENCY bindings@1.5.0
                        │ │ │   │ └── file-uri-to-path@1.0.0 deduped
                        │ │ │   ├── UNMET OPTIONAL DEPENDENCY nan@2.13.2
                        │ │ │   └── prebuild-install@5.3.3 deduped
                        │ │ ├── bplist-parser@0.0.6
                        │ │ ├─┬ debug@2.2.0
                        │ │ │ └── ms@0.7.1
                        │ │ └─┬ UNMET OPTIONAL DEPENDENCY xpc-connection@0.1.4
                        │ │   └── nan@2.14.0 deduped
                        │ ├── node-schedule@1.3.2 deduped
                        │ ├─┬ node-ssh@11.1.1
                        

                        installiere ich etwas ohne Abhängigkeit, tritt der Fehler nicht auf:

                        peter@proxbroker:/opt/iobroker$ npm install iobroker.logparser@1.0.4 --prefix "/opt/iobroker" --no-optional
                        + iobroker.logparser@1.0.4
                        updated 1 package in 21.193s
                        
                        

                        installiere ich es "normal", kommt der Fehler wieder:

                        peter@proxbroker:/opt/iobroker$ npm install iobroker.logparser@1.0.4 --prefix "/opt/iobroker" --no-optional
                        + iobroker.logparser@1.0.4
                        updated 1 package in 21.193s
                        
                        53 packages are looking for funding
                         run `npm fund` for details
                        
                        peter@proxbroker:/opt/iobroker$ npm install iobroker.logparser@1.0.4 --prefix "/opt/iobroker"
                        
                        > usb@1.6.3 install /opt/iobroker/node_modules/usb
                        > prebuild-install --verbose || node-gyp rebuild
                        
                        prebuild-install info begin Prebuild-install version 5.3.3
                        prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
                        prebuild-install info found cached prebuild
                        prebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
                        prebuild-install info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node
                        prebuild-install info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfully
                        prebuild-install info install Successfully installed prebuilt binary!
                        
                        > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/bluetooth-hci-socket
                        > node-gyp rebuild
                        
                        make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird betreten
                         CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                        In file included from ../src/BluetoothHciSocket.cpp:8:
                        ../../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/BluetoothHciSocket.cpp: In static member function ‘static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
                        ../src/BluetoothHciSocket.cpp:128:82: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                          target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());
                                                                                                         ^
                        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                        from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
                          V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                                     ^~~~~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
                        ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
                        ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* ’ is deprecated [-Wdeprecated-declarations]
                            Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                      ^
                        In file included from ../src/BluetoothHciSocket.cpp:8:
                        ../../nan/nan.h:1045:46: note: declared here
                          NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                     ^~~~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* ’ is deprecated [-Wdeprecated-declarations]
                            Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                      ^
                        In file included from ../src/BluetoothHciSocket.cpp:8:
                        ../../nan/nan.h:1045:46: note: declared here
                          NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                     ^~~~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
                        ../src/BluetoothHciSocket.cpp:269:109: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                          Local<Function> errorConstructor = Local<Function>::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked()));
                                                                                                                                    ^
                        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,
                                        from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                        from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                        from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3553:51: note: declared here
                          V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                          ^~~
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                          declarator __attribute__((deprecated(message)))
                          ^~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’
                          Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                               ^
                        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                        from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const’
                          V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                                   ^~~~~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note:   candidate expects 3 arguments, 2 provided
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’
                          V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                                   ^~~~~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note:   candidate expects 1 argument, 2 provided
                        ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* ’ is deprecated [-Wdeprecated-declarations]
                          Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                    ^
                        In file included from ../src/BluetoothHciSocket.cpp:8:
                        ../../nan/nan.h:1045:46: note: declared here
                          NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                     ^~~~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* ’ is deprecated [-Wdeprecated-declarations]
                          Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                    ^
                        In file included from ../src/BluetoothHciSocket.cpp:8:
                        ../../nan/nan.h:1045:46: note: declared here
                          NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                     ^~~~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/BluetoothHciSocket.cpp:395:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
                              devId = arg0->IntegerValue();
                                                         ^
                        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                        from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
                          V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                                               ^~~~~~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided
                        ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:
                        ../src/BluetoothHciSocket.cpp:417:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
                              devId = arg0->IntegerValue();
                                                         ^
                        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                        from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
                          V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                                               ^~~~~~~~~~~~
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided
                        In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                        from ../src/BluetoothHciSocket.cpp:7:
                        ../src/BluetoothHciSocket.cpp: At global scope:
                        /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:727: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/12.19.0/include/node/node.h:761:3: note: in expansion of macro ‘NODE_MODULE_X’
                          NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                          ^~~~~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:499:1: note: in expansion of macro ‘NODE_MODULE’
                        NODE_MODULE(binding, BluetoothHciSocket::Init);
                        ^~~~~~~~~~~
                        make: *** [binding.target.mk:111: Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1
                        make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird verlassen
                        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:314:20)
                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                        gyp ERR! System Linux 4.19.0-11-amd64
                        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/bluetooth-hci-socket
                        gyp ERR! node -v v12.19.0
                        gyp ERR! node-gyp -v v5.1.0
                        gyp ERR! not ok
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/zigbee-herdsman/node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman/node_modules/jest-haste-map/node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/bluetooth-hci-socket):
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                        
                        + iobroker.logparser@1.0.4
                        updated 1 package in 22.61s
                        
                        53 packages are looking for funding
                         run `npm fund` for details
                        
                        peter@proxbroker:/opt/iobroker$
                        
                        

                        Die Script Engine von iobroker hatte ich eben extra aktualisiert. Da fehlte npm dann auch was:

                        npm ERR! missing: @types/node@^12.12.68, required by iobroker.javascript@4.8.4
                        


                        Das habe ich dann gleich nachinstalliert

                        Gruß

                        Peterfido

                        apollon77A 1 Antwort Letzte Antwort
                        0
                        • P Offline
                          P Offline
                          peterfido
                          schrieb am zuletzt editiert von peterfido
                          #24

                          Laut Google (gesucht nach: iobroker Release/obj.target/binding/src/BluetoothHciSocket.o) bin ich nicht der einzige mit dem Fehler. Das ist dann was für z.B. @apollon77 . Habe jetzt im Proxmox zurückgerollt, da ich nicht weiß, ob ich evtl. nebenbei was zerschossen hatte.

                          Script Engine ist bei mir wieder auf 4.6.17., da die Fehlermeldung

                          npm ERR! missing: @types/node@^12.12.68, required by iobroker.javascript@4.8.4
                          

                          ja auch noch war.

                          Gruß

                          Peterfido

                          apollon77A 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @peterfido sagte in Ständig prebuild Fehler beim Adapter installieren / updaten:

                            Wie kommt npm darauf, dass jeder, wirklich jeder Adapter das USB-node benötigt?

                            Tut nicht jeder. Aber npm unternimmt immer einen neuen Versuch die Arbeit zu Ende zu bringen, wenn es aufgerufen wird.
                            Mach den cache mal leer:

                            npm cache clean --force
                            

                            node 10.21.0? Da würde ich ja auf die aktuelle LTS node12 gehen.

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

                            @Thomas-Braun sagte in Ständig prebuild Fehler beim Adapter installieren / updaten:

                            Tut nicht jeder. Aber npm unternimmt immer einen neuen Versuch die Arbeit zu Ende zu bringen, wenn es aufgerufen wird.

                            Jain, npm analysiert bei jeder aktion die es tut immer den gesamten Dependency Baum weil er ja immer schauen muss was schon da ist und so. Damit stolpert er jedes mal über ein pot. nicht vollständig installiertes Paket und will es fixen. Das ist erstmal ganz normal.

                            Bei

                            make: *** [binding.target.mk:103: Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1

                            leigt es meistens daran das ein Adapter eine alte version des einer der CLuetooth libs will die ggf ein aktuelleres nodejs dazu bringt diese Fehler auszuwerfen (oder anders herum).Am Ende ist es das Modul bluetooth-hci-socket. EIn "npm ls" im iobroker Ordner sollte dir zeigen wer das alles als dep haben will, dann kann man weiter sehen.

                            Der npm cache hat damit NIX zu tun!!

                            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
                            • P peterfido

                              Laut Google (gesucht nach: iobroker Release/obj.target/binding/src/BluetoothHciSocket.o) bin ich nicht der einzige mit dem Fehler. Das ist dann was für z.B. @apollon77 . Habe jetzt im Proxmox zurückgerollt, da ich nicht weiß, ob ich evtl. nebenbei was zerschossen hatte.

                              Script Engine ist bei mir wieder auf 4.6.17., da die Fehlermeldung

                              npm ERR! missing: @types/node@^12.12.68, required by iobroker.javascript@4.8.4
                              

                              ja auch noch war.

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

                              @peterfido Ohne Kontext schwierig, aber effektiv wohl ignorierbar

                              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
                              • P peterfido

                                @Glasfaser
                                Danke. Hat leider auch nichts gebracht.

                                Der Bluetooth-Kram scheint eine optionale Abhängigkeit von iobroker zu sein:
                                Ausschnitt von

                                npm list
                                

                                Zeile 27

                                ├─┬ iobroker.javascript@4.8.4
                                │ ├─┬ @iobroker/adapter-core@2.4.0
                                │ │ └─┬ @types/iobroker@3.2.3
                                │ │   └── @types/node@12.12.68 deduped
                                │ ├── @types/node@12.12.68
                                │ ├─┬ @types/request@2.48.5
                                │ │ ├── @types/caseless@0.12.2
                                │ │ ├── @types/node@12.12.68 deduped
                                │ │ ├── @types/tough-cookie@4.0.0
                                │ │ └─┬ form-data@2.5.1
                                │ │   ├── asynckit@0.4.0 deduped
                                │ │   ├── combined-stream@1.0.8 deduped
                                │ │   └── mime-types@2.1.26 deduped
                                │ ├── async@3.2.0
                                │ ├── await@0.2.6
                                │ ├── coffee-compiler@0.3.2
                                │ ├── coffee-script@1.12.7
                                │ ├─┬ fs-extra@9.0.1
                                │ │ ├── at-least-node@1.0.0
                                │ │ ├── graceful-fs@4.2.3 deduped
                                │ │ ├─┬ jsonfile@6.0.1
                                │ │ │ ├── graceful-fs@4.2.3 deduped
                                │ │ │ └── universalify@1.0.0 deduped
                                │ │ └── universalify@1.0.0
                                │ ├── jsonata@1.8.3
                                │ ├─┬ noble@1.9.1
                                │ │ ├─┬ UNMET OPTIONAL DEPENDENCY bluetooth-hci-socket@0.5.1
                                │ │ │ ├── debug@2.6.9 deduped
                                │ │ │ ├── nan@2.14.0 deduped
                                │ │ │ └─┬ UNMET OPTIONAL DEPENDENCY usb@1.6.3
                                │ │ │   ├─┬ UNMET OPTIONAL DEPENDENCY bindings@1.5.0
                                │ │ │   │ └── file-uri-to-path@1.0.0 deduped
                                │ │ │   ├── UNMET OPTIONAL DEPENDENCY nan@2.13.2
                                │ │ │   └── prebuild-install@5.3.3 deduped
                                │ │ ├── bplist-parser@0.0.6
                                │ │ ├─┬ debug@2.2.0
                                │ │ │ └── ms@0.7.1
                                │ │ └─┬ UNMET OPTIONAL DEPENDENCY xpc-connection@0.1.4
                                │ │   └── nan@2.14.0 deduped
                                │ ├── node-schedule@1.3.2 deduped
                                │ ├─┬ node-ssh@11.1.1
                                

                                installiere ich etwas ohne Abhängigkeit, tritt der Fehler nicht auf:

                                peter@proxbroker:/opt/iobroker$ npm install iobroker.logparser@1.0.4 --prefix "/opt/iobroker" --no-optional
                                + iobroker.logparser@1.0.4
                                updated 1 package in 21.193s
                                
                                

                                installiere ich es "normal", kommt der Fehler wieder:

                                peter@proxbroker:/opt/iobroker$ npm install iobroker.logparser@1.0.4 --prefix "/opt/iobroker" --no-optional
                                + iobroker.logparser@1.0.4
                                updated 1 package in 21.193s
                                
                                53 packages are looking for funding
                                 run `npm fund` for details
                                
                                peter@proxbroker:/opt/iobroker$ npm install iobroker.logparser@1.0.4 --prefix "/opt/iobroker"
                                
                                > usb@1.6.3 install /opt/iobroker/node_modules/usb
                                > prebuild-install --verbose || node-gyp rebuild
                                
                                prebuild-install info begin Prebuild-install version 5.3.3
                                prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
                                prebuild-install info found cached prebuild
                                prebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/f5a2d7-usb-v1.6.3-node-v72-linux-x64.tar.gz
                                prebuild-install info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node
                                prebuild-install info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfully
                                prebuild-install info install Successfully installed prebuilt binary!
                                
                                > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/bluetooth-hci-socket
                                > node-gyp rebuild
                                
                                make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird betreten
                                 CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                                In file included from ../src/BluetoothHciSocket.cpp:8:
                                ../../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/BluetoothHciSocket.cpp: In static member function ‘static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
                                ../src/BluetoothHciSocket.cpp:128:82: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
                                  target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());
                                                                                                                 ^
                                In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                                from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                                from ../src/BluetoothHciSocket.cpp:7:
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’
                                  V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                                             ^~~~~~~~~~~
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:6126:46: note:   candidate expects 1 argument, 0 provided
                                ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:
                                ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* ’ is deprecated [-Wdeprecated-declarations]
                                    Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                              ^
                                In file included from ../src/BluetoothHciSocket.cpp:8:
                                ../../nan/nan.h:1045:46: note: declared here
                                  NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                             ^~~~~~~~~~~~
                                ../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* ’ is deprecated [-Wdeprecated-declarations]
                                    Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                              ^
                                In file included from ../src/BluetoothHciSocket.cpp:8:
                                ../../nan/nan.h:1045:46: note: declared here
                                  NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                             ^~~~~~~~~~~~
                                ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:
                                ../src/BluetoothHciSocket.cpp:269:109: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                  Local<Function> errorConstructor = Local<Function>::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked()));
                                                                                                                                            ^
                                In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8-internal.h:14,
                                                from /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:27,
                                                from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                                from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                                from ../src/BluetoothHciSocket.cpp:7:
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:3553:51: note: declared here
                                  V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                                  ^~~
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                  declarator __attribute__((deprecated(message)))
                                  ^~~~~~~~~~
                                ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’
                                  Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                                       ^
                                In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                                from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                                from ../src/BluetoothHciSocket.cpp:7:
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const’
                                  V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                                           ^~~~~~~~~~~
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4281:44: note:   candidate expects 3 arguments, 2 provided
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’
                                  V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                                           ^~~~~~~~~~~
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:4284:44: note:   candidate expects 1 argument, 2 provided
                                ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* ’ is deprecated [-Wdeprecated-declarations]
                                  Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                            ^
                                In file included from ../src/BluetoothHciSocket.cpp:8:
                                ../../nan/nan.h:1045:46: note: declared here
                                  NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                             ^~~~~~~~~~~~
                                ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>* ’ is deprecated [-Wdeprecated-declarations]
                                  Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                                            ^
                                In file included from ../src/BluetoothHciSocket.cpp:8:
                                ../../nan/nan.h:1045:46: note: declared here
                                  NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                             ^~~~~~~~~~~~
                                ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:
                                ../src/BluetoothHciSocket.cpp:395:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
                                      devId = arg0->IntegerValue();
                                                                 ^
                                In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                                from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                                from ../src/BluetoothHciSocket.cpp:7:
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
                                  V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                                                       ^~~~~~~~~~~~
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided
                                ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:
                                ../src/BluetoothHciSocket.cpp:417:34: error: no matching function for call to ‘v8::Value::IntegerValue()’
                                      devId = arg0->IntegerValue();
                                                                 ^
                                In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:67,
                                                from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                                from ../src/BluetoothHciSocket.cpp:7:
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
                                  V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                                                       ^~~~~~~~~~~~
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/v8.h:2705:40: note:   candidate expects 1 argument, 0 provided
                                In file included from /home/iobroker/.cache/node-gyp/12.19.0/include/node/node_buffer.h:25,
                                                from ../src/BluetoothHciSocket.cpp:7:
                                ../src/BluetoothHciSocket.cpp: At global scope:
                                /home/iobroker/.cache/node-gyp/12.19.0/include/node/node.h:727: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/12.19.0/include/node/node.h:761:3: note: in expansion of macro ‘NODE_MODULE_X’
                                  NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                  ^~~~~~~~~~~~~
                                ../src/BluetoothHciSocket.cpp:499:1: note: in expansion of macro ‘NODE_MODULE’
                                NODE_MODULE(binding, BluetoothHciSocket::Init);
                                ^~~~~~~~~~~
                                make: *** [binding.target.mk:111: Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1
                                make: Verzeichnis „/opt/iobroker/node_modules/bluetooth-hci-socket/build“ wird verlassen
                                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:314:20)
                                gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                gyp ERR! System Linux 4.19.0-11-amd64
                                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/bluetooth-hci-socket
                                gyp ERR! node -v v12.19.0
                                gyp ERR! node-gyp -v v5.1.0
                                gyp ERR! not ok
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/zigbee-herdsman/node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman/node_modules/jest-haste-map/node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/bluetooth-hci-socket):
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                
                                + iobroker.logparser@1.0.4
                                updated 1 package in 22.61s
                                
                                53 packages are looking for funding
                                 run `npm fund` for details
                                
                                peter@proxbroker:/opt/iobroker$
                                
                                

                                Die Script Engine von iobroker hatte ich eben extra aktualisiert. Da fehlte npm dann auch was:

                                npm ERR! missing: @types/node@^12.12.68, required by iobroker.javascript@4.8.4
                                


                                Das habe ich dann gleich nachinstalliert

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

                                @peterfido Ok, lese ...bluetooth-hci-socket ist dep von noble 1.9.1 und das ist dep von javascript ... Da es aber keine echte Dep ist hast Du das ggf manuell im javascript Adapter mal installiert!

                                Noble 1.9.1 ist 3 Jahre akt und nicht mit nodejs 12 kompatibel ... damit alles eindeutig. Noble muss auf @abandonware/noble 1.9.2-10 aktualisiert werden, das aktualisiert dann das .bluetooth-hci-socketmit ... Fertig

                                Also: Wo kam das noble her?

                                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
                                P 1 Antwort Letzte Antwort
                                0
                                • apollon77A apollon77

                                  @peterfido Ok, lese ...bluetooth-hci-socket ist dep von noble 1.9.1 und das ist dep von javascript ... Da es aber keine echte Dep ist hast Du das ggf manuell im javascript Adapter mal installiert!

                                  Noble 1.9.1 ist 3 Jahre akt und nicht mit nodejs 12 kompatibel ... damit alles eindeutig. Noble muss auf @abandonware/noble 1.9.2-10 aktualisiert werden, das aktualisiert dann das .bluetooth-hci-socketmit ... Fertig

                                  Also: Wo kam das noble her?

                                  P Offline
                                  P Offline
                                  peterfido
                                  schrieb am zuletzt editiert von
                                  #28

                                  @apollon77
                                  Danke für die Antwort. Ich kann mich erinnern, mal mit dem Radar / Radar2 -Adapter Bluetooth Geräte ausgewertet zu haben.

                                  Den nutze ich allerdings nicht mehr. Hatte den auch nochmal installiert und wieder entfernt. Brachte keine Besserung. Dann nochmal mittels der --safe Option entfernt. Das war dann schlecht, da einiges Anderes auch nicht mehr lief. Also im Proxmox zurückgerollt und mich um was Anderes als den Fehler gekümmert...

                                  Die Abhängigkeit zu noble hatte ich auch entdeckt und dann noble mal "zu Fuss" entfernt. Da dann eine Meldung kam, dass 12 Sachen deinstalliert wurden, bin ich auch da wieder zurückgerollt...

                                  Gruß

                                  Peterfido

                                  1 Antwort Letzte Antwort
                                  0
                                  • P Offline
                                    P Offline
                                    peterfido
                                    schrieb am zuletzt editiert von
                                    #29

                                    Noble war im Javascript Adapter angegeben. Das habe ich mal entfernt. Dann tauchte es noch in der package.json vom Javascript Adapter auf.

                                    Auch direkt unter iobroker wurde es gelistet. Also uninstall.

                                    Jetzt gibt es nur noch ein paar Warnungen:

                                    $ ./iobroker del logparser
                                    Delete adapter "logparser"
                                    host.proxbroker Counted 1 instances of logparser
                                    host.proxbroker Counted 1 meta of logparser
                                    host.proxbroker Counted 1 adapter for logparser
                                    host.proxbroker Counted 33 states of logparser
                                    host.proxbroker Counted 15 states of system.adapter.logparser
                                    host.proxbroker Counted 33 states (io.logparser.*) from states
                                    host.proxbroker Counted 16 states (system.adapter.logparser.*) from states
                                    host.proxbroker Counted 1 objects of logparser
                                    host.proxbroker file logparser.admin deleted
                                    host.proxbroker object logparser.admin deletedhost.proxbroker Deleting 52 object(s).
                                    host.proxbroker Deleting 49 state(s).
                                    npm uninstall iobroker.logparser --error --prefix "/opt/iobroker" (System call)
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    npm
                                    
                                    WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):npm 
                                    WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/zigbee-herdsman/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman/node_modules/jest-haste-map/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                    
                                    process exited with code 0
                                    

                                    Die scheinen dann wohl normal zu sein. Bremsen auch nicht so wie der Bluetooth-Kram aus.

                                    Gruß

                                    Peterfido

                                    apollon77A 1 Antwort Letzte Antwort
                                    0
                                    • P peterfido

                                      Noble war im Javascript Adapter angegeben. Das habe ich mal entfernt. Dann tauchte es noch in der package.json vom Javascript Adapter auf.

                                      Auch direkt unter iobroker wurde es gelistet. Also uninstall.

                                      Jetzt gibt es nur noch ein paar Warnungen:

                                      $ ./iobroker del logparser
                                      Delete adapter "logparser"
                                      host.proxbroker Counted 1 instances of logparser
                                      host.proxbroker Counted 1 meta of logparser
                                      host.proxbroker Counted 1 adapter for logparser
                                      host.proxbroker Counted 33 states of logparser
                                      host.proxbroker Counted 15 states of system.adapter.logparser
                                      host.proxbroker Counted 33 states (io.logparser.*) from states
                                      host.proxbroker Counted 16 states (system.adapter.logparser.*) from states
                                      host.proxbroker Counted 1 objects of logparser
                                      host.proxbroker file logparser.admin deleted
                                      host.proxbroker object logparser.admin deletedhost.proxbroker Deleting 52 object(s).
                                      host.proxbroker Deleting 49 state(s).
                                      npm uninstall iobroker.logparser --error --prefix "/opt/iobroker" (System call)
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      npm
                                      
                                      WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):npm 
                                      WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/zigbee-herdsman/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman/node_modules/jest-haste-map/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      
                                      process exited with code 0
                                      

                                      Die scheinen dann wohl normal zu sein. Bremsen auch nicht so wie der Bluetooth-Kram aus.

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

                                      @peterfido J die sind ok weil optionale deps die unter linux nicht relevant sind

                                      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
                                      P 1 Antwort Letzte Antwort
                                      0
                                      • apollon77A apollon77

                                        @peterfido J die sind ok weil optionale deps die unter linux nicht relevant sind

                                        P Offline
                                        P Offline
                                        peterfido
                                        schrieb am zuletzt editiert von peterfido
                                        #31

                                        @apollon77

                                        Ich habe "meine" States alle nach 0_userdata.0 portiert gehabt. Dafür braucht man die Scriptengine 4.6.20 oder höher, damit da von CreateState nichts überschrieben wird. Daher habe ich das von 4.6.17 geupdatet.

                                        Nach ein paar Tagen fehlten mir die Werte. Nachgesehen und - nanu? - Scriptengine wieder die 4.6.17. Also wieder ein Update auf 4.8.4.

                                        Heute auf einen neuen Server umgezogen. Wieder fehlten mir die Werte 👿
                                        Also wieder auf 4.8.4 aktualisiert. Unter Adapter wurde mir auch die 4.8.4 angezeigt. Unter Infos>Updates jedoch noch die Möglichkeit von 4.6.17 auf 4.8.4 zu aktualisieren. Demnach lief das Update nicht sauber durch. Also auf die Suche gemacht und eine Lösung gefunden.

                                        Seit ich

                                        peter@proxbroker:/opt/iobroker$ npm i fsevents@latest -f --save-optional
                                        

                                        ausgeführt habe, tauchen die Warnungen mit fsevents nicht mehr auf und auch die ScriptEngine scheint endlich wirklich aktualisiert worden zu sein.

                                        Hier die Ausgabe de oben genannten Befehls:

                                        peter@proxbroker:/opt/iobroker$ npm i fsevents@latest -f --save-optional
                                        [sudo] Passwort für peter:
                                        npm WARN using --force I sure hope you know what you are doing.
                                        
                                        > osx-temperature-sensor@1.0.7 install /opt/iobroker/node_modules/osx-temperature-sensor
                                        > node-gyp rebuild
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/osx-temperature-sensor/build“ wird betreten
                                          SOLINK_MODULE(target) Release/obj.target/none.node
                                          COPY Release/none.node
                                        make: Verzeichnis „/opt/iobroker/node_modules/osx-temperature-sensor/build“ wird verlassen
                                        
                                        > fsevents@1.2.13 install /opt/iobroker/node_modules/zigbee-herdsman/node_modules/fsevents
                                        > node install.js
                                        
                                        
                                        Skipping 'fsevents' build as platform linux is not supported
                                        + fsevents@2.2.1
                                        added 6 packages from 6 contributors and removed 17 packages in 12.206s
                                        
                                        53 packages are looking for funding
                                          run `npm fund` for details
                                        
                                        peter@proxbroker:/opt/iobroker$
                                        
                                        

                                        Gruß

                                        Peterfido

                                        1 Antwort Letzte Antwort
                                        0
                                        • apollon77A Offline
                                          apollon77A Offline
                                          apollon77
                                          schrieb am zuletzt editiert von
                                          #32

                                          Also es wäre mal cool ein uzpdate log von javascript zu sehen, weil das ewas Du so beschreibst kann nur passieren wenn das Update nicht tut.

                                          fsevents ist ein Macos Package und ist optional ... es wird also nicht irgendein update aufhalten. Da macht als irgendwas keinen echten Sinn.

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

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

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

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

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


                                          Support us

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

                                          269

                                          Online

                                          32.9k

                                          Benutzer

                                          83.0k

                                          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