Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Testinstallation unter Node 12.6.0

NEWS

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

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

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

Testinstallation unter Node 12.6.0

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
testsystemnode 12
41 Beiträge 5 Kommentatoren 5.0k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • MathiasJM Offline
    MathiasJM Offline
    MathiasJ
    schrieb am zuletzt editiert von
    #26

    Mache ich, wenn ich wieder zuhause bin.
    Dann wiederhole ich den Befehl und sende es Dir....
    Nun hopp hopp zur Arbeit

    IObroker auf dem NUC als VM.
    Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
    Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

    1 Antwort Letzte Antwort
    0
    • AlCalzoneA AlCalzone

      @MathiasJ Wenn der Log anfängt mit stack at ... ist er nicht vollständig :( Ich brauche alles ab Befehlseingabe

      StabilostickS Offline
      StabilostickS Offline
      Stabilostick
      schrieb am zuletzt editiert von Stabilostick
      #27

      @AlCalzone

      Sehe ich da nicht schon wieder in seinem Log-Schnipsel:

      command "/usr/bin/node" "/root/node_modules/@abandonware/bluetooth-hci-socket/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      

      Also den /root-User Ordner?

      AlCalzoneA 1 Antwort Letzte Antwort
      0
      • StabilostickS Stabilostick

        @AlCalzone

        Sehe ich da nicht schon wieder in seinem Log-Schnipsel:

        command "/usr/bin/node" "/root/node_modules/@abandonware/bluetooth-hci-socket/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
        

        Also den /root-User Ordner?

        AlCalzoneA Offline
        AlCalzoneA Offline
        AlCalzone
        Developer
        schrieb am zuletzt editiert von
        #28

        @Stabilostick Hast Recht

        Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

        1 Antwort Letzte Antwort
        0
        • MathiasJM Offline
          MathiasJM Offline
          MathiasJ
          schrieb am zuletzt editiert von MathiasJ
          #29

          dann stimmt aber etwas anderes nicht. ich habe 2 mal den befehl ausgeführt:
          cd /opt/iobroker, dann erst Euren Befehl.
          Als Anhang der komplette Log als txt-Datei.
          Gruß,
          Mathias

          log.txt

          IObroker auf dem NUC als VM.
          Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
          Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

          StabilostickS 1 Antwort Letzte Antwort
          0
          • MathiasJM MathiasJ

            dann stimmt aber etwas anderes nicht. ich habe 2 mal den befehl ausgeführt:
            cd /opt/iobroker, dann erst Euren Befehl.
            Als Anhang der komplette Log als txt-Datei.
            Gruß,
            Mathias

            log.txt

            StabilostickS Offline
            StabilostickS Offline
            Stabilostick
            schrieb am zuletzt editiert von
            #30

            @MathiasJ
            Hattest Du das schon mal vorher ausgeführt?

            sudo apt-get install libbluetooth-dev
            

            Steht in https://github.com/song940/node-bluetooth
            Da steht auch, dass sie vor 10 Monaten Node 10 Kompatibilität eingebaut haben.

            MathiasJM 1 Antwort Letzte Antwort
            0
            • StabilostickS Stabilostick

              @MathiasJ
              Hattest Du das schon mal vorher ausgeführt?

              sudo apt-get install libbluetooth-dev
              

              Steht in https://github.com/song940/node-bluetooth
              Da steht auch, dass sie vor 10 Monaten Node 10 Kompatibilität eingebaut haben.

              MathiasJM Offline
              MathiasJM Offline
              MathiasJ
              schrieb am zuletzt editiert von
              #31

              @Stabilostick
              ist schon die neueste Version.

              root@tinkerboard:~# sudo apt-get install libbluetooth-dev
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              libbluetooth-dev is already the newest version (5.43-2+deb9u1).
              0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
              root@tinkerboard:~#
              

              Gruß,
              Mathias

              IObroker auf dem NUC als VM.
              Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
              Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

              1 Antwort Letzte Antwort
              0
              • MathiasJM Offline
                MathiasJM Offline
                MathiasJ
                schrieb am zuletzt editiert von
                #32

                Na, hat niemand eine Idee?
                Ansonsten muß icch dann die testinstallation einstampfen.
                Die produktive Installation läuft ja unter Node 10.

                IObroker auf dem NUC als VM.
                Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                AlCalzoneA 1 Antwort Letzte Antwort
                0
                • MathiasJM MathiasJ

                  Na, hat niemand eine Idee?
                  Ansonsten muß icch dann die testinstallation einstampfen.
                  Die produktive Installation läuft ja unter Node 10.

                  AlCalzoneA Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  schrieb am zuletzt editiert von
                  #33

                  @MathiasJ

                  Da ist der interessante Part:

                  @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                  node-pre-gyp install --fallback-to-build

                  node-pre-gyp WARN Using request for node-pre-gyp https download
                  node-pre-gyp WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v72-linux-arm.tar.gz
                  node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@12.6.0 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
                  make: Entering directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
                  CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                  ../src/BluetoothHciSocket.cpp: In static member function 'static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)':
                  ../src/BluetoothHciSocket.cpp:129:82: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
                  target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());
                  ^
                  In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)
                  V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                  ^~~~~~~~~~~
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
                  ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()':
                  ../src/BluetoothHciSocket.cpp:252:95: warning: 'v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::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:0:
                  ../../../nan/nan.h:1045:46: note: declared here
                  NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
                  ^~~~~~~~~~~~
                  ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
                  ../src/BluetoothHciSocket.cpp:270:109: warning: 'v8::Localv8::Value v8::Object::Get(v8::Localv8::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/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
                  V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
                  ^
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                  declarator attribute((deprecated(message)))
                  ^~~~~~~~~~
                  ../src/BluetoothHciSocket.cpp:283:93: warning: 'v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::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:0:
                  ../../../nan/nan.h:1045:46: note: declared here
                  NAN_DEPRECATED inline v8::Localv8::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:396:34: error: no matching function for call to 'v8::Value::IntegerValue()'
                  devId = arg0->IntegerValue();
                  ^
                  In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate: v8::Maybe<long long int> v8::Value::IntegerValue(v8::Localv8::Context) const
                  V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                  ^~~~~~~~~~~~
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565: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:418:34: error: no matching function for call to 'v8::Value::IntegerValue()'
                  devId = arg0->IntegerValue();
                  ^
                  In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate: v8::Maybe<long long int> v8::Value::IntegerValue(v8::Localv8::Context) const
                  V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                  ^~~~~~~~~~~~
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
                  ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::GetDeviceList(Nan::NAN_METHOD_ARGS_TYPE)':
                  ../src/BluetoothHciSocket.cpp:471:77: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                  obj->Set(Nan::New("devId").ToLocalChecked(), Nan::New<Number>(devId));
                  ^
                  In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                  bool Set(Local<Value> key, Local<Value> value));
                  ^
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                  declarator attribute((deprecated(message)))
                  ^~~~~~~~~~
                  ../src/BluetoothHciSocket.cpp:472:78: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                  obj->Set(Nan::New("devUp").ToLocalChecked(), Nan::New<Boolean>(devUp));
                  ^
                  In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                  bool Set(Local<Value> key, Local<Value> value));
                  ^
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                  declarator attribute((deprecated(message)))
                  ^~~~~~~~~~
                  ../src/BluetoothHciSocket.cpp:473:68: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                  obj->Set(Nan::New("idVendor").ToLocalChecked(), Nan::Null());
                  ^
                  In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                  bool Set(Local<Value> key, Local<Value> value));
                  ^
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                  declarator attribute((deprecated(message)))
                  ^~~~~~~~~~
                  ../src/BluetoothHciSocket.cpp:474:69: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                  obj->Set(Nan::New("idProduct").ToLocalChecked(), Nan::Null());
                  ^
                  In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                  bool Set(Local<Value> key, Local<Value> value));
                  ^
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                  declarator attribute((deprecated(message)))
                  ^~~~~~~~~~
                  ../src/BluetoothHciSocket.cpp:475:69: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                  obj->Set(Nan::New("busNumber").ToLocalChecked(), Nan::Null());
                  ^
                  In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                  bool Set(Local<Value> key, Local<Value> value));
                  ^
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                  declarator attribute((deprecated(message)))
                  ^~~~~~~~~~
                  ../src/BluetoothHciSocket.cpp:476:73: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                  obj->Set(Nan::New("deviceAddress").ToLocalChecked(), Nan::Null());
                  ^
                  In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                  from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                  from ../src/BluetoothHciSocket.cpp:7:
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                  bool Set(Local<Value> key, Local<Value> value));
                  ^
                  /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                  declarator attribute((deprecated(message)))
                  ^~~~~~~~~~
                  binding.target.mk:105: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed
                  make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1
                  make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
                  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:262:23)
                  gyp ERR! stack at ChildProcess.emit (events.js:203:13)
                  gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
                  gyp ERR! System Linux 4.19.57-rockchip
                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" "--module_name=binding" "--module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                  gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                  gyp ERR! node -v v12.6.0
                  gyp ERR! node-gyp -v v3.8.0
                  gyp ERR! not ok

                  Dabei handelt es sich tatsächlich um einen Fehler bei der Kompilierung. Node 12 geht also wohl doch noch nicht.

                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                  MathiasJM SegwayS 2 Antworten Letzte Antwort
                  0
                  • AlCalzoneA AlCalzone

                    @MathiasJ

                    Da ist der interessante Part:

                    @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                    node-pre-gyp install --fallback-to-build

                    node-pre-gyp WARN Using request for node-pre-gyp https download
                    node-pre-gyp WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v72-linux-arm.tar.gz
                    node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@12.6.0 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
                    make: Entering directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
                    CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                    ../src/BluetoothHciSocket.cpp: In static member function 'static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)':
                    ../src/BluetoothHciSocket.cpp:129:82: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
                    target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());
                    ^
                    In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)
                    V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                    ^~~~~~~~~~~
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
                    ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()':
                    ../src/BluetoothHciSocket.cpp:252:95: warning: 'v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::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:0:
                    ../../../nan/nan.h:1045:46: note: declared here
                    NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
                    ^~~~~~~~~~~~
                    ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
                    ../src/BluetoothHciSocket.cpp:270:109: warning: 'v8::Localv8::Value v8::Object::Get(v8::Localv8::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/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
                    V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
                    ^
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                    declarator attribute((deprecated(message)))
                    ^~~~~~~~~~
                    ../src/BluetoothHciSocket.cpp:283:93: warning: 'v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::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:0:
                    ../../../nan/nan.h:1045:46: note: declared here
                    NAN_DEPRECATED inline v8::Localv8::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:396:34: error: no matching function for call to 'v8::Value::IntegerValue()'
                    devId = arg0->IntegerValue();
                    ^
                    In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate: v8::Maybe<long long int> v8::Value::IntegerValue(v8::Localv8::Context) const
                    V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                    ^~~~~~~~~~~~
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565: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:418:34: error: no matching function for call to 'v8::Value::IntegerValue()'
                    devId = arg0->IntegerValue();
                    ^
                    In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate: v8::Maybe<long long int> v8::Value::IntegerValue(v8::Localv8::Context) const
                    V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                    ^~~~~~~~~~~~
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
                    ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::GetDeviceList(Nan::NAN_METHOD_ARGS_TYPE)':
                    ../src/BluetoothHciSocket.cpp:471:77: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                    obj->Set(Nan::New("devId").ToLocalChecked(), Nan::New<Number>(devId));
                    ^
                    In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                    bool Set(Local<Value> key, Local<Value> value));
                    ^
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                    declarator attribute((deprecated(message)))
                    ^~~~~~~~~~
                    ../src/BluetoothHciSocket.cpp:472:78: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                    obj->Set(Nan::New("devUp").ToLocalChecked(), Nan::New<Boolean>(devUp));
                    ^
                    In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                    bool Set(Local<Value> key, Local<Value> value));
                    ^
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                    declarator attribute((deprecated(message)))
                    ^~~~~~~~~~
                    ../src/BluetoothHciSocket.cpp:473:68: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                    obj->Set(Nan::New("idVendor").ToLocalChecked(), Nan::Null());
                    ^
                    In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                    bool Set(Local<Value> key, Local<Value> value));
                    ^
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                    declarator attribute((deprecated(message)))
                    ^~~~~~~~~~
                    ../src/BluetoothHciSocket.cpp:474:69: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                    obj->Set(Nan::New("idProduct").ToLocalChecked(), Nan::Null());
                    ^
                    In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                    bool Set(Local<Value> key, Local<Value> value));
                    ^
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                    declarator attribute((deprecated(message)))
                    ^~~~~~~~~~
                    ../src/BluetoothHciSocket.cpp:475:69: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                    obj->Set(Nan::New("busNumber").ToLocalChecked(), Nan::Null());
                    ^
                    In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                    bool Set(Local<Value> key, Local<Value> value));
                    ^
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                    declarator attribute((deprecated(message)))
                    ^~~~~~~~~~
                    ../src/BluetoothHciSocket.cpp:476:73: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                    obj->Set(Nan::New("deviceAddress").ToLocalChecked(), Nan::Null());
                    ^
                    In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                    from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                    from ../src/BluetoothHciSocket.cpp:7:
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                    bool Set(Local<Value> key, Local<Value> value));
                    ^
                    /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                    declarator attribute((deprecated(message)))
                    ^~~~~~~~~~
                    binding.target.mk:105: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed
                    make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1
                    make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
                    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:262:23)
                    gyp ERR! stack at ChildProcess.emit (events.js:203:13)
                    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
                    gyp ERR! System Linux 4.19.57-rockchip
                    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" "--module_name=binding" "--module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                    gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                    gyp ERR! node -v v12.6.0
                    gyp ERR! node-gyp -v v3.8.0
                    gyp ERR! not ok

                    Dabei handelt es sich tatsächlich um einen Fehler bei der Kompilierung. Node 12 geht also wohl doch noch nicht.

                    MathiasJM Offline
                    MathiasJM Offline
                    MathiasJ
                    schrieb am zuletzt editiert von
                    #34

                    @AlCalzone
                    Sagte ich doch!
                    Dann kann ich mein Testsystem beruhigt wieder abbauen.
                    Gruß,
                    Mathias

                    IObroker auf dem NUC als VM.
                    Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                    Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                    AlCalzoneA 1 Antwort Letzte Antwort
                    0
                    • MathiasJM MathiasJ

                      @AlCalzone
                      Sagte ich doch!
                      Dann kann ich mein Testsystem beruhigt wieder abbauen.
                      Gruß,
                      Mathias

                      AlCalzoneA Offline
                      AlCalzoneA Offline
                      AlCalzone
                      Developer
                      schrieb am zuletzt editiert von
                      #35

                      @MathiasJ Dankeschön!

                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                      1 Antwort Letzte Antwort
                      0
                      • AlCalzoneA AlCalzone

                        @MathiasJ

                        Da ist der interessante Part:

                        @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                        node-pre-gyp install --fallback-to-build

                        node-pre-gyp WARN Using request for node-pre-gyp https download
                        node-pre-gyp WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v72-linux-arm.tar.gz
                        node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@12.6.0 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
                        make: Entering directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
                        CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
                        ../src/BluetoothHciSocket.cpp: In static member function 'static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)':
                        ../src/BluetoothHciSocket.cpp:129:82: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()'
                        target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction());
                        ^
                        In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocalv8::Function v8::FunctionTemplate::GetFunction(v8::Localv8::Context)
                        V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                        ^~~~~~~~~~~
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided
                        ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()':
                        ../src/BluetoothHciSocket.cpp:252:95: warning: 'v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::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:0:
                        ../../../nan/nan.h:1045:46: note: declared here
                        NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
                        ^~~~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
                        ../src/BluetoothHciSocket.cpp:270:109: warning: 'v8::Localv8::Value v8::Object::Get(v8::Localv8::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/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here
                        V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
                        ^
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:283:93: warning: 'v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::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:0:
                        ../../../nan/nan.h:1045:46: note: declared here
                        NAN_DEPRECATED inline v8::Localv8::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:396:34: error: no matching function for call to 'v8::Value::IntegerValue()'
                        devId = arg0->IntegerValue();
                        ^
                        In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate: v8::Maybe<long long int> v8::Value::IntegerValue(v8::Localv8::Context) const
                        V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                        ^~~~~~~~~~~~
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565: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:418:34: error: no matching function for call to 'v8::Value::IntegerValue()'
                        devId = arg0->IntegerValue();
                        ^
                        In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate: v8::Maybe<long long int> v8::Value::IntegerValue(v8::Localv8::Context) const
                        V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                        ^~~~~~~~~~~~
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided
                        ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::GetDeviceList(Nan::NAN_METHOD_ARGS_TYPE)':
                        ../src/BluetoothHciSocket.cpp:471:77: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                        obj->Set(Nan::New("devId").ToLocalChecked(), Nan::New<Number>(devId));
                        ^
                        In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                        bool Set(Local<Value> key, Local<Value> value));
                        ^
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:472:78: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                        obj->Set(Nan::New("devUp").ToLocalChecked(), Nan::New<Boolean>(devUp));
                        ^
                        In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                        bool Set(Local<Value> key, Local<Value> value));
                        ^
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:473:68: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                        obj->Set(Nan::New("idVendor").ToLocalChecked(), Nan::Null());
                        ^
                        In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                        bool Set(Local<Value> key, Local<Value> value));
                        ^
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:474:69: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                        obj->Set(Nan::New("idProduct").ToLocalChecked(), Nan::Null());
                        ^
                        In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                        bool Set(Local<Value> key, Local<Value> value));
                        ^
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:475:69: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                        obj->Set(Nan::New("busNumber").ToLocalChecked(), Nan::Null());
                        ^
                        In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                        bool Set(Local<Value> key, Local<Value> value));
                        ^
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp:476:73: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
                        obj->Set(Nan::New("deviceAddress").ToLocalChecked(), Nan::Null());
                        ^
                        In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63,
                        from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25,
                        from ../src/BluetoothHciSocket.cpp:7:
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
                        bool Set(Local<Value> key, Local<Value> value));
                        ^
                        /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
                        declarator attribute((deprecated(message)))
                        ^~~~~~~~~~
                        binding.target.mk:105: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed
                        make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1
                        make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
                        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:262:23)
                        gyp ERR! stack at ChildProcess.emit (events.js:203:13)
                        gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
                        gyp ERR! System Linux 4.19.57-rockchip
                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" "--module_name=binding" "--module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                        gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                        gyp ERR! node -v v12.6.0
                        gyp ERR! node-gyp -v v3.8.0
                        gyp ERR! not ok

                        Dabei handelt es sich tatsächlich um einen Fehler bei der Kompilierung. Node 12 geht also wohl doch noch nicht.

                        SegwayS Offline
                        SegwayS Offline
                        Segway
                        schrieb am zuletzt editiert von
                        #36

                        @AlCalzone sagte in Testinstallation unter Node 12.6.0:

                        Node 12 geht also wohl doch noch nicht.

                        Bei mir läuft node12 einwandfrei seit mehreren Tagen auf meinem Testsystem !
                        adbec797-be43-4ff1-8f17-1b4585e09c6f-image.png

                        Gruß Dirk
                        Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

                        AlCalzoneA MathiasJM 2 Antworten Letzte Antwort
                        0
                        • SegwayS Segway

                          @AlCalzone sagte in Testinstallation unter Node 12.6.0:

                          Node 12 geht also wohl doch noch nicht.

                          Bei mir läuft node12 einwandfrei seit mehreren Tagen auf meinem Testsystem !
                          adbec797-be43-4ff1-8f17-1b4585e09c6f-image.png

                          AlCalzoneA Offline
                          AlCalzoneA Offline
                          AlCalzone
                          Developer
                          schrieb am zuletzt editiert von
                          #37

                          @Segway Und nutzt du auch den BLE-Adapter?

                          Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                          1 Antwort Letzte Antwort
                          0
                          • SegwayS Segway

                            @AlCalzone sagte in Testinstallation unter Node 12.6.0:

                            Node 12 geht also wohl doch noch nicht.

                            Bei mir läuft node12 einwandfrei seit mehreren Tagen auf meinem Testsystem !
                            adbec797-be43-4ff1-8f17-1b4585e09c6f-image.png

                            MathiasJM Offline
                            MathiasJM Offline
                            MathiasJ
                            schrieb am zuletzt editiert von
                            #38

                            @Segway
                            und den Adapter Radar2 nutzt Du auch unter node 12.6.0 nicht?
                            Der läuft auf Node 12.6.0 nämlich auch nur mit hcitool only.

                            IObroker auf dem NUC als VM.
                            Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                            Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                            1 Antwort Letzte Antwort
                            0
                            • SegwayS Offline
                              SegwayS Offline
                              Segway
                              schrieb am zuletzt editiert von
                              #39

                              Nein benutze ich nicht ... brauche das so nicht bzw. habe es anders gelöst.
                              Hätte deutlicher schreiben sollen dass grundsätzlich node 12 funktioniert nur halt mit einigen Adaptern (noch) nicht. Das wird schnell überlesen und wenn dann nur noch sowas steht

                              @AlCalzone sagte in Testinstallation unter Node 12.6.0:

                              Dabei handelt es sich tatsächlich um einen Fehler bei der Kompilierung. Node 12 geht also wohl doch noch nicht.

                              dann gilt das lediglich für den Adapter aber nicht für das gesamte System oder andere Adapter :-) ist ja nicht umsonst der Hinweis. Aber viele Standard-Adapter gehen ja bereits.

                              Gruß Dirk
                              Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

                              MathiasJM AlCalzoneA 2 Antworten Letzte Antwort
                              0
                              • SegwayS Segway

                                Nein benutze ich nicht ... brauche das so nicht bzw. habe es anders gelöst.
                                Hätte deutlicher schreiben sollen dass grundsätzlich node 12 funktioniert nur halt mit einigen Adaptern (noch) nicht. Das wird schnell überlesen und wenn dann nur noch sowas steht

                                @AlCalzone sagte in Testinstallation unter Node 12.6.0:

                                Dabei handelt es sich tatsächlich um einen Fehler bei der Kompilierung. Node 12 geht also wohl doch noch nicht.

                                dann gilt das lediglich für den Adapter aber nicht für das gesamte System oder andere Adapter :-) ist ja nicht umsonst der Hinweis. Aber viele Standard-Adapter gehen ja bereits.

                                MathiasJM Offline
                                MathiasJM Offline
                                MathiasJ
                                schrieb am zuletzt editiert von
                                #40

                                @Segway
                                Bei mir lief die Testinstallation auch unter Node 12.
                                Nur die Adapter Radar2 mit noble und eben BLE nicht.
                                Das habe ich ja mehrfach erwähnt.

                                IObroker auf dem NUC als VM.
                                Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                                Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                                1 Antwort Letzte Antwort
                                0
                                • SegwayS Segway

                                  Nein benutze ich nicht ... brauche das so nicht bzw. habe es anders gelöst.
                                  Hätte deutlicher schreiben sollen dass grundsätzlich node 12 funktioniert nur halt mit einigen Adaptern (noch) nicht. Das wird schnell überlesen und wenn dann nur noch sowas steht

                                  @AlCalzone sagte in Testinstallation unter Node 12.6.0:

                                  Dabei handelt es sich tatsächlich um einen Fehler bei der Kompilierung. Node 12 geht also wohl doch noch nicht.

                                  dann gilt das lediglich für den Adapter aber nicht für das gesamte System oder andere Adapter :-) ist ja nicht umsonst der Hinweis. Aber viele Standard-Adapter gehen ja bereits.

                                  AlCalzoneA Offline
                                  AlCalzoneA Offline
                                  AlCalzone
                                  Developer
                                  schrieb am zuletzt editiert von
                                  #41

                                  @Segway meine Aussage war bezogen auf Matthias tests mit BLE, nicht auf node12 ansich

                                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                  1 Antwort Letzte Antwort
                                  0
                                  Antworten
                                  • In einem neuen Thema antworten
                                  Anmelden zum Antworten
                                  • Älteste zuerst
                                  • Neuste zuerst
                                  • Meiste Stimmen


                                  Support us

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

                                  638

                                  Online

                                  32.4k

                                  Benutzer

                                  81.4k

                                  Themen

                                  1.3m

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

                                  • Du hast noch kein Konto? Registrieren

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