Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

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

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Testinstallation unter Node 12.6.0

Scheduled Pinned Locked Moved ioBroker Allgemein
testsystemnode 12
41 Posts 5 Posters 5.3k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • StabilostickS Offline
    StabilostickS Offline
    Stabilostick
    wrote on last edited by Stabilostick
    #21

    Also dem, was vor dem hier passiert ist:

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: `node-pre-gyp instal                                                                                                                                                             l --fallback-to-build`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional log                                                                                                                                                             ging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2019-07-14T17_43_34_011Z-debug.log
    

    Oder das Log davon: /root/.npm/_logs/2019-07-14T17_43_34_011Z-debug.log

    1 Reply Last reply
    0
    • MathiasJM Offline
      MathiasJM Offline
      MathiasJ
      wrote on last edited by MathiasJ
      #22

      So,
      die Logfile dann doch gefunden und habe sie hier als txt-datei angehängt.
      Ich weiß nicht, nach was ich suchen soll :confused:

      2019-07-14T17_43_34_011Z-debug.log

      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 Reply Last reply
      0
      • MathiasJM MathiasJ

        So,
        die Logfile dann doch gefunden und habe sie hier als txt-datei angehängt.
        Ich weiß nicht, nach was ich suchen soll :confused:

        2019-07-14T17_43_34_011Z-debug.log

        AlCalzoneA Offline
        AlCalzoneA Offline
        AlCalzone
        Developer
        wrote on last edited by
        #23

        @MathiasJ
        Du hast npm i @abandonware/bluetooth-hci-socket nicht wie gefordert

        im ioBroker-Ordner

        sondern in / ausgeführt. Mach das bitte nochmal in /opt/iobroker.

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

        MathiasJM 1 Reply Last reply
        0
        • AlCalzoneA AlCalzone

          @MathiasJ
          Du hast npm i @abandonware/bluetooth-hci-socket nicht wie gefordert

          im ioBroker-Ordner

          sondern in / ausgeführt. Mach das bitte nochmal in /opt/iobroker.

          MathiasJM Offline
          MathiasJM Offline
          MathiasJ
          wrote on last edited by
          #24

          @AlCalzone

          Dann beekomme ich das:

          node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:203:13)
          node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
          node-pre-gyp ERR! System Linux 4.19.57-rockchip
          node-pre-gyp ERR! command "/usr/bin/node" "/root/node_modules/@abandonware/bluetooth-hci-socket/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
          node-pre-gyp ERR! cwd /root/node_modules/@abandonware/bluetooth-hci-socket
          node-pre-gyp ERR! node -v v12.6.0
          node-pre-gyp ERR! node-pre-gyp -v v0.12.0
          node-pre-gyp ERR! not ok
          
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: `node-pre-gyp install --fallback-to-build`
          npm ERR! Exit status 1
          npm ERR!
          npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 install script.
          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /root/.npm/_logs/2019-07-18T04_44_00_892Z-debug.log
          

          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 Reply Last reply
          0
          • MathiasJM MathiasJ

            @AlCalzone

            Dann beekomme ich das:

            node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:203:13)
            node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
            node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
            node-pre-gyp ERR! System Linux 4.19.57-rockchip
            node-pre-gyp ERR! command "/usr/bin/node" "/root/node_modules/@abandonware/bluetooth-hci-socket/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
            node-pre-gyp ERR! cwd /root/node_modules/@abandonware/bluetooth-hci-socket
            node-pre-gyp ERR! node -v v12.6.0
            node-pre-gyp ERR! node-pre-gyp -v v0.12.0
            node-pre-gyp ERR! not ok
            
            npm ERR! code ELIFECYCLE
            npm ERR! errno 1
            npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: `node-pre-gyp install --fallback-to-build`
            npm ERR! Exit status 1
            npm ERR!
            npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 install script.
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /root/.npm/_logs/2019-07-18T04_44_00_892Z-debug.log
            

            Gruß,
            Mathias

            AlCalzoneA Offline
            AlCalzoneA Offline
            AlCalzone
            Developer
            wrote on last edited by
            #25

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

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

            StabilostickS 1 Reply Last reply
            0
            • MathiasJM Offline
              MathiasJM Offline
              MathiasJ
              wrote on last edited by
              #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 Reply Last reply
              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
                wrote on last edited by 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 Reply Last reply
                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
                  wrote on last edited by
                  #28

                  @Stabilostick Hast Recht

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

                  1 Reply Last reply
                  0
                  • MathiasJM Offline
                    MathiasJM Offline
                    MathiasJ
                    wrote on last edited by 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 Reply Last reply
                    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
                      wrote on last edited by
                      #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 Reply Last reply
                      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
                        wrote on last edited by
                        #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 Reply Last reply
                        0
                        • MathiasJM Offline
                          MathiasJM Offline
                          MathiasJ
                          wrote on last edited by
                          #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 Reply Last reply
                          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
                            wrote on last edited by
                            #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 Replies Last reply
                            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
                              wrote on last edited by
                              #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 Reply Last reply
                              0
                              • MathiasJM MathiasJ

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

                                AlCalzoneA Offline
                                AlCalzoneA Offline
                                AlCalzone
                                Developer
                                wrote on last edited by
                                #35

                                @MathiasJ Dankeschön!

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

                                1 Reply Last reply
                                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
                                  wrote on last edited by
                                  #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 Replies Last reply
                                  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
                                    wrote on last edited by
                                    #37

                                    @Segway Und nutzt du auch den BLE-Adapter?

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

                                    1 Reply Last reply
                                    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
                                      wrote on last edited by
                                      #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 Reply Last reply
                                      0
                                      • SegwayS Offline
                                        SegwayS Offline
                                        Segway
                                        wrote on last edited by
                                        #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 Replies Last reply
                                        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
                                          wrote on last edited by
                                          #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 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          751

                                          Online

                                          32.6k

                                          Users

                                          82.2k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe