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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Admin Seite funktioniert nach Admin update nicht mehr

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Admin Seite funktioniert nach Admin update nicht mehr

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
adminupdate
35 Beiträge 3 Kommentatoren 2.4k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • GlasfaserG Glasfaser

    @Hermanito33

    cd /opt/iobroker
    
    iobroker stop
    curl -sL https://deb.nodesource.com/setup_12.x | bash -
    apt install -y nodejs
    npm rebuild
    

    ich hoffe du hast es nicht vorher vermurkst !

    Hermanito33H Offline
    Hermanito33H Offline
    Hermanito33
    schrieb am zuletzt editiert von
    #12

    @Glasfaser ```
    Also ich habe das mal durchlaufen lassen. Ich glaube ich habe mein ganzen Iobroker sowieso schon vermurkst mit den ganzen befehlen die ich schon reingehauen habe. Müsste eigentlich mal komplett neu installieren. Aktuell laufen 19 Instanzen, ich habe mir aber nen Raspberry pi 4 mit 4GB bestellt.

    pi@ioBroker-Pi:~ $ cd /opt/iobroker
    pi@ioBroker-Pi:/opt/iobroker $
    pi@ioBroker-Pi:/opt/iobroker $ iobroker stop
    pi@ioBroker-Pi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x |                                                                                                                                                              bash -
    
    ## Installing the NodeSource Node.js 12.x repo...
    
    
    ## Populating apt-get cache...
    
    + apt-get update
    Paketlisten werden gelesen... Fertig
    W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDi                                                                                                                                                             rectory (1: Die Operation ist nicht erlaubt)
    E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13:                                                                                                                                                              Keine Berechtigung)
    E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden.
    W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - Remov                                                                                                                                                             eCaches (13: Keine Berechtigung)
    W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - Re                                                                                                                                                             moveCaches (13: Keine Berechtigung)
    Error executing command, exiting
    pi@ioBroker-Pi:/opt/iobroker $ apt install -y nodejs
    E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine                                                                                                                                                              Berechtigung)
    E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sin                                                                                                                                                             d Sie root?
    pi@ioBroker-Pi:/opt/iobroker $ npm rebuild
    
    > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
    > node lib/checkVersions.js
    
    NPM version: 6.14.4
    
    > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
    > node lib/install.js
    
    lib/install.js is not being run as part of an installation - skipping...
    
    > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/@abandonware/nob                                                                                                                                                             le
    > node-gyp rebuild
    
    make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird bet                                                                                                                                                             reten
      SOLINK_MODULE(target) Release/obj.target/noble.node
      COPY Release/noble.node
    make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird ver                                                                                                                                                             lassen
    
    > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/@serialport/bind                                                                                                                                                             ings
    > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
    
    prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime                                                                                                                                                             =node arch=arm libc= platform=linux)
    make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird b                                                                                                                                                             etreten
      CXX(target) Release/obj.target/bindings/src/serialport.o
    ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
    ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value                                                                                                                                                             >, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declara                                                                                                                                                             tions]
     an::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                  ^
    In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-int                                                                                                                                                             ernal.h:14:0,
                     from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2                                                                                                                                                             7,
                     from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h                                                                                                                                                             :67,
                     from ../../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared                                                                                                                                                              here
                     bool Set(Local<Value> key, Local<Value> value));
                          ^
    /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in d                                                                                                                                                             efinition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value                                                                                                                                                             >, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declara                                                                                                                                                             tions]
     an::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                  ^
    In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-int                                                                                                                                                             ernal.h:14:0,
                     from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2                                                                                                                                                             7,
                     from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h                                                                                                                                                             :67,
                     from ../../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared                                                                                                                                                              here
                     bool Set(Local<Value> key, Local<Value> value));
                          ^
    /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in d                                                                                                                                                             efinition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value                                                                                                                                                             >, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declara                                                                                                                                                             tions]
     an::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                  ^
    In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-int                                                                                                                                                             ernal.h:14:0,
                     from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2                                                                                                                                                             7,
                     from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h                                                                                                                                                             :67,
                     from ../../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared                                                                                                                                                              here
                     bool Set(Local<Value> key, Local<Value> value));
                          ^
    /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in d                                                                                                                                                             efinition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
    ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Valu                                                                                                                                                             e>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declar                                                                                                                                                             ations]
     ::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                  ^
    In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-int                                                                                                                                                             ernal.h:14:0,
                     from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2                                                                                                                                                             7,
                     from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h                                                                                                                                                             :67,
                     from ../../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared                                                                                                                                                              here
                     bool Set(Local<Value> key, Local<Value> value));
                          ^
    /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in d                                                                                                                                                             efinition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
      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: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird v                                                                                                                                                             erlassen
    
    > iobroker.javascript@4.5.1 postinstall /opt/iobroker/node_modules/iobroker.java                                                                                                                                                             script
    > node ./install/installTypings.js
    
    Installing NodeJS typings...
    latest @types: 14, installed node: 12
    
    > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.j                                                                                                                                                             s-controller
    > node lib/preinstallCheck.js
    
    NPM version: 6.14.4
    
    > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-c                                                                                                                                                             ontroller
    > node iobroker.js setup first
    
    
    The following notifications happened during sync:
    - Ignoring Directory "daswetter.admin" because officially not created as meta ob                                                                                                                                                             ject. Please remove directory!
    - Ignoring Directory "habpanel" because officially not created as meta object. P                                                                                                                                                             lease remove directory!
    - Ignoring Directory "habpanel.admin" because officially not created as meta obj                                                                                                                                                             ect. Please remove directory!
    - Ignoring Directory "iogo.admin" because officially not created as meta object.                                                                                                                                                              Please remove directory!
    - Ignoring Directory "kodi" because officially not created as meta object. Pleas                                                                                                                                                             e remove directory!
    - Ignoring Directory "kodi.admin" because officially not created as meta object.                                                                                                                                                              Please remove directory!
    
    
    > ws@0.6.5 install /opt/iobroker/node_modules/websocket-stream/node_modules/ws
    > (node-gyp rebuild 2> builderror.log) || (exit 0)
    
    make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/b                                                                                                                                                             uild“ wird betreten
      CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
    bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/                                                                                                                                                             bufferutil.o“ scheiterte
    make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/b                                                                                                                                                             uild“ wird verlassen
    
    > ws@0.7.0 install /opt/iobroker/node_modules/create-stream-server/node_modules/                                                                                                                                                             ws
    > (node-gyp rebuild 2> builderror.log) || (exit 0)
    
    make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/                                                                                                                                                             ws/build“ wird betreten
      CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
    bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/                                                                                                                                                             bufferutil.o“ scheiterte
    make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/                                                                                                                                                             ws/build“ wird verlassen
    
    > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modul                                                                                                                                                             es/raw-socket
    > node-gyp rebuild
    
    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-s                                                                                                                                                             ocket/build“ wird betreten
      CXX(target) Release/obj.target/raw/src/raw.o
      SOLINK_MODULE(target) Release/obj.target/raw.node
      COPY Release/raw.node
    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-s                                                                                                                                                             ocket/build“ wird verlassen
    
    > usb@1.6.1 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/usb
    > prebuild-install --verbose || node-gyp rebuild
    
    prebuild-install info begin Prebuild-install version 5.3.3
    prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuil                                                                                                                                                             ds/86d719-usb-v1.6.1-node-v72-linux-arm.tar.gz
    prebuild-install http request GET https://github.com/tessel/node-usb/releases/do                                                                                                                                                             wnload/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
    prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v                                                                                                                                                             1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
    prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime                                                                                                                                                             =node arch=arm libc= platform=linux)
    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/b                                                                                                                                                             uild“ wird betreten
      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*, li                                                                                                                                                             busb_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 [-Wde                                                                                                                                                             precated-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_w                                                                                                                                                             ork_t*)’:
    ../src/device.cc:237:64: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Lo                                                                                                                                                             cal<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprec                                                                                                                                                             ated [-Wdeprecated-declarations]
        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 depr                                                                                                                                                             ecated [-Wdeprecated-declarations]
       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: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/b                                                                                                                                                             uild“ wird verlassen
    
    > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/iobroker.radar2/                                                                                                                                                             node_modules/@abandonware/noble
    > node-gyp rebuild
    
    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@aban                                                                                                                                                             donware/noble/build“ wird betreten
      SOLINK_MODULE(target) Release/obj.target/noble.node
      COPY Release/noble.node
    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@aban                                                                                                                                                             donware/noble/build“ wird verlassen
    
    > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modul                                                                                                                                                             es/raw-socket
    > node-gyp rebuild
    
    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-s                                                                                                                                                             ocket/build“ wird betreten
      CXX(target) Release/obj.target/raw/src/raw.o
      SOLINK_MODULE(target) Release/obj.target/raw.node
      COPY Release/raw.node
    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-s                                                                                                                                                             ocket/build“ wird verlassen
    
    > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/iobroker.radar2/node_m                                                                                                                                                             odules/node-bluetooth
    > node-gyp configure build
    
    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-                                                                                                                                                             bluetooth/build“ wird betreten
      CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPo                                                                                                                                                             rt.o
    ../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ de                                                                                                                                                             clared void
     void InitAll(Handle<Object> exports) {
                  ^~~~~~
    ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in t                                                                                                                                                             his scope
    ../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression be                                                                                                                                                             fore ‘>’ token
     void InitAll(Handle<Object> exports) {
                               ^
    ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in                                                                                                                                                              this scope
     void InitAll(Handle<Object> exports) {
                                 ^~~~~~~
    In file included from ../src/linux/BluetoothSerialPort.cc:12:0:
    ../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in                                                                                                                                                              this scope
     NODE_MODULE(BluetoothSerialPort, InitAll)
                                      ^
    /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in defi                                                                                                                                                             nition of macro ‘NODE_MODULE_X’
           (node::addon_register_func) (regfunc),                          \
                                        ^~~~~~~
    ../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODU                                                                                                                                                             LE’
     NODE_MODULE(BluetoothSerialPort, InitAll)
     ^~~~~~~~~~~
    BluetoothSerialPort.target.mk:115: die Regel für Ziel „Release/obj.target/Blueto                                                                                                                                                             othSerialPort/src/linux/BluetoothSerialPort.o“ scheiterte
    make: *** [Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.                                                                                                                                                             o] Fehler 1
    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-                                                                                                                                                             bluetooth/build“ wird verlassen
    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:194:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                                                             s.js:275:12)
    gyp ERR! System Linux 4.19.66-v7+
    gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_mod                                                                                                                                                             ules/node-gyp/bin/node-gyp.js" "configure" "build"
    gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-blueto                                                                                                                                                             oth
    gyp ERR! node -v v12.16.3
    gyp ERR! node-gyp -v v5.1.0
    gyp ERR! not ok
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! node-bluetooth@1.2.6 install: `node-gyp configure build`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the node-bluetooth@1.2.6 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional log                                                                                                                                                             ging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/iobroker/.npm/_logs/2020-05-15T19_59_05_978Z-debug.log
    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • Hermanito33H Hermanito33

      @Glasfaser ```
      Also ich habe das mal durchlaufen lassen. Ich glaube ich habe mein ganzen Iobroker sowieso schon vermurkst mit den ganzen befehlen die ich schon reingehauen habe. Müsste eigentlich mal komplett neu installieren. Aktuell laufen 19 Instanzen, ich habe mir aber nen Raspberry pi 4 mit 4GB bestellt.

      pi@ioBroker-Pi:~ $ cd /opt/iobroker
      pi@ioBroker-Pi:/opt/iobroker $
      pi@ioBroker-Pi:/opt/iobroker $ iobroker stop
      pi@ioBroker-Pi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x |                                                                                                                                                              bash -
      
      ## Installing the NodeSource Node.js 12.x repo...
      
      
      ## Populating apt-get cache...
      
      + apt-get update
      Paketlisten werden gelesen... Fertig
      W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDi                                                                                                                                                             rectory (1: Die Operation ist nicht erlaubt)
      E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13:                                                                                                                                                              Keine Berechtigung)
      E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden.
      W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - Remov                                                                                                                                                             eCaches (13: Keine Berechtigung)
      W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - Re                                                                                                                                                             moveCaches (13: Keine Berechtigung)
      Error executing command, exiting
      pi@ioBroker-Pi:/opt/iobroker $ apt install -y nodejs
      E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine                                                                                                                                                              Berechtigung)
      E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sin                                                                                                                                                             d Sie root?
      pi@ioBroker-Pi:/opt/iobroker $ npm rebuild
      
      > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
      > node lib/checkVersions.js
      
      NPM version: 6.14.4
      
      > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
      > node lib/install.js
      
      lib/install.js is not being run as part of an installation - skipping...
      
      > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/@abandonware/nob                                                                                                                                                             le
      > node-gyp rebuild
      
      make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird bet                                                                                                                                                             reten
        SOLINK_MODULE(target) Release/obj.target/noble.node
        COPY Release/noble.node
      make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird ver                                                                                                                                                             lassen
      
      > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/@serialport/bind                                                                                                                                                             ings
      > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
      
      prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime                                                                                                                                                             =node arch=arm libc= platform=linux)
      make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird b                                                                                                                                                             etreten
        CXX(target) Release/obj.target/bindings/src/serialport.o
      ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
      ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value                                                                                                                                                             >, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declara                                                                                                                                                             tions]
       an::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                    ^
      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-int                                                                                                                                                             ernal.h:14:0,
                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2                                                                                                                                                             7,
                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h                                                                                                                                                             :67,
                       from ../../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared                                                                                                                                                              here
                       bool Set(Local<Value> key, Local<Value> value));
                            ^
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in d                                                                                                                                                             efinition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value                                                                                                                                                             >, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declara                                                                                                                                                             tions]
       an::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                    ^
      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-int                                                                                                                                                             ernal.h:14:0,
                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2                                                                                                                                                             7,
                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h                                                                                                                                                             :67,
                       from ../../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared                                                                                                                                                              here
                       bool Set(Local<Value> key, Local<Value> value));
                            ^
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in d                                                                                                                                                             efinition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value                                                                                                                                                             >, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declara                                                                                                                                                             tions]
       an::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                    ^
      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-int                                                                                                                                                             ernal.h:14:0,
                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2                                                                                                                                                             7,
                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h                                                                                                                                                             :67,
                       from ../../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared                                                                                                                                                              here
                       bool Set(Local<Value> key, Local<Value> value));
                            ^
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in d                                                                                                                                                             efinition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
      ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Valu                                                                                                                                                             e>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declar                                                                                                                                                             ations]
       ::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                    ^
      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-int                                                                                                                                                             ernal.h:14:0,
                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:2                                                                                                                                                             7,
                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h                                                                                                                                                             :67,
                       from ../../../nan/nan.h:54,
                       from ../src/./serialport.h:6,
                       from ../src/serialport.cpp:1:
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared                                                                                                                                                              here
                       bool Set(Local<Value> key, Local<Value> value));
                            ^
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in d                                                                                                                                                             efinition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
        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: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird v                                                                                                                                                             erlassen
      
      > iobroker.javascript@4.5.1 postinstall /opt/iobroker/node_modules/iobroker.java                                                                                                                                                             script
      > node ./install/installTypings.js
      
      Installing NodeJS typings...
      latest @types: 14, installed node: 12
      
      > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.j                                                                                                                                                             s-controller
      > node lib/preinstallCheck.js
      
      NPM version: 6.14.4
      
      > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-c                                                                                                                                                             ontroller
      > node iobroker.js setup first
      
      
      The following notifications happened during sync:
      - Ignoring Directory "daswetter.admin" because officially not created as meta ob                                                                                                                                                             ject. Please remove directory!
      - Ignoring Directory "habpanel" because officially not created as meta object. P                                                                                                                                                             lease remove directory!
      - Ignoring Directory "habpanel.admin" because officially not created as meta obj                                                                                                                                                             ect. Please remove directory!
      - Ignoring Directory "iogo.admin" because officially not created as meta object.                                                                                                                                                              Please remove directory!
      - Ignoring Directory "kodi" because officially not created as meta object. Pleas                                                                                                                                                             e remove directory!
      - Ignoring Directory "kodi.admin" because officially not created as meta object.                                                                                                                                                              Please remove directory!
      
      
      > ws@0.6.5 install /opt/iobroker/node_modules/websocket-stream/node_modules/ws
      > (node-gyp rebuild 2> builderror.log) || (exit 0)
      
      make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/b                                                                                                                                                             uild“ wird betreten
        CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
      bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/                                                                                                                                                             bufferutil.o“ scheiterte
      make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/b                                                                                                                                                             uild“ wird verlassen
      
      > ws@0.7.0 install /opt/iobroker/node_modules/create-stream-server/node_modules/                                                                                                                                                             ws
      > (node-gyp rebuild 2> builderror.log) || (exit 0)
      
      make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/                                                                                                                                                             ws/build“ wird betreten
        CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
      bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/                                                                                                                                                             bufferutil.o“ scheiterte
      make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/                                                                                                                                                             ws/build“ wird verlassen
      
      > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modul                                                                                                                                                             es/raw-socket
      > node-gyp rebuild
      
      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-s                                                                                                                                                             ocket/build“ wird betreten
        CXX(target) Release/obj.target/raw/src/raw.o
        SOLINK_MODULE(target) Release/obj.target/raw.node
        COPY Release/raw.node
      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-s                                                                                                                                                             ocket/build“ wird verlassen
      
      > usb@1.6.1 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/usb
      > prebuild-install --verbose || node-gyp rebuild
      
      prebuild-install info begin Prebuild-install version 5.3.3
      prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuil                                                                                                                                                             ds/86d719-usb-v1.6.1-node-v72-linux-arm.tar.gz
      prebuild-install http request GET https://github.com/tessel/node-usb/releases/do                                                                                                                                                             wnload/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
      prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v                                                                                                                                                             1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
      prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime                                                                                                                                                             =node arch=arm libc= platform=linux)
      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/b                                                                                                                                                             uild“ wird betreten
        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*, li                                                                                                                                                             busb_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 [-Wde                                                                                                                                                             precated-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_w                                                                                                                                                             ork_t*)’:
      ../src/device.cc:237:64: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Lo                                                                                                                                                             cal<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprec                                                                                                                                                             ated [-Wdeprecated-declarations]
          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 depr                                                                                                                                                             ecated [-Wdeprecated-declarations]
         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: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/b                                                                                                                                                             uild“ wird verlassen
      
      > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/iobroker.radar2/                                                                                                                                                             node_modules/@abandonware/noble
      > node-gyp rebuild
      
      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@aban                                                                                                                                                             donware/noble/build“ wird betreten
        SOLINK_MODULE(target) Release/obj.target/noble.node
        COPY Release/noble.node
      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@aban                                                                                                                                                             donware/noble/build“ wird verlassen
      
      > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modul                                                                                                                                                             es/raw-socket
      > node-gyp rebuild
      
      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-s                                                                                                                                                             ocket/build“ wird betreten
        CXX(target) Release/obj.target/raw/src/raw.o
        SOLINK_MODULE(target) Release/obj.target/raw.node
        COPY Release/raw.node
      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-s                                                                                                                                                             ocket/build“ wird verlassen
      
      > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/iobroker.radar2/node_m                                                                                                                                                             odules/node-bluetooth
      > node-gyp configure build
      
      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-                                                                                                                                                             bluetooth/build“ wird betreten
        CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPo                                                                                                                                                             rt.o
      ../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ de                                                                                                                                                             clared void
       void InitAll(Handle<Object> exports) {
                    ^~~~~~
      ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in t                                                                                                                                                             his scope
      ../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression be                                                                                                                                                             fore ‘>’ token
       void InitAll(Handle<Object> exports) {
                                 ^
      ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in                                                                                                                                                              this scope
       void InitAll(Handle<Object> exports) {
                                   ^~~~~~~
      In file included from ../src/linux/BluetoothSerialPort.cc:12:0:
      ../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in                                                                                                                                                              this scope
       NODE_MODULE(BluetoothSerialPort, InitAll)
                                        ^
      /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in defi                                                                                                                                                             nition of macro ‘NODE_MODULE_X’
             (node::addon_register_func) (regfunc),                          \
                                          ^~~~~~~
      ../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODU                                                                                                                                                             LE’
       NODE_MODULE(BluetoothSerialPort, InitAll)
       ^~~~~~~~~~~
      BluetoothSerialPort.target.mk:115: die Regel für Ziel „Release/obj.target/Blueto                                                                                                                                                             othSerialPort/src/linux/BluetoothSerialPort.o“ scheiterte
      make: *** [Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.                                                                                                                                                             o] Fehler 1
      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-                                                                                                                                                             bluetooth/build“ wird verlassen
      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:194:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                                                             s.js:275:12)
      gyp ERR! System Linux 4.19.66-v7+
      gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_mod                                                                                                                                                             ules/node-gyp/bin/node-gyp.js" "configure" "build"
      gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-blueto                                                                                                                                                             oth
      gyp ERR! node -v v12.16.3
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! node-bluetooth@1.2.6 install: `node-gyp configure build`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the node-bluetooth@1.2.6 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional log                                                                                                                                                             ging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2020-05-15T19_59_05_978Z-debug.log
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #13

      @Hermanito33

      sudo apt upgrade
      

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

      Hermanito33H 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @Hermanito33

        sudo apt upgrade
        
        Hermanito33H Offline
        Hermanito33H Offline
        Hermanito33
        schrieb am zuletzt editiert von
        #14

        @Thomas-Braun Unbenannt.PNG

        Müssen die nicht auf der gleichen Version sein?

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • Hermanito33H Hermanito33

          @Thomas-Braun Unbenannt.PNG

          Müssen die nicht auf der gleichen Version sein?

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

          @Hermanito33
          Nein. nodejs und node müssen gleich sein:

          nodejs -v && node -v && npm -v
          

          Und bitte keine Screenshots, sondern Konsolenausgaben in </> CodeTags packen.

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

          Hermanito33H 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @Hermanito33
            Nein. nodejs und node müssen gleich sein:

            nodejs -v && node -v && npm -v
            

            Und bitte keine Screenshots, sondern Konsolenausgaben in </> CodeTags packen.

            Hermanito33H Offline
            Hermanito33H Offline
            Hermanito33
            schrieb am zuletzt editiert von
            #16

            @Thomas-Braun ```
            code_text

            
            pi@ioBroker-Pi:/opt/iobroker $ nodejs -v && node -v && npm -v
            v10.20.1
            v12.16.3
            6.14.4
            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • Hermanito33H Hermanito33

              @Thomas-Braun ```
              code_text

              
              pi@ioBroker-Pi:/opt/iobroker $ nodejs -v && node -v && npm -v
              v10.20.1
              v12.16.3
              6.14.4
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #17

              @Hermanito33
              Falsch installiert.

              which nodejs
              which node
              which npm
              

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

              Hermanito33H 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @Hermanito33
                Falsch installiert.

                which nodejs
                which node
                which npm
                
                Hermanito33H Offline
                Hermanito33H Offline
                Hermanito33
                schrieb am zuletzt editiert von
                #18

                @Thomas-Braun ```

                pi@ioBroker-Pi:/opt/iobroker $ which nodejs
                /usr/bin/nodejs
                pi@ioBroker-Pi:/opt/iobroker $ which node
                /usr/local/bin/node
                pi@ioBroker-Pi:/opt/iobroker $ which npm
                /usr/local/bin/npm
                pi@ioBroker-Pi:/opt/iobroker $
                GlasfaserG Thomas BraunT 2 Antworten Letzte Antwort
                0
                • Hermanito33H Hermanito33

                  @Thomas-Braun ```

                  pi@ioBroker-Pi:/opt/iobroker $ which nodejs
                  /usr/bin/nodejs
                  pi@ioBroker-Pi:/opt/iobroker $ which node
                  /usr/local/bin/node
                  pi@ioBroker-Pi:/opt/iobroker $ which npm
                  /usr/local/bin/npm
                  pi@ioBroker-Pi:/opt/iobroker $
                  GlasfaserG Offline
                  GlasfaserG Offline
                  Glasfaser
                  schrieb am zuletzt editiert von
                  #19

                  @Hermanito33

                  Ojehh .... :sunglasses:

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

                  Hermanito33H 1 Antwort Letzte Antwort
                  0
                  • GlasfaserG Glasfaser

                    @Hermanito33

                    Ojehh .... :sunglasses:

                    Hermanito33H Offline
                    Hermanito33H Offline
                    Hermanito33
                    schrieb am zuletzt editiert von
                    #20

                    @Glasfaser Dachte ich mir fast :D

                    GlasfaserG 1 Antwort Letzte Antwort
                    0
                    • Hermanito33H Hermanito33

                      @Glasfaser Dachte ich mir fast :D

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

                      @Hermanito33

                      Da hast du aber alles quer !!!

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

                      1 Antwort Letzte Antwort
                      0
                      • Hermanito33H Hermanito33

                        @Thomas-Braun ```

                        pi@ioBroker-Pi:/opt/iobroker $ which nodejs
                        /usr/bin/nodejs
                        pi@ioBroker-Pi:/opt/iobroker $ which node
                        /usr/local/bin/node
                        pi@ioBroker-Pi:/opt/iobroker $ which npm
                        /usr/local/bin/npm
                        pi@ioBroker-Pi:/opt/iobroker $
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von Thomas Braun
                        #22

                        @Hermanito33
                        Wie schafft ihr das eigentlich immer eine Installation so zu vermurksen?
                        Wo steht die Anleitung so im Netz?

                        sudo rm /usr/local/bin/node
                        sudo rm /usr/local/bin/npm
                        curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                        sudo apt upgrade
                        sudo apt install nodejs --reinstall
                        

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

                        Hermanito33H 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @Hermanito33
                          Wie schafft ihr das eigentlich immer eine Installation so zu vermurksen?
                          Wo steht die Anleitung so im Netz?

                          sudo rm /usr/local/bin/node
                          sudo rm /usr/local/bin/npm
                          curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                          sudo apt upgrade
                          sudo apt install nodejs --reinstall
                          
                          Hermanito33H Offline
                          Hermanito33H Offline
                          Hermanito33
                          schrieb am zuletzt editiert von
                          #23

                          @Thomas-Braun ```
                          So... Weiß auch nicht wie ich das hinbekommen habe....

                          
                          pi@ioBroker-Pi:/opt/iobroker $ sudo rm /usr/local/bin/node
                          pi@ioBroker-Pi:/opt/iobroker $ sudo rm /usr/local/bin/npm
                          pi@ioBroker-Pi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                          
                          ## Installing the NodeSource Node.js 12.x repo...
                          
                          
                          ## Populating apt-get cache...
                          
                          + apt-get update
                          OK:1 http://archive.raspberrypi.org/debian stretch InRelease
                          OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                          OK:3 https://deb.nodesource.com/node_10.x stretch InRelease
                          Paketlisten werden gelesen... Fertig
                          
                          ## Confirming "stretch" is supported...
                          
                          + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.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 12.x repo...
                          
                          + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
                          + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
                          
                          ## Running `apt-get update` for you...
                          
                          + apt-get update
                          OK:1 http://archive.raspberrypi.org/debian stretch InRelease
                          OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                          Holen:3 https://deb.nodesource.com/node_12.x stretch InRelease [4.585 B]
                          Holen:4 https://deb.nodesource.com/node_12.x stretch/main armhf Packages [775 B]
                          Es wurden 5.360 B in 1 s geholt (3.784 B/s).
                          Paketlisten werden gelesen... Fertig
                          
                          ## Run `sudo apt-get install -y nodejs` to install Node.js 12.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
                          
                          
                          pi@ioBroker-Pi:/opt/iobroker $ sudo apt upgrade
                          Paketlisten werden gelesen... Fertig
                          Abhängigkeitsbaum wird aufgebaut.
                          Statusinformationen werden eingelesen.... Fertig
                          Paketaktualisierung (Upgrade) wird berechnet... Fertig
                          Die folgenden Pakete werden aktualisiert (Upgrade):
                            nodejs
                          1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                          Es müssen 15,9 MB an Archiven heruntergeladen werden.
                          Nach dieser Operation werden 5.960 kB Plattenplatz zusätzlich benutzt.
                          Möchten Sie fortfahren? [J/n] j
                          Holen:1 https://deb.nodesource.com/node_12.x stretch/main armhf nodejs armhf 12.16.3-1nodesource1 [15,9 MB]
                          Es wurden 15,9 MB in 4 s geholt (3.855 kB/s).
                          Lese Changelogs... Fertig
                          (Lese Datenbank ... 41744 Dateien und Verzeichnisse sind derzeit installiert.)
                          Vorbereitung zum Entpacken von .../nodejs_12.16.3-1nodesource1_armhf.deb ...
                          Detected old npm client, removing...
                          Entpacken von nodejs (12.16.3-1nodesource1) über (10.20.1-1nodesource1) ...
                          nodejs (12.16.3-1nodesource1) wird eingerichtet ...
                          Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                          pi@ioBroker-Pi:/opt/iobroker $
                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • Hermanito33H Hermanito33

                            @Thomas-Braun ```
                            So... Weiß auch nicht wie ich das hinbekommen habe....

                            
                            pi@ioBroker-Pi:/opt/iobroker $ sudo rm /usr/local/bin/node
                            pi@ioBroker-Pi:/opt/iobroker $ sudo rm /usr/local/bin/npm
                            pi@ioBroker-Pi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                            
                            ## Installing the NodeSource Node.js 12.x repo...
                            
                            
                            ## Populating apt-get cache...
                            
                            + apt-get update
                            OK:1 http://archive.raspberrypi.org/debian stretch InRelease
                            OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                            OK:3 https://deb.nodesource.com/node_10.x stretch InRelease
                            Paketlisten werden gelesen... Fertig
                            
                            ## Confirming "stretch" is supported...
                            
                            + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.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 12.x repo...
                            
                            + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
                            + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
                            
                            ## Running `apt-get update` for you...
                            
                            + apt-get update
                            OK:1 http://archive.raspberrypi.org/debian stretch InRelease
                            OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                            Holen:3 https://deb.nodesource.com/node_12.x stretch InRelease [4.585 B]
                            Holen:4 https://deb.nodesource.com/node_12.x stretch/main armhf Packages [775 B]
                            Es wurden 5.360 B in 1 s geholt (3.784 B/s).
                            Paketlisten werden gelesen... Fertig
                            
                            ## Run `sudo apt-get install -y nodejs` to install Node.js 12.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
                            
                            
                            pi@ioBroker-Pi:/opt/iobroker $ sudo apt upgrade
                            Paketlisten werden gelesen... Fertig
                            Abhängigkeitsbaum wird aufgebaut.
                            Statusinformationen werden eingelesen.... Fertig
                            Paketaktualisierung (Upgrade) wird berechnet... Fertig
                            Die folgenden Pakete werden aktualisiert (Upgrade):
                              nodejs
                            1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                            Es müssen 15,9 MB an Archiven heruntergeladen werden.
                            Nach dieser Operation werden 5.960 kB Plattenplatz zusätzlich benutzt.
                            Möchten Sie fortfahren? [J/n] j
                            Holen:1 https://deb.nodesource.com/node_12.x stretch/main armhf nodejs armhf 12.16.3-1nodesource1 [15,9 MB]
                            Es wurden 15,9 MB in 4 s geholt (3.855 kB/s).
                            Lese Changelogs... Fertig
                            (Lese Datenbank ... 41744 Dateien und Verzeichnisse sind derzeit installiert.)
                            Vorbereitung zum Entpacken von .../nodejs_12.16.3-1nodesource1_armhf.deb ...
                            Detected old npm client, removing...
                            Entpacken von nodejs (12.16.3-1nodesource1) über (10.20.1-1nodesource1) ...
                            nodejs (12.16.3-1nodesource1) wird eingerichtet ...
                            Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                            pi@ioBroker-Pi:/opt/iobroker $
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #24

                            @Hermanito33

                             nodejs -v && node -v && npm -v
                            

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

                            Hermanito33H 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @Hermanito33

                               nodejs -v && node -v && npm -v
                              
                              Hermanito33H Offline
                              Hermanito33H Offline
                              Hermanito33
                              schrieb am zuletzt editiert von
                              #25

                              @Thomas-Braun ```
                              code_text

                              pi@ioBroker-Pi:/opt/iobroker $  nodejs -v && node -v && npm -v
                              v12.16.3
                              -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden
                              pi@ioBroker-Pi:/opt/iobroker $
                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • Hermanito33H Hermanito33

                                @Thomas-Braun ```
                                code_text

                                pi@ioBroker-Pi:/opt/iobroker $  nodejs -v && node -v && npm -v
                                v12.16.3
                                -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden
                                pi@ioBroker-Pi:/opt/iobroker $
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #26

                                @Hermanito33 Log dich mal aus und wieder ein. Oder startet die Kiste durch. Wie du Lust hast.

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

                                Hermanito33H 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @Hermanito33 Log dich mal aus und wieder ein. Oder startet die Kiste durch. Wie du Lust hast.

                                  Hermanito33H Offline
                                  Hermanito33H Offline
                                  Hermanito33
                                  schrieb am zuletzt editiert von Hermanito33
                                  #27

                                  @Thomas-Braun ```
                                  Das sieht ganz gut aus :)

                                  pi@ioBroker-Pi:~ $  nodejs -v && node -v && npm -v
                                  v12.16.3
                                  v12.16.3
                                  6.14.4
                                  pi@ioBroker-Pi:~ $
                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • Hermanito33H Hermanito33

                                    @Thomas-Braun ```
                                    Das sieht ganz gut aus :)

                                    pi@ioBroker-Pi:~ $  nodejs -v && node -v && npm -v
                                    v12.16.3
                                    v12.16.3
                                    6.14.4
                                    pi@ioBroker-Pi:~ $
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von Thomas Braun
                                    #28

                                    @Hermanito33

                                    cd /opt/iobroker
                                    npm rebuild
                                    

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

                                    Hermanito33H 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @Hermanito33

                                      cd /opt/iobroker
                                      npm rebuild
                                      
                                      Hermanito33H Offline
                                      Hermanito33H Offline
                                      Hermanito33
                                      schrieb am zuletzt editiert von
                                      #29

                                      @Thomas-Braun ```
                                      code_text

                                      pi@ioBroker-Pi:~ $ cd /opt/iobroker
                                      pi@ioBroker-Pi:/opt/iobroker $ npm rebuild
                                      
                                      > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
                                      > node lib/checkVersions.js
                                      
                                      NPM version: 6.14.4
                                      
                                      > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
                                      > node lib/install.js
                                      
                                      lib/install.js is not being run as part of an installation - skipping...
                                      
                                      > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/@abandonware/noble
                                      > node-gyp rebuild
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird betreten
                                        SOLINK_MODULE(target) Release/obj.target/noble.node
                                        COPY Release/noble.node
                                      make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird verlassen
                                      
                                      > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/@serialport/bindings
                                      > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
                                      
                                      prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm libc= platform=linux)
                                      make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird betreten
                                        CXX(target) Release/obj.target/bindings/src/serialport.o
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                      ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       an::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                                                    ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                       bool Set(Local<Value> key, Local<Value> value));
                                                            ^
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       an::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                                                    ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                       bool Set(Local<Value> key, Local<Value> value));
                                                            ^
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       an::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                                                    ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                       bool Set(Local<Value> key, Local<Value> value));
                                                            ^
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                      ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       ::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                                                    ^
                                      In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                       from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                       from ../../../nan/nan.h:54,
                                                       from ../src/./serialport.h:6,
                                                       from ../src/serialport.cpp:1:
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                       bool Set(Local<Value> key, Local<Value> value));
                                                            ^
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                        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: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird verlassen
                                      
                                      > iobroker.javascript@4.5.1 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                      > node ./install/installTypings.js
                                      
                                      Installing NodeJS typings...
                                      latest @types: 14, installed node: 12
                                      
                                      > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                      > node lib/preinstallCheck.js
                                      
                                      NPM version: 6.14.4
                                      
                                      > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller
                                      > node iobroker.js setup first
                                      
                                      
                                      > ws@0.6.5 install /opt/iobroker/node_modules/websocket-stream/node_modules/ws
                                      > (node-gyp rebuild 2> builderror.log) || (exit 0)
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/build“ wird betreten
                                        CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                                      bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte
                                      make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/build“ wird verlassen
                                      
                                      > ws@0.7.0 install /opt/iobroker/node_modules/create-stream-server/node_modules/ws
                                      > (node-gyp rebuild 2> builderror.log) || (exit 0)
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/ws/build“ wird betreten
                                        CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                                      bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte
                                      make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/ws/build“ wird verlassen
                                      
                                      > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket
                                      > node-gyp rebuild
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird betreten
                                        CXX(target) Release/obj.target/raw/src/raw.o
                                        SOLINK_MODULE(target) Release/obj.target/raw.node
                                        COPY Release/raw.node
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird verlassen
                                      
                                      > usb@1.6.1 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/usb
                                      > prebuild-install --verbose || node-gyp rebuild
                                      
                                      prebuild-install info begin Prebuild-install version 5.3.3
                                      prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/86d719-usb-v1.6.1-node-v72-linux-arm.tar.gz
                                      prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
                                      prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
                                      prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm libc= platform=linux)
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build“ wird betreten
                                        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-declarations]
                                          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-declarations]
                                         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: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build“ wird verlassen
                                      
                                      > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble
                                      > node-gyp rebuild
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble/build“ wird betreten
                                        SOLINK_MODULE(target) Release/obj.target/noble.node
                                        COPY Release/noble.node
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble/build“ wird verlassen
                                      
                                      > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket
                                      > node-gyp rebuild
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird betreten
                                        CXX(target) Release/obj.target/raw/src/raw.o
                                        SOLINK_MODULE(target) Release/obj.target/raw.node
                                        COPY Release/raw.node
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird verlassen
                                      
                                      > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth
                                      > node-gyp configure build
                                      
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth/build“ wird betreten
                                        CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
                                      ../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ declared void
                                       void InitAll(Handle<Object> exports) {
                                                    ^~~~~~
                                      ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope
                                      ../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token
                                       void InitAll(Handle<Object> exports) {
                                                                 ^
                                      ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope
                                       void InitAll(Handle<Object> exports) {
                                                                   ^~~~~~~
                                      In file included from ../src/linux/BluetoothSerialPort.cc:12:0:
                                      ../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope
                                       NODE_MODULE(BluetoothSerialPort, InitAll)
                                                                        ^
                                      /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                                             (node::addon_register_func) (regfunc),                          \
                                                                          ^~~~~~~
                                      ../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’
                                       NODE_MODULE(BluetoothSerialPort, InitAll)
                                       ^~~~~~~~~~~
                                      BluetoothSerialPort.target.mk:115: die Regel für Ziel „Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o“ scheiterte
                                      make: *** [Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Fehler 1
                                      make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth/build“ wird verlassen
                                      gyp ERR! build error
                                      gyp ERR! stack Error: `make` failed with exit code: 2
                                      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                      gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                      gyp ERR! System Linux 4.19.66-v7+
                                      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
                                      gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth
                                      gyp ERR! node -v v12.16.3
                                      gyp ERR! node-gyp -v v5.1.0
                                      gyp ERR! not ok
                                      npm ERR! code ELIFECYCLE
                                      npm ERR! errno 1
                                      npm ERR! node-bluetooth@1.2.6 install: `node-gyp configure build`
                                      npm ERR! Exit status 1
                                      npm ERR!
                                      npm ERR! Failed at the node-bluetooth@1.2.6 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/iobroker/.npm/_logs/2020-05-15T22_08_46_202Z-debug.log
                                      pi@ioBroker-Pi:/opt/iobroker $
                                      Thomas BraunT GlasfaserG 2 Antworten Letzte Antwort
                                      0
                                      • Hermanito33H Hermanito33

                                        @Thomas-Braun ```
                                        code_text

                                        pi@ioBroker-Pi:~ $ cd /opt/iobroker
                                        pi@ioBroker-Pi:/opt/iobroker $ npm rebuild
                                        
                                        > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
                                        > node lib/checkVersions.js
                                        
                                        NPM version: 6.14.4
                                        
                                        > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
                                        > node lib/install.js
                                        
                                        lib/install.js is not being run as part of an installation - skipping...
                                        
                                        > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/@abandonware/noble
                                        > node-gyp rebuild
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird betreten
                                          SOLINK_MODULE(target) Release/obj.target/noble.node
                                          COPY Release/noble.node
                                        make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird verlassen
                                        
                                        > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/@serialport/bindings
                                        > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
                                        
                                        prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm libc= platform=linux)
                                        make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird betreten
                                          CXX(target) Release/obj.target/bindings/src/serialport.o
                                        ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                        ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         an::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                                                      ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                         bool Set(Local<Value> key, Local<Value> value));
                                                              ^
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         an::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                                                      ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                         bool Set(Local<Value> key, Local<Value> value));
                                                              ^
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         an::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                                                      ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                         bool Set(Local<Value> key, Local<Value> value));
                                                              ^
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                        ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                        ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         ::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                                                      ^
                                        In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                         from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                         from ../../../nan/nan.h:54,
                                                         from ../src/./serialport.h:6,
                                                         from ../src/serialport.cpp:1:
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                         bool Set(Local<Value> key, Local<Value> value));
                                                              ^
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                           declarator __attribute__((deprecated(message)))
                                           ^~~~~~~~~~
                                          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: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird verlassen
                                        
                                        > iobroker.javascript@4.5.1 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                        > node ./install/installTypings.js
                                        
                                        Installing NodeJS typings...
                                        latest @types: 14, installed node: 12
                                        
                                        > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                        > node lib/preinstallCheck.js
                                        
                                        NPM version: 6.14.4
                                        
                                        > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller
                                        > node iobroker.js setup first
                                        
                                        
                                        > ws@0.6.5 install /opt/iobroker/node_modules/websocket-stream/node_modules/ws
                                        > (node-gyp rebuild 2> builderror.log) || (exit 0)
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/build“ wird betreten
                                          CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                                        bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte
                                        make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/build“ wird verlassen
                                        
                                        > ws@0.7.0 install /opt/iobroker/node_modules/create-stream-server/node_modules/ws
                                        > (node-gyp rebuild 2> builderror.log) || (exit 0)
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/ws/build“ wird betreten
                                          CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                                        bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte
                                        make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/ws/build“ wird verlassen
                                        
                                        > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket
                                        > node-gyp rebuild
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird betreten
                                          CXX(target) Release/obj.target/raw/src/raw.o
                                          SOLINK_MODULE(target) Release/obj.target/raw.node
                                          COPY Release/raw.node
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird verlassen
                                        
                                        > usb@1.6.1 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/usb
                                        > prebuild-install --verbose || node-gyp rebuild
                                        
                                        prebuild-install info begin Prebuild-install version 5.3.3
                                        prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/86d719-usb-v1.6.1-node-v72-linux-arm.tar.gz
                                        prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
                                        prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
                                        prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm libc= platform=linux)
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build“ wird betreten
                                          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-declarations]
                                            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-declarations]
                                           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: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build“ wird verlassen
                                        
                                        > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble
                                        > node-gyp rebuild
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble/build“ wird betreten
                                          SOLINK_MODULE(target) Release/obj.target/noble.node
                                          COPY Release/noble.node
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble/build“ wird verlassen
                                        
                                        > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket
                                        > node-gyp rebuild
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird betreten
                                          CXX(target) Release/obj.target/raw/src/raw.o
                                          SOLINK_MODULE(target) Release/obj.target/raw.node
                                          COPY Release/raw.node
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird verlassen
                                        
                                        > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth
                                        > node-gyp configure build
                                        
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth/build“ wird betreten
                                          CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
                                        ../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ declared void
                                         void InitAll(Handle<Object> exports) {
                                                      ^~~~~~
                                        ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope
                                        ../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token
                                         void InitAll(Handle<Object> exports) {
                                                                   ^
                                        ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope
                                         void InitAll(Handle<Object> exports) {
                                                                     ^~~~~~~
                                        In file included from ../src/linux/BluetoothSerialPort.cc:12:0:
                                        ../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope
                                         NODE_MODULE(BluetoothSerialPort, InitAll)
                                                                          ^
                                        /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                                               (node::addon_register_func) (regfunc),                          \
                                                                            ^~~~~~~
                                        ../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’
                                         NODE_MODULE(BluetoothSerialPort, InitAll)
                                         ^~~~~~~~~~~
                                        BluetoothSerialPort.target.mk:115: die Regel für Ziel „Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o“ scheiterte
                                        make: *** [Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Fehler 1
                                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth/build“ wird verlassen
                                        gyp ERR! build error
                                        gyp ERR! stack Error: `make` failed with exit code: 2
                                        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                        gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                                        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                        gyp ERR! System Linux 4.19.66-v7+
                                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
                                        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth
                                        gyp ERR! node -v v12.16.3
                                        gyp ERR! node-gyp -v v5.1.0
                                        gyp ERR! not ok
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! node-bluetooth@1.2.6 install: `node-gyp configure build`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the node-bluetooth@1.2.6 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/iobroker/.npm/_logs/2020-05-15T22_08_46_202Z-debug.log
                                        pi@ioBroker-Pi:/opt/iobroker $
                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #30

                                        @Hermanito33 Startet der iobroker nun?

                                        iobroker start
                                        iobroker list instances
                                        

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

                                        Hermanito33H 1 Antwort Letzte Antwort
                                        0
                                        • Hermanito33H Hermanito33

                                          @Thomas-Braun ```
                                          code_text

                                          pi@ioBroker-Pi:~ $ cd /opt/iobroker
                                          pi@ioBroker-Pi:/opt/iobroker $ npm rebuild
                                          
                                          > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
                                          > node lib/checkVersions.js
                                          
                                          NPM version: 6.14.4
                                          
                                          > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
                                          > node lib/install.js
                                          
                                          lib/install.js is not being run as part of an installation - skipping...
                                          
                                          > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/@abandonware/noble
                                          > node-gyp rebuild
                                          
                                          make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird betreten
                                            SOLINK_MODULE(target) Release/obj.target/noble.node
                                            COPY Release/noble.node
                                          make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird verlassen
                                          
                                          > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/@serialport/bindings
                                          > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
                                          
                                          prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm libc= platform=linux)
                                          make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird betreten
                                            CXX(target) Release/obj.target/bindings/src/serialport.o
                                          ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                          ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           an::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                                                        ^
                                          In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                           from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                           from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                           from ../../../nan/nan.h:54,
                                                           from ../src/./serialport.h:6,
                                                           from ../src/serialport.cpp:1:
                                          /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                           bool Set(Local<Value> key, Local<Value> value));
                                                                ^
                                          /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                             declarator __attribute__((deprecated(message)))
                                             ^~~~~~~~~~
                                          ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           an::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                                                        ^
                                          In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                           from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                           from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                           from ../../../nan/nan.h:54,
                                                           from ../src/./serialport.h:6,
                                                           from ../src/serialport.cpp:1:
                                          /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                           bool Set(Local<Value> key, Local<Value> value));
                                                                ^
                                          /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                             declarator __attribute__((deprecated(message)))
                                             ^~~~~~~~~~
                                          ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           an::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                                                        ^
                                          In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                           from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                           from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                           from ../../../nan/nan.h:54,
                                                           from ../src/./serialport.h:6,
                                                           from ../src/serialport.cpp:1:
                                          /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                           bool Set(Local<Value> key, Local<Value> value));
                                                                ^
                                          /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                             declarator __attribute__((deprecated(message)))
                                             ^~~~~~~~~~
                                          ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                          ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                           ::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                                                        ^
                                          In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                                           from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                                           from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                                           from ../../../nan/nan.h:54,
                                                           from ../src/./serialport.h:6,
                                                           from ../src/serialport.cpp:1:
                                          /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                                           bool Set(Local<Value> key, Local<Value> value));
                                                                ^
                                          /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                                             declarator __attribute__((deprecated(message)))
                                             ^~~~~~~~~~
                                            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: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird verlassen
                                          
                                          > iobroker.javascript@4.5.1 postinstall /opt/iobroker/node_modules/iobroker.javascript
                                          > node ./install/installTypings.js
                                          
                                          Installing NodeJS typings...
                                          latest @types: 14, installed node: 12
                                          
                                          > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                          > node lib/preinstallCheck.js
                                          
                                          NPM version: 6.14.4
                                          
                                          > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller
                                          > node iobroker.js setup first
                                          
                                          
                                          > ws@0.6.5 install /opt/iobroker/node_modules/websocket-stream/node_modules/ws
                                          > (node-gyp rebuild 2> builderror.log) || (exit 0)
                                          
                                          make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/build“ wird betreten
                                            CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                                          bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte
                                          make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/build“ wird verlassen
                                          
                                          > ws@0.7.0 install /opt/iobroker/node_modules/create-stream-server/node_modules/ws
                                          > (node-gyp rebuild 2> builderror.log) || (exit 0)
                                          
                                          make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/ws/build“ wird betreten
                                            CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
                                          bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte
                                          make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/ws/build“ wird verlassen
                                          
                                          > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket
                                          > node-gyp rebuild
                                          
                                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird betreten
                                            CXX(target) Release/obj.target/raw/src/raw.o
                                            SOLINK_MODULE(target) Release/obj.target/raw.node
                                            COPY Release/raw.node
                                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird verlassen
                                          
                                          > usb@1.6.1 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/usb
                                          > prebuild-install --verbose || node-gyp rebuild
                                          
                                          prebuild-install info begin Prebuild-install version 5.3.3
                                          prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/86d719-usb-v1.6.1-node-v72-linux-arm.tar.gz
                                          prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
                                          prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz
                                          prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm libc= platform=linux)
                                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build“ wird betreten
                                            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-declarations]
                                              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-declarations]
                                             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: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build“ wird verlassen
                                          
                                          > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble
                                          > node-gyp rebuild
                                          
                                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble/build“ wird betreten
                                            SOLINK_MODULE(target) Release/obj.target/noble.node
                                            COPY Release/noble.node
                                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble/build“ wird verlassen
                                          
                                          > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket
                                          > node-gyp rebuild
                                          
                                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird betreten
                                            CXX(target) Release/obj.target/raw/src/raw.o
                                            SOLINK_MODULE(target) Release/obj.target/raw.node
                                            COPY Release/raw.node
                                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird verlassen
                                          
                                          > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth
                                          > node-gyp configure build
                                          
                                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth/build“ wird betreten
                                            CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
                                          ../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ declared void
                                           void InitAll(Handle<Object> exports) {
                                                        ^~~~~~
                                          ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope
                                          ../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token
                                           void InitAll(Handle<Object> exports) {
                                                                     ^
                                          ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope
                                           void InitAll(Handle<Object> exports) {
                                                                       ^~~~~~~
                                          In file included from ../src/linux/BluetoothSerialPort.cc:12:0:
                                          ../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope
                                           NODE_MODULE(BluetoothSerialPort, InitAll)
                                                                            ^
                                          /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                                                 (node::addon_register_func) (regfunc),                          \
                                                                              ^~~~~~~
                                          ../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’
                                           NODE_MODULE(BluetoothSerialPort, InitAll)
                                           ^~~~~~~~~~~
                                          BluetoothSerialPort.target.mk:115: die Regel für Ziel „Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o“ scheiterte
                                          make: *** [Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Fehler 1
                                          make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth/build“ wird verlassen
                                          gyp ERR! build error
                                          gyp ERR! stack Error: `make` failed with exit code: 2
                                          gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                          gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                          gyp ERR! System Linux 4.19.66-v7+
                                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
                                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth
                                          gyp ERR! node -v v12.16.3
                                          gyp ERR! node-gyp -v v5.1.0
                                          gyp ERR! not ok
                                          npm ERR! code ELIFECYCLE
                                          npm ERR! errno 1
                                          npm ERR! node-bluetooth@1.2.6 install: `node-gyp configure build`
                                          npm ERR! Exit status 1
                                          npm ERR!
                                          npm ERR! Failed at the node-bluetooth@1.2.6 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/iobroker/.npm/_logs/2020-05-15T22_08_46_202Z-debug.log
                                          pi@ioBroker-Pi:/opt/iobroker $
                                          GlasfaserG Offline
                                          GlasfaserG Offline
                                          Glasfaser
                                          schrieb am zuletzt editiert von
                                          #31

                                          @Hermanito33

                                          Hallo ......
                                          @Thomas-Braun hilft dir und du Antwortest nicht mehr , bzw. zumindest kann man eine kurze Rückmeldung geben ... "ich melde mich morgen wieder ...." !

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

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


                                          Support us

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

                                          775

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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