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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zgadgeter @arteck last edited by

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

      @zgadgeter da wird der port nicht weitergereicht wie ich es erkennen kann..
      bzw. der iobroker user darf auf den port nicht zugreifen

      wie währe es mit einem neuen Thread.. das hat nix mit dem Update von node zu tun

      Naja, das ganze ist ja passiert direkt bei dem Update von node passiert. Ob es das Resultat von dem update war kann ich nicht sagen....nur Zufall?
      Egal, ich mache ein neues Thread auf.

      FYI, zigbee raus/rein stecken auch nichts gebracht.

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

        Hallo Gemeinde, kann mir einer sagen, wie ich diese Fehlermeldungen bei Adapter aktualisierungen reduzieren kann..System läuft unauffälig. Die Fehlerliste betrifft alle npm Installationen / Adapterupdates...

        $ ./iobroker upgrade hm-rega
        Update hm-rega from @2.4.0 to @2.4.1
        NPM version: 6.9.0
        npm install iobroker.hm-rega@2.4.1 --production --save --prefix "/opt/iobroker" (System call)
        In file included from ../node_modules/nan/nan.h:82:0,                 from ../src/bufferutil.cc:16:
        ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
        ../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); }
                                                                          ^
        
        In file included from ../src/validation.cc:7:0:/home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
         Local<Object> Value::ToObject() const {
                       ^~~~~
        
        make: *** [Release/obj.target/validation/src/validation.o] Fehler 1
        gyp
         
        ERR!
         build error 
        gyp
         ERR! 
        stack
         Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js: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.182-rockchip64
        gyp
         ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validategyp 
        ERR! node -v v10.16.0gyp ERR! 
        node-gyp -v v3.8.0gyp
         ERR! not ok 
        npm
         
        WARN
         babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
        npm
         
        WARN
         xmlhttprequest-ts@1.0.1 requires a peer of @angular/common@>= 5.0.0 but none is installed. You must install peer dependencies yourself.
        npm 
        WARN xmlhttprequest-ts@1.0.1 requires a peer of @angular/core@>= 5.0.0 but none is installed. You must install peer dependencies yourself.
        npm WARN optional
         SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
        
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
        
        
        npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.hm-rega"
        npm
         
        notice
         created a lockfile as package-lock.json. You should commit this file.
        got /opt/iobroker/node_modules/iobroker.hm-rega/admin
        upload [3] hm-rega.admin /opt/iobroker/node_modules/iobroker.hm-rega/admin/words.js words.js application/javascript
        Update "system.adapter.hm-rega.0"
        upload [2] hm-rega.admin /opt/iobroker/node_modules/iobroker.hm-rega/admin/index_m.html index_m.html text/html
        upload [1] hm-rega.admin /opt/iobroker/node_modules/iobroker.hm-rega/admin/index.html index.html text/html
        upload [0] hm-rega.admin /opt/iobroker/node_modules/iobroker.hm-rega/admin/homematic.png homematic.png image/png
        Adapter "hm-rega" updated
        process exited with code 0
        
        1 Reply Last reply Reply Quote 0
        • marcuskl
          marcuskl last edited by

          Beimir klappt alles nur wen ich node -v eingebe kommt immernoch Node js 8.x ?

          root@iobroker:~# node -v
          v8.16.0
          root@iobroker:~# nodejs -v
          v10.16.0
          root@iobroker:~#
          
          
          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @marcuskl last edited by Homoran

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

            Beimir klappt alles nur wen ich node -v eingebe kommt immernoch Node js 8.x ?

            Dann hast du -warum auch immer (einmal einen Befehl im falschen Verzeichnis ausgeführt...)- zwei node installationen parallel laufen.

            Das wird zu Problemen führen

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

              @Homoran was mache ich nun ?

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

                Ich habe damal die node 6 mit dem Befehl

                Sudo n 8.12.0
                

                geupdatet.

                Liegt da der Fehler ?

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @marcuskl last edited by

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

                  was mache ich nun ?

                  Dazu bin ich nicht fit genug.

                  @paul53 hatte bereits mehrfach das procedere zum Auffinden der Versionen und Entfernen der falschen hier im Forum gepostet.

                  Da musst du mal suchen

                  1 Reply Last reply Reply Quote 0
                  • F
                    FuLLHDvs480p last edited by FuLLHDvs480p

                    Hallo,

                    habe folgendes Problem:

                    rock64@rock64:/opt/iobroker$ iobroker stop
                    rock64@rock64:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                    
                    ## Installing the NodeSource Node.js 10.x repo...
                    
                    
                    ## Populating apt-get cache...
                    
                    + apt-get update
                    Hit:1 http://security.debian.org stretch/updates InRelease
                    Hit:2 http://ppa.launchpad.net/ayufan/rock64-ppa/ubuntu xenial InRelease
                    Get:3 http://deb.ayufan.eu/orgs/ayufan-rock64/releases  InRelease [1339 B]
                    Ign:4 http://cdn-fastly.deb.debian.org/debian stretch InRelease
                    Get:5 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
                    Hit:6 https://deb.nodesource.com/node_10.x stretch InRelease
                    Hit:7 http://cdn-fastly.deb.debian.org/debian stretch Release
                    Fetched 92.4 kB in 2s (39.7 kB/s)
                    Reading package lists... Done
                    
                    ## Confirming "stretch" is supported...
                    
                    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_10.x/dists/stretch/Release'
                    
                    ## Adding the NodeSource signing key to your keyring...
                    
                    + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                    OK
                    
                    ## Creating apt sources list file for the NodeSource Node.js 10.x repo...
                    
                    + echo 'deb https://deb.nodesource.com/node_10.x stretch main' > /etc/apt/sources.list.d/nodesource.list
                    + echo 'deb-src https://deb.nodesource.com/node_10.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
                    
                    ## Running `apt-get update` for you...
                    
                    + apt-get update
                    Hit:1 http://security.debian.org stretch/updates InRelease
                    Hit:2 http://ppa.launchpad.net/ayufan/rock64-ppa/ubuntu xenial InRelease
                    Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
                    Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
                    Get:5 http://deb.ayufan.eu/orgs/ayufan-rock64/releases  InRelease [1339 B]
                    Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
                    Hit:7 https://deb.nodesource.com/node_10.x stretch InRelease
                    Fetched 1339 B in 2s (583 B/s)
                    Reading package lists... Done
                    
                    ## Run `sudo apt-get install -y nodejs` to install Node.js 10.x and npm
                    ## You may also need development tools to build native addons:
                         sudo apt-get install gcc g++ make
                    ## To install the Yarn package manager, run:
                         curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                         echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                         sudo apt-get update && sudo apt-get install yarn
                    
                    
                    rock64@rock64:/opt/iobroker$ sudo apt-get install -y nodejs
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    nodejs is already the newest version (10.16.0-1nodesource1).
                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                    rock64@rock64:/opt/iobroker$ node -v
                    v10.16.0
                    rock64@rock64:/opt/iobroker$ curl -sL https://iobroker.net/fix.sh | bash -
                    
                    ==========================================================================
                    
                        Welcome to the ioBroker installation fixer!
                        Script version: 2019-07-21
                    
                        You might need to enter your password a couple of times.
                    
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Installing prerequisites (1/3)
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Checking ioBroker user and directory permissions (2/3)
                    ==========================================================================
                    
                    Created /etc/sudoers.d/iobroker
                    Fixing directory permissions...
                    
                    ==========================================================================
                        Checking autostart (3/3)
                    ==========================================================================
                    
                    Enabling autostart...
                    Autostart enabled!
                    
                    ==========================================================================
                    
                        Your installation was fixed successfully
                        Run iobroker start to start ioBroker again!
                    
                    ==========================================================================
                    
                    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-26T09_47_03_405Z-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-26T09_47_03_647Z-debug.log
                    rock64@rock64:/opt/iobroker$ npm install @abandonware/bluetooth-hci-socket
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/abbrev
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/ansi-regex
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/aproba
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/balanced-match
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/chownr
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/code-point-at
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/concat-map
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/brace-expansion
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/console-control-strings
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/core-util-is
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/deep-extend
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/delegates
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/detect-libc
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/fs.realpath
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/has-unicode
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/inherits
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/ini
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/isarray
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/minimatch
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/ignore-walk
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/minimist
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/mkdirp
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/needle/node_modules/debug
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/npm-bundled
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/npm-packlist
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/number-is-nan
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/is-fullwidth-code-point
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/object-assign
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/os-homedir
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/os-tmpdir
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/osenv
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/nopt
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/path-is-absolute
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/process-nextick-args
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/rc/node_modules/minimist
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/safe-buffer
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/safer-buffer
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/iconv-lite
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/sax
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/needle
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/set-blocking
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/signal-exit
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/string_decoder
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/strip-ansi
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/string-width
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/strip-json-comments
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/rc
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/util-deprecate
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/readable-stream
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/are-we-there-yet
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/wide-align
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/gauge
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/npmlog
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/wrappy
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/once
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/inflight
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/glob
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/rimraf
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/yallist
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/minipass
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/fs-minipass
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/minizlib
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/tar
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/needle/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/rc/node_modules
                    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/@abandonware/bluetooth-hci-socket
                    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'
                    npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket']
                    npm ERR!   stack:
                    npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket\'',
                    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' }
                    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-26T09_58_41_378Z-debug.log
                    rock64@rock64:/opt/iobroker$
                    
                    

                    Fixer Script habe ich laufen lassen,
                    Radar2 und Ble vorher komplett gelöscht.
                    Auch die Neuinstallation von bluetooth-hci-socket schlägt fehl.
                    js-controller: 1.5.14

                    Jemand eine Idee?

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

                      @FuLLHDvs480p Eigentlich dürfte das nicht passieren, aber probier mal im Ordner /opt/iobroker folgendes:

                      sudo -H -u iobroker npm install @abandonware/bluetooth-hci-socket
                      

                      um die Installation als Benutzer iobroker auszuführen, der dort Schreibrechte haben müsste.

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

                        @AlCalzone Wenn ich mich über Putty als iobroker anmelde schließt sich das Fenster direkt wieder.
                        Wenn ich mich als root anmelde und danach auf den Benutzer iobroker wechseln will kommt:

                        root@rock64:~# su iobroker
                        This account is currently not available.
                        

                        Hab die Installation mal als rock64 laufen lassen und bekomme diese Fehler:

                        rock64@rock64:~$ cd /opt/iobroker/
                        rock64@rock64:/opt/iobroker$ iobroker stop
                        rock64@rock64:/opt/iobroker$ sudo -H -u iobroker npm install @abandonware/bluetooth-hci-socket
                        [sudo] password for rock64:
                        
                        > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
                        > npm install node-pre-gyp
                        
                        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 13.598s
                        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
                        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-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@10.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::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: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::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:1045:46: note: declared here
                           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                      ^~~~~~~~~~~~
                        ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)':
                        ../src/BluetoothHciSocket.cpp:396:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
                               devId = arg0->IntegerValue();
                                                          ^
                        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                         from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                         from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                         from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                      ^
                        /home/iobroker/.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:418:34: warning: 'int64_t v8::Value::IntegerValue() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
                               devId = arg0->IntegerValue();
                                                          ^
                        In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                         from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                         from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                         from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                      ^
                        /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED'
                           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'
                        
                        > 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/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                                         from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                         from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.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/iobroker/.node-gyp/10.16.0/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
                        /home/iobroker/.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/iobroker/.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/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                         from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                         from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                         from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                      ^
                        /home/iobroker/.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/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                         from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                         from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25,
                                         from ../src/BluetoothHciSocket.cpp:7:
                        /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here
                           V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                                      ^
                        /home/iobroker/.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 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 WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/iobroker.radar/node_modules/noble/node_modules/bluetooth-hci-socket):
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                        
                        + @abandonware/bluetooth-hci-socket@0.5.3-1
                        removed 63 packages, updated 1 package and audited 19313 packages in 242.798s
                        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$
                        
                        
                        AlCalzone 1 Reply Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer @FuLLHDvs480p last edited by

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

                          This account is currently not available.

                          Das ist gewollt.

                          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'

                          Das scheint funktioniert zu haben. Der Fehler kommt von dem Versuch, eine ältere Version davon zu kompilieren.

                          Hab die Installation mal als rock64 laufen lassen

                          Nein, du hast sie als iobroker ausgeführt, deswegen ja auch das umständlichere Kommando sudo -H -u iobroker ...

                          F 1 Reply Last reply Reply Quote 0
                          • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            740
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            670026
                                            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