Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [How-to] Node.js für ioBroker richtig updaten

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FuLLHDvs480p @AlCalzone last edited by

      @AlCalzone Okay.

      Der npm rebuild läuft trotzdem nicht durch:

      rock64@rock64:/opt/iobroker$ npm rebuild
      
      > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
      > npm install node-pre-gyp
      
      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp
      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules
      npm ERR! path /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp
      npm ERR! code EACCES
      npm ERR! errno -13
      npm ERR! syscall access
      npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp'
      npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp']
      npm ERR!   stack:
      npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp\'',
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'access',
      npm ERR!   path:
      npm ERR!    '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp' }
      npm ERR!
      npm ERR! The operation was rejected by your operating system.
      npm ERR! It is likely you do not have the permissions to access this file as the current user
      npm ERR!
      npm ERR! If you believe this might be a permissions issue, please double-check the
      npm ERR! permissions of the file and its containing directories, or try running
      npm ERR! the command again as root/Administrator (though this is not recommended).
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/rock64/.npm/_logs/2019-07-26T14_46_23_187Z-debug.log
      npm ERR! code ELIFECYCLE
      npm ERR! errno 243
      npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall: `npm install node-pre-gyp`
      npm ERR! Exit status 243
      npm ERR!
      npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/rock64/.npm/_logs/2019-07-26T14_46_23_397Z-debug.log
      rock64@rock64:/opt/iobroker$
      

      Kann ich hingehen und den ganzen Ordner von dem bluetooth-hci-socket löschen?

      Stabilostick 1 Reply Last reply Reply Quote 0
      • Stabilostick
        Stabilostick @FuLLHDvs480p last edited by

        @FuLLHDvs480p

        Führe bitte die folgenden Befehle aus:

        cd /opt/iobroker
        iobroker stop
        sudo rm -r /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
        npm install @abandonware/bluetooth-hci-socket --force
        iobroker start
        
        F 1 Reply Last reply Reply Quote 0
        • F
          FuLLHDvs480p @Stabilostick last edited by FuLLHDvs480p

          @Stabilostick

          cd /opt/iobroker
          iobroker stop
          sudo rm -r /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
          npm install @abandonware/bluetooth-hci-socket --force
          

          ergab folgendes:

          rock64@rock64:~$ cd /opt/iobroker
          rock64@rock64:/opt/iobroker$ iobroker stop
          rock64@rock64:/opt/iobroker$ sudo rm -r /opt/iobroker/node_modules/@abandonware/                                                                                                             bluetooth-hci-socket
          [sudo] password for rock64:
          rock64@rock64:/opt/iobroker$ npm install @abandonware/bluetooth-hci-socket --force
          npm WARN using --force I sure hope you know what you are doing.
          
          > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetoot                                                                                      h-hci-socket
          > npm install node-pre-gyp
          
          npm WARN using --force I sure hope you know what you are doing.
          npm notice created a lockfile as package-lock.json. You should commit this file.
          + node-pre-gyp@0.12.0
          added 63 packages from 24 contributors, updated 1 package and audited 97 packages in 12.486s
          found 0 vulnerabilities
          
          
          > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_                                                                                      modules/bluetooth-hci-socket
          > node-gyp rebuild
          
          make: Entering directory '/opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/blu                                                                                      etooth-hci-socket/build'
            CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
          ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()':
          ../src/BluetoothHciSocket.cpp:251:95: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob                                                                                      ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
               Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                         ^
          In file included from ../src/BluetoothHciSocket.cpp:8:0:
          ../../../../nan/nan.h:980:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
          ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to 'v8::Function::NewInstanc                                                                                      e(int, v8::Local<v8::Value> [1])'
             Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                  ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v                                                                                      8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
             V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                      ^~~~~~~~~~~
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 prov                                                                                      ided
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v                                                                                      8::Function::NewInstance(v8::Local<v8::Context>) const
             V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                      ^~~~~~~~~~~
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provi                                                                                      ded
          ../src/BluetoothHciSocket.cpp:282:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob                                                                                      ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
             Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                       ^
          In file included from ../src/BluetoothHciSocket.cpp:8:0:
          ../../../../nan/nan.h:980:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH                                                                                      ciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/BluetoothHciSocket.cpp:395:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated:                                                                                       Use maybe version [-Wdeprecated-declarations]
                 devId = arg0->IntegerValue();
                                            ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
             V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                        ^
          /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT                                                                                      ED'
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH                                                                                      ciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/BluetoothHciSocket.cpp:417:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated:                                                                                       Use maybe version [-Wdeprecated-declarations]
                 devId = arg0->IntegerValue();
                                            ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
             V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                        ^
          /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT                                                                                      ED'
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          binding.target.mk:99: 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/iobroker.radar/node_modules/noble/node_modules/blue                                                                                      tooth-hci-socket/build'
          gyp ERR! build error
          gyp ERR! stack Error: `make` failed with exit code: 2
          gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/bu                                                                                      ild.js:262:23)
          gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
          gyp ERR! System Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
          gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js                                                                                      " "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-so                                                                                      cket
          gyp ERR! node -v v10.16.0
          gyp ERR! node-gyp -v v3.8.0
          gyp ERR! not ok
          
          > osx-temperature-sensor@1.0.3 install /opt/iobroker/node_modules/osx-temperature-sensor
          > node-gyp rebuild
          
          make: Entering directory '/opt/iobroker/node_modules/osx-temperature-sensor/build'
            SOLINK_MODULE(target) Release/obj.target/none.node
            COPY Release/none.node
          make: Leaving directory '/opt/iobroker/node_modules/osx-temperature-sensor/build'
          
          > xpc-connection@0.1.4 install /opt/iobroker/node_modules/xpc-connection
          > node-gyp rebuild
          
          make: Entering directory '/opt/iobroker/node_modules/xpc-connection/build'
            SOLINK_MODULE(target) Release/obj.target/binding.node
            COPY Release/binding.node
          make: Leaving directory '/opt/iobroker/node_modules/xpc-connection/build'
          
          > @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/@abandonware/bluetooth-h                                                                                      ci-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/re                                                                                      leases/download/0.5.3-1/binding-0.5.3-1-node-v64-linux-arm64.tar.gz
          node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@1                                                                                      0.16.0 (node-v64 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 member function 'void BluetoothHciSocket::poll()':
          ../src/BluetoothHciSocket.cpp:252:95: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob                                                                                      ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
               Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                         ^
          In file included from ../src/BluetoothHciSocket.cpp:8:0:
          ../../../nan/nan.h:1045:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
          ../src/BluetoothHciSocket.cpp:283:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob                                                                                      ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
             Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                       ^
          In file included from ../src/BluetoothHciSocket.cpp:8:0:
          ../../../nan/nan.h:1045:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH                                                                                      ciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/BluetoothHciSocket.cpp:396:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated:                                                                                       Use maybe version [-Wdeprecated-declarations]
                 devId = arg0->IntegerValue();
                                            ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
             V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                        ^
          /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT                                                                                      ED'
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH                                                                                      ciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/BluetoothHciSocket.cpp:418:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated:                                                                                       Use maybe version [-Wdeprecated-declarations]
                 devId = arg0->IntegerValue();
                                            ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
             V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                        ^
          /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT                                                                                      ED'
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
            SOLINK_MODULE(target) Release/obj.target/binding.node
            COPY Release/binding.node
            COPY /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node
            TOUCH Release/obj.target/action_after_build.stamp
          make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
          npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/bluetooth-hci-soc                                                                                      ket'
          npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-det                                                                                      ector'
          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.radar/node                                                                                      _modules/bluetooth-hci-socket/package.json'
          
          + @abandonware/bluetooth-hci-socket@0.5.3-1
          added 8 packages from 7 contributors and audited 19313 packages in 210.767s
          found 99 vulnerabilities (54 low, 5 moderate, 40 high)
            run `npm audit fix` to fix them, or `npm audit` for details
          rock64@rock64:/opt/iobroker$
          
          

          darauf das npm rebuild ergab:

          ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
          ../src/BluetoothHciSocket.cpp:283:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Ob                                                                                                                                      ject>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
             Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                       ^
          In file included from ../src/BluetoothHciSocket.cpp:8:0:
          ../../../nan/nan.h:1045:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH                                                                                                                                      ciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/BluetoothHciSocket.cpp:396:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated:                                                                                                                                       Use maybe version [-Wdeprecated-declarations]
                 devId = arg0->IntegerValue();
                                            ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
             V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                        ^
          /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT                                                                                                                                      ED'
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothH                                                                                                                                      ciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/BluetoothHciSocket.cpp:418:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated:                                                                                                                                       Use maybe version [-Wdeprecated-declarations]
                 devId = arg0->IntegerValue();
                                            ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
             V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                        ^
          /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECAT                                                                                                                                      ED'
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
            SOLINK_MODULE(target) Release/obj.target/binding.node
            COPY Release/binding.node
            COPY /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node
            TOUCH Release/obj.target/action_after_build.stamp
          make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build'
          npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/bluetooth-hci-soc                                                                                                                                      ket'
          npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-det                                                                                                                                      ector'
          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.radar/node                                                                                                                                      _modules/bluetooth-hci-socket/package.json'
          
          + @abandonware/bluetooth-hci-socket@0.5.3-1
          added 8 packages from 7 contributors and audited 19313 packages in 210.767s
          found 99 vulnerabilities (54 low, 5 moderate, 40 high)
            run `npm audit fix` to fix them, or `npm audit` for details
          rock64@rock64:/opt/iobroker$ ^C
          rock64@rock64:/opt/iobroker$ clear
          rock64@rock64:/opt/iobroker$ npm rebuild
          
          > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
          > npm install node-pre-gyp
          
          + node-pre-gyp@0.12.0
          updated 1 package and audited 97 packages in 8.593s
          found 0 vulnerabilities
          
          
          > @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
          [@abandonware/bluetooth-hci-socket] Success: "/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" already installed
          Pass --update-binary to reinstall or --build-from-source to recompile
          
          > usb@1.6.0 install /opt/iobroker/node_modules/iobroker.ble/node_modules/usb
          > prebuild-install --verbose || node-gyp rebuild
          
          prebuild-install info begin Prebuild-install version 5.3.0
          prebuild-install info looking for cached prebuild @ /home/rock64/.npm/_prebuilds/c716aa-usb-v1.6.0-node-v64-linux-arm64.tar.gz
          prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v64-linux-arm64.tar.gz
          prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v64-linux-arm64.tar.gz
          prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=arm64 libc= platform=linux)
          make: Entering directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/usb/build'
            CC(target) Release/obj.target/libusb/libusb/libusb/core.o
            CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
            CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
            CC(target) Release/obj.target/libusb/libusb/libusb/io.o
            CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
            CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
            CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
            CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
            CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
            CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
            AR(target) Release/obj.target/usb.a
            COPY Release/usb.a
            CXX(target) Release/obj.target/usb_bindings/src/node_usb.o
          ../src/node_usb.cc: In function 'void handleHotplug(std::pair<libusb_device*, libusb_hotplug_event>)':
          ../src/node_usb.cc:151:58: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
            Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv);
                                                                    ^
          In file included from ../src/helpers.h:3:0,
                           from ../src/node_usb.h:21,
                           from ../src/node_usb.cc:1:
          ../node_modules/nan/nan.h:1001:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
            CXX(target) Release/obj.target/usb_bindings/src/device.o
          ../src/device.cc: In static member function 'static void Req::default_after(uv_work_t*)':
          ../src/device.cc:237:64: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declaratio                                                ns]
              Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv);
                                                                          ^
          In file included from ../src/helpers.h:3:0,
                           from ../src/node_usb.h:21,
                           from ../src/device.cc:1:
          ../node_modules/nan/nan.h:959:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
            CXX(target) Release/obj.target/usb_bindings/src/transfer.o
          ../src/transfer.cc: In function 'void handleCompletion(Transfer*)':
          ../src/transfer.cc:126:72: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarat                                                ions]
             Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv);
                                                                                  ^
          In file included from ../src/helpers.h:3:0,
                           from ../src/node_usb.h:21,
                           from ../src/transfer.cc:1:
          ../node_modules/nan/nan.h:959:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
            SOLINK_MODULE(target) Release/obj.target/usb_bindings.node
            COPY Release/usb_bindings.node
          make: Leaving directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/usb/build'
          
          > @abandonware/noble@1.9.2-2 install /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble
          > node-gyp rebuild
          
          make: Entering directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/build'
            SOLINK_MODULE(target) Release/obj.target/noble.node
            COPY Release/noble.node
          make: Leaving directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/build'
          
          > usb@1.6.0 install /opt/iobroker/node_modules/iobroker.ble/node_modules/usb
          > prebuild-install --verbose || node-gyp rebuild
          
          prebuild-install info begin Prebuild-install version 5.3.0
          prebuild-install info looking for cached prebuild @ /home/rock64/.npm/_prebuilds/c716aa-usb-v1.6.0-node-v64-linux-arm64.tar.gz
          prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v64-linux-arm64.tar.gz
          prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v64-linux-arm64.tar.gz
          prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=arm64 libc= platform=linux)
          make: Entering directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/usb/build'
            CC(target) Release/obj.target/libusb/libusb/libusb/core.o
            CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
            CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
            CC(target) Release/obj.target/libusb/libusb/libusb/io.o
            CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
            CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
            CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
            CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
            CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
            CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
            AR(target) Release/obj.target/usb.a
            COPY Release/usb.a
            CXX(target) Release/obj.target/usb_bindings/src/node_usb.o
          ../src/node_usb.cc: In function 'void handleHotplug(std::pair<libusb_device*, libusb_hotplug_event>)':
          ../src/node_usb.cc:151:58: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations]
            Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv);
                                                                    ^
          In file included from ../src/helpers.h:3:0,
                           from ../src/node_usb.h:21,
                           from ../src/node_usb.cc:1:
          ../node_modules/nan/nan.h:1001:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
            CXX(target) Release/obj.target/usb_bindings/src/device.o
          ../src/device.cc: In static member function 'static void Req::default_after(uv_work_t*)':
          ../src/device.cc:237:64: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declaratio                                                ns]
              Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv);
                                                                          ^
          In file included from ../src/helpers.h:3:0,
                           from ../src/node_usb.h:21,
                           from ../src/device.cc:1:
          ../node_modules/nan/nan.h:959:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
            CXX(target) Release/obj.target/usb_bindings/src/transfer.o
          ../src/transfer.cc: In function 'void handleCompletion(Transfer*)':
          ../src/transfer.cc:126:72: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarat                                                ions]
             Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv);
                                                                                  ^
          In file included from ../src/helpers.h:3:0,
                           from ../src/node_usb.h:21,
                           from ../src/transfer.cc:1:
          ../node_modules/nan/nan.h:959:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
            SOLINK_MODULE(target) Release/obj.target/usb_bindings.node
            COPY Release/usb_bindings.node
          make: Leaving directory '/opt/iobroker/node_modules/iobroker.ble/node_modules/usb/build'
          
          > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket
          > npm install node-pre-gyp
          
          + node-pre-gyp@0.12.0
          updated 1 package and audited 95 packages in 8.66s
          found 0 vulnerabilities
          
          
          > @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/iobroker.ble/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
          [@abandonware/bluetooth-hci-socket] Success: "/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" already installed
          Pass --update-binary to reinstall or --build-from-source to recompile
          
          > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
          > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
          
          prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=arm64 libc= platform=linux)
          make: Entering directory '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings/build'
            CXX(target) Release/obj.target/bindings/src/serialport.o
            CXX(target) Release/obj.target/bindings/src/serialport_unix.o
            CXX(target) Release/obj.target/bindings/src/poller.o
            CXX(target) Release/obj.target/bindings/src/serialport_linux.o
            SOLINK_MODULE(target) Release/obj.target/bindings.node
            COPY Release/bindings.node
          make: Leaving directory '/opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings/build'
          
          > grpc@1.20.3 install /opt/iobroker/node_modules/iobroker.iogo/node_modules/grpc
          > node-pre-gyp install --fallback-to-build --library=static_library
          
          node-pre-gyp WARN Using request for node-pre-gyp https download
          [grpc] Success: "/opt/iobroker/node_modules/iobroker.iogo/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm64-glibc/grpc_node.node" already installed
          Pass --update-binary to reinstall or --build-from-source to recompile
          
          > protobufjs@6.8.8 postinstall /opt/iobroker/node_modules/iobroker.iogo/node_modules/@grpc/proto-loader/node_modules/protobufjs
          > node scripts/postinstall
          
          (node:19565) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
          
          > grpc@1.20.3 install /opt/iobroker/node_modules/iobroker.iogo/node_modules/grpc
          > node-pre-gyp install --fallback-to-build --library=static_library
          
          node-pre-gyp WARN Using request for node-pre-gyp https download
          [grpc] Success: "/opt/iobroker/node_modules/iobroker.iogo/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm64-glibc/grpc_node.node" already installed
          Pass --update-binary to reinstall or --build-from-source to recompile
          
          > iobroker.javascript@4.1.14 postinstall /opt/iobroker/node_modules/iobroker.javascript
          > node ./install/installTypings.js
          
          Installing NodeJS typings...
          latest @types: 12, installed node: 10
          
          > iobroker.js-controller@1.5.14 preinstall /opt/iobroker/node_modules/iobroker.js-controller
          > node lib/preinstallCheck.js
          
          NPM version: 6.4.1
          npm version >= 5: disabling package-lock
          
          > iobroker.js-controller@1.5.14 install /opt/iobroker/node_modules/iobroker.js-controller
          > node iobroker.js setup first
          
          
          > unix-dgram@2.0.3 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram
          > node-gyp rebuild
          
          make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build'
            CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
            SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
            COPY Release/unix_dgram.node
          make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build'
          
          > websocket@1.0.28 install /opt/iobroker/node_modules/iobroker.lgtv/node_modules/websocket
          > (node-gyp rebuild 2> builderror.log) || (exit 0)
          
          make: Entering directory '/opt/iobroker/node_modules/iobroker.lgtv/node_modules/websocket/build'
            CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
            SOLINK_MODULE(target) Release/obj.target/bufferutil.node
            COPY Release/bufferutil.node
            CXX(target) Release/obj.target/validation/src/validation.o
            SOLINK_MODULE(target) Release/obj.target/validation.node
            COPY Release/validation.node
          make: Leaving directory '/opt/iobroker/node_modules/iobroker.lgtv/node_modules/websocket/build'
          
          > ws@0.7.0 install /opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws
          > (node-gyp rebuild 2> builderror.log) || (exit 0)
          
          make: Entering directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws/build'
            CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
          bufferutil.target.mk:101: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
          make: Leaving directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws/build'
          
          > ws@0.6.5 install /opt/iobroker/node_modules/iobroker.owntracks/node_modules/websocket-stream/node_modules/ws
          > (node-gyp rebuild 2> builderror.log) || (exit 0)
          
          make: Entering directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/websocket-stream/node_modules/ws/build'
            CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
          bufferutil.target.mk:101: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
          make: Leaving directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/websocket-stream/node_modules/ws/build'
          
          > ws@0.7.0 install /opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws
          > (node-gyp rebuild 2> builderror.log) || (exit 0)
          
          make: Entering directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws/build'
            CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
          bufferutil.target.mk:101: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
          make: Leaving directory '/opt/iobroker/node_modules/iobroker.owntracks/node_modules/ws/build'
          
          > usb@1.5.0 install /opt/iobroker/node_modules/iobroker.radar/node_modules/usb
          > node-pre-gyp install --fallback-to-build
          
          node-pre-gyp WARN Using request for node-pre-gyp https download
          [usb] Success: "/opt/iobroker/node_modules/iobroker.radar/node_modules/usb/src/binding/usb_bindings.node" already installed
          Pass --update-binary to reinstall or --build-from-source to recompile
          
          > bluetooth-hci-socket@0.5.1 install /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket
          > node-gyp rebuild
          
          make: Entering directory '/opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket/build'
            CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
          ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()':
          ../src/BluetoothHciSocket.cpp:251:95: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated                                                -declarations]
               Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                         ^
          In file included from ../src/BluetoothHciSocket.cpp:8:0:
          ../../../../nan/nan.h:980:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':
          ../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to 'v8::Function::NewInstance(int, v8::Local<v8::Value> [1])'
             Local<Value> error = errorConstructor->NewInstance(1, constructorArgs);
                                                                                  ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const
             V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                      ^~~~~~~~~~~
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const
             V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
                                                      ^~~~~~~~~~~
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provided
          ../src/BluetoothHciSocket.cpp:282:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated                                                -declarations]
             Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                       ^
          In file included from ../src/BluetoothHciSocket.cpp:8:0:
          ../../../../nan/nan.h:980:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/BluetoothHciSocket.cpp:395:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
                 devId = arg0->IntegerValue();
                                            ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
             V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                        ^
          /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)':
          ../src/BluetoothHciSocket.cpp:417:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
                 devId = arg0->IntegerValue();
                                            ^
          In file included from /home/rock64/.node-gyp/10.16.0/include/node/v8.h:26:0,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node.h:63,
                           from /home/rock64/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                           from ../src/BluetoothHciSocket.cpp:7:
          /home/rock64/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
             V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                        ^
          /home/rock64/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          binding.target.mk:99: 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/iobroker.radar/node_modules/noble/node_modules/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/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
          gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
          gyp ERR! System Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524
          gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket
          gyp ERR! node -v v10.16.0
          gyp ERR! node-gyp -v v3.8.0
          gyp ERR! not ok
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
          npm ERR! Exit status 1
          npm ERR!
          npm ERR! Failed at the bluetooth-hci-socket@0.5.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!     /home/rock64/.npm/_logs/2019-07-27T16_07_21_234Z-debug.log
          rock64@rock64:/opt/iobroker$
          
          

          Hab gerade Versucht ble auf die neue Version zu bringen, bekomme dann die Fehler:

          $ ./iobroker upgrade ble
          Update ble from @0.7.4 to @0.8.1
          NPM version: 6.4.1
          npm install iobroker.ble@0.8.1 --production --save --prefix "/opt/iobroker" (System call)
          npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gypnpm 
          WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware
          npm
           WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/bluetooth-hci-socket'npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-detector'
          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.radar/node_modules/bluetooth-hci-socket/package.json'
          
          
          npm ERR! path /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gypnpm ERR! code EACCES
          npm ERR! errno -13
          npm ERR! syscall access
          
          npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp'npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp']
          npm ERR!
             stack:npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp\'',
          npm
           ERR!   errno: -13,npm ERR!   code: 'EACCES',
          npm ERR!   syscall: 'access',
          npm ERR!   path:
          npm 
          ERR!    '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp' }npm ERR! 
          npm ERR!
           The operation was rejected by your operating system.npm ERR! It is likely you do not have the permissions to access this file as the current user
          npm ERR! 
          npm
           ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try running
          npm ERR! the command again as root/Administrator (though this is not recommended).
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2019-07-27T17_03_18_601Z-debug.log
          
          ERROR: host.rock64 Cannot install iobroker.ble@0.8.1: 243
          ERROR: process exited with code 25
          
          1 Reply Last reply Reply Quote 0
          • Mic
            Mic Developer last edited by

            Hi Leute,

            vielen Dank für Eure Arbeit 🙂 Ihr habt in der Zwischenzeit auch noch mal einiges verbessert wie es scheint 😎

            Erfolgreich durchgeführt bei mir ohne Fehlermeldungen. Ich habe hierzu auf Proxmox einen neuen Debian-Container erstellt, Vorgehensweise war wie folgt:

            1. Debian-Container (CT) erstellen
            2. In Proxmox den CT starten und auf die Konsole gehen
            3. Neuen Nicht-Admin-User anlegen: adduser <username>
            4. sudo installieren: apt-get install -y sudo
            5. User zur sudo-Gruppe hinzufügen: adduser <username> sudo
            6. Der Befehl ip addr gibt uns die IP-Adresse. Damit können wir uns nun mit Putty verbinden, immer den neu angelegten User nehmen, nicht den admin.
            7. Nun im Putty aktualisieren:
              sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
            8. curl installieren: sudo apt-get install curl
            9. Zur Sicherheit in Proxmox einen Snapshot erstellen
            10. curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
            11. sudo apt install -y nodejs
            12. sudo npm install -g npm
            13. sudo reboot
            14. curl -sL https://iobroker.net/install.sh | bash -
            15. Fertig 🙂

            Danach noch folgendes:

            1. Adapter „BackitUp“ installieren.
            2. Full-Backup ins Verzeichnis „/opt/iobroker/backups” kopieren und im BackitUp-Adapter einspielen ("Wiederherstellen")
            3. Host / IP: Beim Umzug hat sich die IP und Host-Name geändert. Daher in der Konsole folgendes ausführen:
              3.1 iobroker stop
              3.2 iobroker host this. Man kann auch einen neuen Hostnamen vergeben, dazu iobroker host set newHostName eingeben.
              3.3 Die folgenden Dateien bearbeiten: /opt/iobroker/iobroker-data/objects.json und /opt/iobroker/iobroker-data/states.json und dort alle IP-Adressen durch die neue IP ersetzen.
              3.4 iobroker start
              Details: siehe https://github.com/ioBroker/ioBroker/wiki/Console-commands#iobroker-host
            4. Sonoff-Adapter: Hier in auf der jeweiligen Site des Gerätes (z.B. http://192.168.XX.XX/? unter „Configuration > Configure MQTT“ die neue IP eintragen.
            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Mic last edited by

              @Mic Super mit der Beschreibung/Auflistung.
              Hast du dein System neu aufgesetzt? Warum nun IoBroker im Container? Hattest du den nicht in ner VM laufen?
              Bin auch grad am überlegen, nen Container zu erstellen, für ne Testumgebung.
              Produktiv läuft er auf ner VM.

              1 Reply Last reply Reply Quote 0
              • Mic
                Mic Developer last edited by

                @crunchip
                Ja, ich habe neu aufgesetzt, hatte aber auch vorher schon den ioBroker im Container, nicht VM. Meine persönlichen Gründe dafür:

                • weniger Ressourcenverbrauch
                • schnellere initiale Installation
                • kleinere Backups
                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Mic last edited by

                  @Mic ok
                  das muss ich mal testen ob alles in nem Container funktioniert, vllt stell ich dann auch um.

                  1 Reply Last reply Reply Quote 0
                  • L
                    LJSven last edited by

                    Wenn ich den Befehl

                    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                    sudo apt-get install -y nodejs
                    

                    ausführe, wird das Update nur auf 10.16.0 gemacht - nicht auf 10.16.1

                    Was mache ich falsch?

                    sigi234 1 Reply Last reply Reply Quote 0
                    • sigi234
                      sigi234 Forum Testing Most Active @LJSven last edited by

                      @LJSven sagte in [How-to] Node.js für ioBroker richtig updaten:

                      Wenn ich den Befehl

                      curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                      sudo apt-get install -y nodejs
                      

                      ausführe, wird das Update nur auf 10.16.0 gemacht - nicht auf 10.16.1

                      Was mache ich falsch?

                      Nix, v10.16.0 ist die empfohlene...............

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        LJSven @sigi234 last edited by

                        @sigi234 sagte in [How-to] Node.js für ioBroker richtig updaten:

                        @LJSven sagte in [How-to] Node.js für ioBroker richtig updaten:

                        Wenn ich den Befehl

                        curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                        sudo apt-get install -y nodejs
                        

                        ausführe, wird das Update nur auf 10.16.0 gemacht - nicht auf 10.16.1

                        Was mache ich falsch?

                        Nix, v10.16.0 ist die empfohlene...............

                        Okay, im Info Adapter zeigt er mir die "gelb" an bzw. sagt "Es gibt eine neuere Version...."

                        sigi234 1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @LJSven last edited by sigi234

                          @LJSven sagte in [How-to] Node.js für ioBroker richtig updaten:

                          Okay, im Info Adapter zeigt er mir die "gelb" an bzw. sagt "Es gibt eine neuere Version...."

                          Aha, bei mir nicht...........

                          Doch bei mir jetzt auch..........

                          1 Reply Last reply Reply Quote 0
                          • marcuskl
                            marcuskl last edited by

                            Bei mir ist auch 10.16.1 Empfohlen, wie kommt das ?

                            1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 last edited by

                              Weil es die seit ein paar Tagen gibt und SIe aktueller als die 10.1.6.0 ist 🙂

                              Wir EMpfehlen bei ioBroker eine LTS Version. In dem Fall "10.x"

                              1 Reply Last reply Reply Quote 0
                              • Dr. Bakterius
                                Dr. Bakterius Most Active last edited by

                                Sorry für crossposting aber bei mir meldet der Info-Adapter nach einem Update auf 10.16.1, dass die Version 10.16.1 installiert ist, es aber die neuere Version 10.16.0 gibt. 🤔

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @Dr. Bakterius last edited by

                                  @Dr-Bakterius Dann doch bitte anstelle dieses Cross-Posts der, korrekt, hier nicht hergehört, ein GitHub Issue im Info Adapter anlegen falls es das nicht schon gibt.

                                  Dr. Bakterius 1 Reply Last reply Reply Quote 0
                                  • Dr. Bakterius
                                    Dr. Bakterius Most Active @apollon77 last edited by

                                    @apollon77 Schon klar, aber 1. wurde das Thema nunmal hier auch aufgeworfen, 2. geht es anderen vielleicht auch so und 3. ist doch ein Forum genau dafür da - sonst könnten alle gleich auf Git umziehen.

                                    AlCalzone 1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer @Dr. Bakterius last edited by

                                      @Dr-Bakterius sagte in [How-to] Node.js für ioBroker richtig updaten:

                                      ist doch ein Forum genau dafür da - sonst könnten alle gleich auf Git umziehen

                                      Ich glaube die Intention von @apollon77 kam falsch an. Die Probleme aufdecken und Workarounds diskutieren kann man durchaus hier. Allerdings gehört eine Fehlermeldung wenn überhaupt ins entsprechende Unterforum - und nicht irgendwo in ein How-To.

                                      Vor allem dient die Struktur eines Forums nicht gerade der Übersicht und Arbeitsplanung, wenn wild in Themen verstreut Fehler und Probleme gemeldet werden. Dafür ist GitHub (nicht git) mit seinen Issues ganz hervorragend geeignet. Da geht nichts verloren, man kann ordentlich priorisieren, etc.... Wir Entwickler machen nichts anderes, wenn im Forum Fehler diskutiert werden - Problembeschreibung extrahieren, Issue aufmachen.

                                      Allerdings kostet das bei der Hülle und Fülle an Meldungen extrem viel Zeit. Zeit, die nicht zur Fehlerbehebung und Verbesserung von Adaptern verwendet werden kann.

                                      Sieh es mal so:
                                      Wenn du dir die 3-5 Minuten nimmst, die es kostet, ein Issue aufzumachen und dort das Problem so zu beschreiben, dass es ohne Rückfragen und Kontext verständlich ist, leistest du einen aktiven Beitrag dazu, dass die Entwicklung von ioBroker schneller voran geht. Ich würde wetten, dass die Zeitersparnis die sich daraus für die Entwicklung ergibt, um ein vielfaches höher ist als die paar Minuten, die es dich kostet.

                                      1 Reply Last reply Reply Quote 1
                                      • apollon77
                                        apollon77 last edited by apollon77

                                        Exakt so habe ich es auch gemeint.

                                        Ein Forum ist da um zu diskutieren und ggf Fehler zu reproduzieren und ähnliches. Es ist aber für die Entwickler nicht geeignet einen Überblick zu behalten. So schnell wie sich Threads im Forum von einem Thema zum nächsten entwickeln (da reicht ein Post) kann ein Entwickler gar nicht aktuell bleiben. Hier gilt in meinen Augen der "The best tool for the Job" Ansatz. GitHub ist ein Tool für die Entwickler um Ihre Arbeit zu organisieren. Beides hat damit klar seine Berechtigung und Nutzen.

                                        Wir haben hier einige Entwickler die mehrere Adapter geschrieben haben und gegebenenfalls noch an zig anderen mitarbeiten die nicht von Ihnen stammen. Ich alleine müsste im Forum Threads von über 20-30 Adaptern verfolgen, selbst das relevante rausziehen und Issues anlegen ... Jetzt rechne das mit den von @AlCalzone genannten Zeiten mal schnell aus (zumal man auch Forum mal "eben fix von unterwegs" macht und man so gar nicht gescheit die Informationen überführen oder "auf Widervorlage" legen kann). Ich kann das gern tun, dann haben wir eine super Bugliste - nur Zeit diese auch abzuarbeiten habe ich dann keine mehr (und ehrlich "Lust" ggf auch nicht).

                                        Ich denke es ist bei einem Community-getriebenen Open-Source-Projekt nicht unüblich das wir hier zusammenarbeiten. Und das bedeutet für mich das Issues von jedem User reportet werden können und sollten. Je besser aufbereitet und je detailierter wenn nötig umso einfacher für den Entwickler idealerweise direkt loszulegen.

                                        GitHub hat weiterhin den Vorteil das man mit zB "Daumen hoch" auch Abstimmen kann bzw sagen kann das man auch betroffen ist und, das mal endlich sinnvoll genutzt, der Entwickler eine Idee bekommt wie wichtig einzelne Bugs oder Themen sind, sonst bekommt halt doch der etwas zuerst der am lautesten schreit.

                                        Bei vielen Threads funktioniert das wunderbar und hält den Rücken frei für die Entwickler das zu tun was Sie gern tun: Software Entwickeln!

                                        Sie es einfach als "Win-Win Situation" ...

                                        1 Reply Last reply Reply Quote 0
                                        • Dr. Bakterius
                                          Dr. Bakterius Most Active last edited by

                                          Hey Leute! Das war ja auch keine Kritik von mir, habe @apollon77 aber wohl falsch verstanden. Ich bewundere und schätze eure Arbeit sehr und wenn ich dabei helfen kann, mach ich das auch gerne.

                                          Allerdings bin ich mir nicht sicher ob es so eine große Hilfe ist, jedes Problem gleich auf GitHub zu melden? Liegt vielleicht an einem Bedienfehler. Und da ist es nicht verkehrt zuerst mal im Forum "nachzufühlen" ob auch andere das Problem beobachten oder vielleicht sogar helfen können. Dann kann man immer noch den Entwickler "quälen". 😉

                                          AlCalzone 1 Reply Last reply Reply Quote 2
                                          • AlCalzone
                                            AlCalzone Developer @Dr. Bakterius last edited by

                                            @Dr-Bakterius sagte in [How-to] Node.js für ioBroker richtig updaten:

                                            Allerdings bin ich mir nicht sicher ob es so eine große Hilfe ist, jedes Problem gleich auf GitHub zu melden?

                                            Wenn es offensichtliche Fehler sind wie in deinem Fall (eine ältere Version wird als neue vorgeschlagen), dann definitiv. Aber bitte prüfen, ob das nicht schon auf der Liste steht.

                                            Bei Unklarheiten lieber vorher mal im Forum nachforschen, ob es nicht doch ein Bedienfehler o.ä. ist.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            884
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            675168
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo