Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. Installation klappt nicht

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    676

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    517

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.0k

Installation klappt nicht

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
gyp error
15 Beiträge 5 Kommentatoren 697 Aufrufe 3 Beobachtet
  • Ä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.
  • david83D david83

    Hallo Community,
    Ich möchte mit iobroker auf eine Proxmox vm wechseln.

    Leider erhalte ich immer Fehlermeldungen beim Installieren. Dabei habe ich mehrere Varianten ausprobiert:

    Iobroker auf Kvm vm installiert.
    Iobroker auf Lxc Container installiert.
    Beide Varianten mit sudo und root probiert.

    System:
    Debian 10 Buster
    Proxmox 6.1

    Fehlermeldungen:

    Linux iobroker-vm 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64
    
    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Thu Apr  9 09:03:24 2020 from 192.168.178.33
    root@iobroker-vm:~# su iobrokeruser
    iobrokeruser@iobroker-vm:/root$ curl -sL https://iobroker.net/install.sh | bash -
    library: loaded
    Library version=2020-01-30
    
    ==========================================================================
    
        Welcome to the ioBroker installer!
        Installer version: 2020-01-25
    
        You might need to enter your password a couple of times.
    
    ==========================================================================
    
    
    ==========================================================================
        Installing prerequisites (1/4)
    ==========================================================================
    
    [sudo] Passwort für iobrokeruser:
    OK:1 http://debian.inf.tu-dresden.de/debian buster InRelease
    OK:2 http://debian.inf.tu-dresden.de/debian buster-updates InRelease
    OK:3 http://security.debian.org/debian-security buster/updates InRelease
    OK:4 https://deb.nodesource.com/node_13.x buster InRelease
    Paketlisten werden gelesen... Fertig
    Error: EACCES: permission denied, scandir '/root'
    bash: Zeile 71: [: !=: Einstelliger (unärer) Operator erwartet.
    Installed gcc-c++
    
    ==========================================================================
        Creating ioBroker user and directory (2/4)
    ==========================================================================
    
    Created /etc/sudoers.d/iobroker
    Directory /opt/iobroker created
    
    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
    ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
         , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                  ^
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
       v8::String::Utf8Value path(info[0]->ToString());
                                                    ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2750:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                ^~~~~~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2750:44: note:   candidate expects 1 argument, 0 provided
    ../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’
       v8::Local<v8::Object> options = info[1]->ToObject();
                                                         ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                ^~~~~~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note:   candidate expects 1 argument, 0 provided
    ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                         ^~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
    ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(2, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’
       v8::Local<v8::Object> options = info[1]->ToObject();
                                                         ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                ^~~~~~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note:   candidate expects 1 argument, 0 provided
    ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                           ^~~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
    ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                          ^~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
    ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                          ^~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
    ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’
       v8::Local<v8::Object> options = info[1]->ToObject();
                                                         ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                ^~~~~~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note:   candidate expects 1 argument, 0 provided
    ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                        ^~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
    ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                        ^~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
    ../src/serialport.cpp:329:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
         results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                 ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note:   candidate expects 3 arguments, 2 provided
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note:   candidate expects 3 arguments, 2 provided
    ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
         results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                 ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note:   candidate expects 3 arguments, 2 provided
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note:   candidate expects 3 arguments, 2 provided
    ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
         results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                 ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note:   candidate expects 3 arguments, 2 provided
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note:   candidate expects 3 arguments, 2 provided
    ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(2, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                ^~~~~~~~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
    ../src/serialport.cpp:378:106: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
         results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                           ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note:   candidate expects 3 arguments, 2 provided
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note:   candidate expects 3 arguments, 2 provided
    ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(2, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                          ^~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
    ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: At global scope:
    ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
     SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                ^
    ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
     SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                  ^
    ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
       void init(v8::Handle<v8::Object> target) {
                     ^~~~~~
    ../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’
    ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token
       void init(v8::Handle<v8::Object> target) {
                                      ^
    ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
       void init(v8::Handle<v8::Object> target) {
                                        ^~~~~~
    ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’
       void init(v8::Handle<v8::Object> target) {
                                        ^~~~~~
                                        tzset
    In file included from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
     NODE_MODULE(serialport, init);
                             ^~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:618:36: note: in definition of macro ‘NODE_MODULE_X’
           (node::addon_register_func) (regfunc),                          \
                                        ^~~~~~~
    ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(serialport, init);
     ^~~~~~~~~~~
    ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’
     NODE_MODULE(serialport, init);
                             ^~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:618:36: note: in definition of macro ‘NODE_MODULE_X’
           (node::addon_register_func) (regfunc),                          \
                                        ^~~~~~~
    ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(serialport, init);
     ^~~~~~~~~~~
    make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
    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:315:20)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    gyp ERR! System Linux 4.19.0-8-amd64
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/serialport
    gyp ERR! node -v v13.12.0
    gyp ERR! node-gyp -v v5.1.0
    gyp ERR! not ok
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
    ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
         , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                  ^
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
       v8::String::Utf8Value path(info[0]->ToString());
                                                    ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2750:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                ^~~~~~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2750:44: note:   candidate expects 1 argument, 0 provided
    ../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’
       v8::Local<v8::Object> options = info[1]->ToObject();
                                                         ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                ^~~~~~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note:   candidate expects 1 argument, 0 provided
    ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                         ^~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
    ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(2, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’
       v8::Local<v8::Object> options = info[1]->ToObject();
                                                         ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                ^~~~~~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note:   candidate expects 1 argument, 0 provided
    ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                           ^~~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
    ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                          ^~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
    ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                          ^~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
    ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’
       v8::Local<v8::Object> options = info[1]->ToObject();
                                                         ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
       V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
                                                ^~~~~~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:2754:44: note:   candidate expects 1 argument, 0 provided
    ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                        ^~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
    ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                        ^~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
    ../src/serialport.cpp:329:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
         results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                 ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note:   candidate expects 3 arguments, 2 provided
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note:   candidate expects 3 arguments, 2 provided
    ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
         results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                 ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note:   candidate expects 3 arguments, 2 provided
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note:   candidate expects 3 arguments, 2 provided
    ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
         results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                 ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note:   candidate expects 3 arguments, 2 provided
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note:   candidate expects 3 arguments, 2 provided
    ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(2, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                ^~~~~~~~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
    ../src/serialport.cpp:378:106: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
         results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                           ^
    In file included from /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:67,
                     from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3547:37: note:   candidate expects 3 arguments, 2 provided
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
       V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                         ^~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/v8.h:3550:37: note:   candidate expects 3 arguments, 2 provided
    ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(2, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
       uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                          ^~~~~~~~~~~~~~
    ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
    ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
       data->callback.Call(1, argv);
                                  ^
    In file included from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../../nan/nan.h:1740:3: note: declared here
       Call(int argc, v8::Local<v8::Value> argv[]) const {
       ^~~~
    ../src/serialport.cpp: At global scope:
    ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
     SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                ^
    ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
     SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                  ^
    ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
       void init(v8::Handle<v8::Object> target) {
                     ^~~~~~
    ../src/serialport.cpp:460:17: error: ‘Handle’ is not a member of ‘v8’
    ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token
       void init(v8::Handle<v8::Object> target) {
                                      ^
    ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
       void init(v8::Handle<v8::Object> target) {
                                        ^~~~~~
    ../src/serialport.cpp:460:36: note: suggested alternative: ‘tzset’
       void init(v8::Handle<v8::Object> target) {
                                        ^~~~~~
                                        tzset
    In file included from ../../nan/nan.h:54,
                     from ../src/./serialport.h:6,
                     from ../src/serialport.cpp:1:
    ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
     NODE_MODULE(serialport, init);
                             ^~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:618:36: note: in definition of macro ‘NODE_MODULE_X’
           (node::addon_register_func) (regfunc),                          \
                                        ^~~~~~~
    ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(serialport, init);
     ^~~~~~~~~~~
    ../src/serialport.cpp:485:25: note: suggested alternative: ‘int’
     NODE_MODULE(serialport, init);
                             ^~~~
    /home/iobrokeruser/.cache/node-gyp/13.12.0/include/node/node.h:618:36: note: in definition of macro ‘NODE_MODULE_X’
           (node::addon_register_func) (regfunc),                          \
                                        ^~~~~~~
    ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(serialport, init);
     ^~~~~~~~~~~
    make: *** [serialport.target.mk:114: Release/obj.target/serialport/src/serialport.o] Fehler 1
    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:315:20)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    gyp ERR! System Linux 4.19.0-8-amd64
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/serialport
    gyp ERR! node -v v13.12.0
    gyp ERR! node-gyp -v v5.1.0
    gyp ERR! not ok
    
    ==========================================================================
        Finalizing installation (4/4)
    ==========================================================================
    
    Enabling autostart...
    Autostart enabled!
    Fixing directory permissions...
    
    ==========================================================================
    
        ioBroker was installed successfully
        Open http://192.168.178.45:8081 in a browser and start configuring!
    
    ==========================================================================
    
    
    You need to re-login before doing anything else on the console!
    
    iobrokeruser@iobroker-vm:/root$
    
    simatecS Offline
    simatecS Offline
    simatec
    Developer Most Active
    schrieb am zuletzt editiert von
    #2

    @david83
    Nach welcher Anleitung hast du iobroker installiert?
    Welche node Version nutzt du?

    • Besuche meine Github Seite
    • Beitrag hat geholfen oder willst du mich unterstützen
    • HowTo Restore ioBroker
    1 Antwort Letzte Antwort
    0
    • david83D Offline
      david83D Offline
      david83
      schrieb am zuletzt editiert von
      #3

      root@iobroker-vm:~# node -v
      v13.12.0
      root@iobroker-vm:~# npm -v
      6.14.4

      So habe ich installiert:

      Installation guide
      
      This page contains a short description on how to install ioBroker. See below for more detailed and localized version of the installation steps.
      Linux based systems and MacOS
      Preparation
      
          Install nodejs: New installations of ioBroker need at least nodejs 8.12. ioBroker basically also supports the other LTS versions (even version number!!) of nodejs. See https://github.com/nodesource/distributions#debinstall for detailed instructions
          Verify nodejs installation: the commands node -v and nodejs -v should output the same version number
          verify npm installation: the command npm -v should return a version number > 6.4.1. If not use sudo npm install -g npm@6 to update
          Install needed build tools: Make sure to also install additional libraries: sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev
      
      Installing ioBroker
      
      Please open a SSH shell. You do not need to use a root shell to install ioBroker. If a normal unprivilidged user exists you should start the installation with this user.
      
      Then execute
      
      curl -sL https://iobroker.net/install.sh | bash -
      
      This will install ioBroker in 4 steps and show its progress:
      
          Creating ioBroker directory (1/4)
          Downloading installation files (2/4)
          Installing ioBroker (3/4)
          Finalizing installation (4/4)
      
      At the end you should see
      
      ioBroker was installed successfully Open http://localhost:8081 in a browser and start configuring!
      
      J 1 Antwort Letzte Antwort
      0
      • david83D david83

        root@iobroker-vm:~# node -v
        v13.12.0
        root@iobroker-vm:~# npm -v
        6.14.4

        So habe ich installiert:

        Installation guide
        
        This page contains a short description on how to install ioBroker. See below for more detailed and localized version of the installation steps.
        Linux based systems and MacOS
        Preparation
        
            Install nodejs: New installations of ioBroker need at least nodejs 8.12. ioBroker basically also supports the other LTS versions (even version number!!) of nodejs. See https://github.com/nodesource/distributions#debinstall for detailed instructions
            Verify nodejs installation: the commands node -v and nodejs -v should output the same version number
            verify npm installation: the command npm -v should return a version number > 6.4.1. If not use sudo npm install -g npm@6 to update
            Install needed build tools: Make sure to also install additional libraries: sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev
        
        Installing ioBroker
        
        Please open a SSH shell. You do not need to use a root shell to install ioBroker. If a normal unprivilidged user exists you should start the installation with this user.
        
        Then execute
        
        curl -sL https://iobroker.net/install.sh | bash -
        
        This will install ioBroker in 4 steps and show its progress:
        
            Creating ioBroker directory (1/4)
            Downloading installation files (2/4)
            Installing ioBroker (3/4)
            Finalizing installation (4/4)
        
        At the end you should see
        
        ioBroker was installed successfully Open http://localhost:8081 in a browser and start configuring!
        
        J Offline
        J Offline
        Jan1
        schrieb am zuletzt editiert von Jan1
        #4

        @david83
        Node 13 ist eine ungerade und somit ne Entwickler Version. Ich denke das steht auch so recht deutlich in der offiziellen IOBroker Doku.
        Gerade geschaut, steht sogar in rot drin, somit hast schon nicht die richtige Doku zur Installation.

        1 Antwort Letzte Antwort
        0
        • david83D Offline
          david83D Offline
          david83
          schrieb am zuletzt editiert von
          #5

          Hallo,
          OK, jetzt habe ich die VM neu aufgesetzt und die offizielle Installationsanleitung von iobroker.net genommen:

          Images werden nur benötigt, wenn Probleme mit Installationsskripten auftreten.
          Die Installation kann einfach mit 1 bis 3 Zeilen Code erfolgen.
          
          1. Erst Node.js installieren (wenn noch nicht vorhanden):
          
          curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
          sudo apt-get install -y nodejs
          
          2. Anschließend ioBroker installieren:
          
          curl -sL https://iobroker.net/install.sh | bash -
          

          Nun bekomme ich folgende Warnungen und Fehler:

          ==========================================================================
          
              Welcome to the ioBroker installer!
              Installer version: 2020-01-25
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/4)
          ==========================================================================
          
          OK:1 http://security.debian.org/debian-security buster/updates InRelease
          OK:2 http://debian.inf.tu-dresden.de/debian buster InRelease
          Holen:3 http://debian.inf.tu-dresden.de/debian buster-updates InRelease [49,3 kB]
          Paketlisten werden gelesen... Fertig
          E: Release file for http://debian.inf.tu-dresden.de/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 14 h 8 min 12 s). Updates for this repository will not be applied.
          Installed npm
          npm WARN npm npm does not support Node.js v10.15.2
          npm WARN npm You should probably upgrade to a newer version of node as we
          npm WARN npm can't make any promises that npm will work with this version.
          npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
          Changing npm registry to https://registry.npmjs.org
          npm WARN npm npm does not support Node.js v10.15.2
          npm WARN npm You should probably upgrade to a newer version of node as we
          npm WARN npm can't make any promises that npm will work with this version.
          npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
          Installed acl
          Installed build-essential
          Installed gcc-c++
          Installed libavahi-compat-libdnssd-dev
          Installed libudev-dev
          Installed libpam0g-dev
          Installed git
          Installed unzip
          Installed python-dev
          
          ==========================================================================
              Creating ioBroker user and directory (2/4)
          ==========================================================================
          
          User iobroker created
          Created /etc/sudoers.d/iobroker
          Directory /opt/iobroker created
          
          ==========================================================================
              Installing ioBroker (3/4)
          ==========================================================================
          
          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
          You are using npm 5.8.0, but ioBroker needs at least using 6.0.0.
          Please use "npm install -g npm" to install a supported version!
          You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
          npm ERR! code ELIFECYCLE
          npm ERR! errno 4
          npm ERR! iobroker@2.0.3 install: `node lib/checkVersions.js`
          npm ERR! Exit status 4
          npm ERR!
          npm ERR! Failed at the iobroker@2.0.3 install script.
          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /root/.npm/_logs/2020-04-09T09_06_45_748Z-debug.log
          
          ==========================================================================
              Finalizing installation (4/4)
          ==========================================================================
          
          Enabling autostart...
          Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
          Autostart enabled!
          Fixing directory permissions...
          
          ==========================================================================
          
              ioBroker was installed successfully
              Open http://192.168.178.45:8081 in a browser and start configuring!
          
          ==========================================================================
          
          
          You need to re-login before doing anything else on the console!
          
          root@iobroker-vm:~#
          
          J wendy2702W HomoranH 4 Antworten Letzte Antwort
          0
          • david83D david83

            Hallo,
            OK, jetzt habe ich die VM neu aufgesetzt und die offizielle Installationsanleitung von iobroker.net genommen:

            Images werden nur benötigt, wenn Probleme mit Installationsskripten auftreten.
            Die Installation kann einfach mit 1 bis 3 Zeilen Code erfolgen.
            
            1. Erst Node.js installieren (wenn noch nicht vorhanden):
            
            curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
            sudo apt-get install -y nodejs
            
            2. Anschließend ioBroker installieren:
            
            curl -sL https://iobroker.net/install.sh | bash -
            

            Nun bekomme ich folgende Warnungen und Fehler:

            ==========================================================================
            
                Welcome to the ioBroker installer!
                Installer version: 2020-01-25
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/4)
            ==========================================================================
            
            OK:1 http://security.debian.org/debian-security buster/updates InRelease
            OK:2 http://debian.inf.tu-dresden.de/debian buster InRelease
            Holen:3 http://debian.inf.tu-dresden.de/debian buster-updates InRelease [49,3 kB]
            Paketlisten werden gelesen... Fertig
            E: Release file for http://debian.inf.tu-dresden.de/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 14 h 8 min 12 s). Updates for this repository will not be applied.
            Installed npm
            npm WARN npm npm does not support Node.js v10.15.2
            npm WARN npm You should probably upgrade to a newer version of node as we
            npm WARN npm can't make any promises that npm will work with this version.
            npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
            Changing npm registry to https://registry.npmjs.org
            npm WARN npm npm does not support Node.js v10.15.2
            npm WARN npm You should probably upgrade to a newer version of node as we
            npm WARN npm can't make any promises that npm will work with this version.
            npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
            Installed acl
            Installed build-essential
            Installed gcc-c++
            Installed libavahi-compat-libdnssd-dev
            Installed libudev-dev
            Installed libpam0g-dev
            Installed git
            Installed unzip
            Installed python-dev
            
            ==========================================================================
                Creating ioBroker user and directory (2/4)
            ==========================================================================
            
            User iobroker created
            Created /etc/sudoers.d/iobroker
            Directory /opt/iobroker created
            
            ==========================================================================
                Installing ioBroker (3/4)
            ==========================================================================
            
            !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            You are using npm 5.8.0, but ioBroker needs at least using 6.0.0.
            Please use "npm install -g npm" to install a supported version!
            You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
            !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            npm ERR! code ELIFECYCLE
            npm ERR! errno 4
            npm ERR! iobroker@2.0.3 install: `node lib/checkVersions.js`
            npm ERR! Exit status 4
            npm ERR!
            npm ERR! Failed at the iobroker@2.0.3 install script.
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /root/.npm/_logs/2020-04-09T09_06_45_748Z-debug.log
            
            ==========================================================================
                Finalizing installation (4/4)
            ==========================================================================
            
            Enabling autostart...
            Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
            Autostart enabled!
            Fixing directory permissions...
            
            ==========================================================================
            
                ioBroker was installed successfully
                Open http://192.168.178.45:8081 in a browser and start configuring!
            
            ==========================================================================
            
            
            You need to re-login before doing anything else on the console!
            
            root@iobroker-vm:~#
            
            J Offline
            J Offline
            Jan1
            schrieb am zuletzt editiert von
            #6

            @david83
            IOBroker scheint ja nun drauf zu sein, bleibt noch die Frage was bringt den nun

            node -v
            nodejs -v
            npm -v
            
            1 Antwort Letzte Antwort
            0
            • david83D Offline
              david83D Offline
              david83
              schrieb am zuletzt editiert von
              #7
              root@iobroker-vm:~# node -v
              v10.20.0
              root@iobroker-vm:~# nodejs -v
              v10.20.0
              root@iobroker-vm:~# npm -v
              6.14.4
              root@iobroker-vm:~#
              
              J 1 Antwort Letzte Antwort
              0
              • david83D david83

                Hallo,
                OK, jetzt habe ich die VM neu aufgesetzt und die offizielle Installationsanleitung von iobroker.net genommen:

                Images werden nur benötigt, wenn Probleme mit Installationsskripten auftreten.
                Die Installation kann einfach mit 1 bis 3 Zeilen Code erfolgen.
                
                1. Erst Node.js installieren (wenn noch nicht vorhanden):
                
                curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                sudo apt-get install -y nodejs
                
                2. Anschließend ioBroker installieren:
                
                curl -sL https://iobroker.net/install.sh | bash -
                

                Nun bekomme ich folgende Warnungen und Fehler:

                ==========================================================================
                
                    Welcome to the ioBroker installer!
                    Installer version: 2020-01-25
                
                ==========================================================================
                
                
                ==========================================================================
                    Installing prerequisites (1/4)
                ==========================================================================
                
                OK:1 http://security.debian.org/debian-security buster/updates InRelease
                OK:2 http://debian.inf.tu-dresden.de/debian buster InRelease
                Holen:3 http://debian.inf.tu-dresden.de/debian buster-updates InRelease [49,3 kB]
                Paketlisten werden gelesen... Fertig
                E: Release file for http://debian.inf.tu-dresden.de/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 14 h 8 min 12 s). Updates for this repository will not be applied.
                Installed npm
                npm WARN npm npm does not support Node.js v10.15.2
                npm WARN npm You should probably upgrade to a newer version of node as we
                npm WARN npm can't make any promises that npm will work with this version.
                npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
                Changing npm registry to https://registry.npmjs.org
                npm WARN npm npm does not support Node.js v10.15.2
                npm WARN npm You should probably upgrade to a newer version of node as we
                npm WARN npm can't make any promises that npm will work with this version.
                npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
                Installed acl
                Installed build-essential
                Installed gcc-c++
                Installed libavahi-compat-libdnssd-dev
                Installed libudev-dev
                Installed libpam0g-dev
                Installed git
                Installed unzip
                Installed python-dev
                
                ==========================================================================
                    Creating ioBroker user and directory (2/4)
                ==========================================================================
                
                User iobroker created
                Created /etc/sudoers.d/iobroker
                Directory /opt/iobroker created
                
                ==========================================================================
                    Installing ioBroker (3/4)
                ==========================================================================
                
                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                You are using npm 5.8.0, but ioBroker needs at least using 6.0.0.
                Please use "npm install -g npm" to install a supported version!
                You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                npm ERR! code ELIFECYCLE
                npm ERR! errno 4
                npm ERR! iobroker@2.0.3 install: `node lib/checkVersions.js`
                npm ERR! Exit status 4
                npm ERR!
                npm ERR! Failed at the iobroker@2.0.3 install script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /root/.npm/_logs/2020-04-09T09_06_45_748Z-debug.log
                
                ==========================================================================
                    Finalizing installation (4/4)
                ==========================================================================
                
                Enabling autostart...
                Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                Autostart enabled!
                Fixing directory permissions...
                
                ==========================================================================
                
                    ioBroker was installed successfully
                    Open http://192.168.178.45:8081 in a browser and start configuring!
                
                ==========================================================================
                
                
                You need to re-login before doing anything else on the console!
                
                root@iobroker-vm:~#
                
                wendy2702W Online
                wendy2702W Online
                wendy2702
                schrieb am zuletzt editiert von
                #8

                @david83 sagte in Installation klappt nicht:

                http://192.168.178.45:8081

                Und was passiert wenn du das in den Browser einfügst?

                Bitte keine Fragen per PN, die gehören ins Forum!

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                1 Antwort Letzte Antwort
                0
                • david83D david83
                  root@iobroker-vm:~# node -v
                  v10.20.0
                  root@iobroker-vm:~# nodejs -v
                  v10.20.0
                  root@iobroker-vm:~# npm -v
                  6.14.4
                  root@iobroker-vm:~#
                  
                  J Offline
                  J Offline
                  Jan1
                  schrieb am zuletzt editiert von
                  #9

                  @david83
                  Das sieht doch ganz gut aus, wobei auch gleich die Node 12 hättest nehmen können.
                  Kommst auf den IOBroker nun drauf?

                  1 Antwort Letzte Antwort
                  0
                  • david83D Offline
                    david83D Offline
                    david83
                    schrieb am zuletzt editiert von
                    #10

                    Also ich habe Node,npm und iobroker nochmals als root installiert. Jetzt läuft es ohne Probleme! Danke an alle Mitwirkenden . Danke Danke Dankr

                    wendy2702W J 2 Antworten Letzte Antwort
                    0
                    • david83D david83

                      Hallo,
                      OK, jetzt habe ich die VM neu aufgesetzt und die offizielle Installationsanleitung von iobroker.net genommen:

                      Images werden nur benötigt, wenn Probleme mit Installationsskripten auftreten.
                      Die Installation kann einfach mit 1 bis 3 Zeilen Code erfolgen.
                      
                      1. Erst Node.js installieren (wenn noch nicht vorhanden):
                      
                      curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                      sudo apt-get install -y nodejs
                      
                      2. Anschließend ioBroker installieren:
                      
                      curl -sL https://iobroker.net/install.sh | bash -
                      

                      Nun bekomme ich folgende Warnungen und Fehler:

                      ==========================================================================
                      
                          Welcome to the ioBroker installer!
                          Installer version: 2020-01-25
                      
                      ==========================================================================
                      
                      
                      ==========================================================================
                          Installing prerequisites (1/4)
                      ==========================================================================
                      
                      OK:1 http://security.debian.org/debian-security buster/updates InRelease
                      OK:2 http://debian.inf.tu-dresden.de/debian buster InRelease
                      Holen:3 http://debian.inf.tu-dresden.de/debian buster-updates InRelease [49,3 kB]
                      Paketlisten werden gelesen... Fertig
                      E: Release file for http://debian.inf.tu-dresden.de/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 14 h 8 min 12 s). Updates for this repository will not be applied.
                      Installed npm
                      npm WARN npm npm does not support Node.js v10.15.2
                      npm WARN npm You should probably upgrade to a newer version of node as we
                      npm WARN npm can't make any promises that npm will work with this version.
                      npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
                      Changing npm registry to https://registry.npmjs.org
                      npm WARN npm npm does not support Node.js v10.15.2
                      npm WARN npm You should probably upgrade to a newer version of node as we
                      npm WARN npm can't make any promises that npm will work with this version.
                      npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
                      Installed acl
                      Installed build-essential
                      Installed gcc-c++
                      Installed libavahi-compat-libdnssd-dev
                      Installed libudev-dev
                      Installed libpam0g-dev
                      Installed git
                      Installed unzip
                      Installed python-dev
                      
                      ==========================================================================
                          Creating ioBroker user and directory (2/4)
                      ==========================================================================
                      
                      User iobroker created
                      Created /etc/sudoers.d/iobroker
                      Directory /opt/iobroker created
                      
                      ==========================================================================
                          Installing ioBroker (3/4)
                      ==========================================================================
                      
                      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                      You are using npm 5.8.0, but ioBroker needs at least using 6.0.0.
                      Please use "npm install -g npm" to install a supported version!
                      You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 4
                      npm ERR! iobroker@2.0.3 install: `node lib/checkVersions.js`
                      npm ERR! Exit status 4
                      npm ERR!
                      npm ERR! Failed at the iobroker@2.0.3 install script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /root/.npm/_logs/2020-04-09T09_06_45_748Z-debug.log
                      
                      ==========================================================================
                          Finalizing installation (4/4)
                      ==========================================================================
                      
                      Enabling autostart...
                      Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                      Autostart enabled!
                      Fixing directory permissions...
                      
                      ==========================================================================
                      
                          ioBroker was installed successfully
                          Open http://192.168.178.45:8081 in a browser and start configuring!
                      
                      ==========================================================================
                      
                      
                      You need to re-login before doing anything else on the console!
                      
                      root@iobroker-vm:~#
                      
                      wendy2702W Online
                      wendy2702W Online
                      wendy2702
                      schrieb am zuletzt editiert von
                      #11

                      @david83 sagte in Installation klappt nicht:

                      OK, jetzt habe ich die VM neu aufgesetzt und die offizielle Installationsanleitung von iobroker.net genommen:

                      Kann nicht sein.

                      Sonst wäre das nicht passiert:

                      @david83 sagte in Installation klappt nicht:

                      You are using npm 5.8.0, but ioBroker needs at least using 6.0.0.

                      Weil das in der Anleitung steht:

                      Als letzte Überprüfung bitte noch die Version von npm mittels npm -v überprüfen.
                      
                      Ergibt dies eine Version < 6, bitte noch mit sudo -H npm install -g npm@6 ein npm-Update durchführen
                      

                      Bitte keine Fragen per PN, die gehören ins Forum!

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      david83D 1 Antwort Letzte Antwort
                      0
                      • david83D david83

                        Also ich habe Node,npm und iobroker nochmals als root installiert. Jetzt läuft es ohne Probleme! Danke an alle Mitwirkenden . Danke Danke Dankr

                        wendy2702W Online
                        wendy2702W Online
                        wendy2702
                        schrieb am zuletzt editiert von
                        #12

                        @david83 sagte in Installation klappt nicht:

                        Also ich habe Node,npm und iobroker nochmals als root installiert. Jetzt läuft es ohne Probleme! Danke an alle Mitwirkenden . Danke Danke Dankr

                        👍

                        Bitte keine Fragen per PN, die gehören ins Forum!

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        1 Antwort Letzte Antwort
                        0
                        • david83D david83

                          Also ich habe Node,npm und iobroker nochmals als root installiert. Jetzt läuft es ohne Probleme! Danke an alle Mitwirkenden . Danke Danke Dankr

                          J Offline
                          J Offline
                          Jan1
                          schrieb am zuletzt editiert von
                          #13

                          @david83
                          Dann passt ja alles und für die Zukunft, oben einfach auf Docu klicken und nach dem was dort steht vorgehen, alles andere ist nix offizielles .

                          1 Antwort Letzte Antwort
                          0
                          • wendy2702W wendy2702

                            @david83 sagte in Installation klappt nicht:

                            OK, jetzt habe ich die VM neu aufgesetzt und die offizielle Installationsanleitung von iobroker.net genommen:

                            Kann nicht sein.

                            Sonst wäre das nicht passiert:

                            @david83 sagte in Installation klappt nicht:

                            You are using npm 5.8.0, but ioBroker needs at least using 6.0.0.

                            Weil das in der Anleitung steht:

                            Als letzte Überprüfung bitte noch die Version von npm mittels npm -v überprüfen.
                            
                            Ergibt dies eine Version < 6, bitte noch mit sudo -H npm install -g npm@6 ein npm-Update durchführen
                            
                            david83D Offline
                            david83D Offline
                            david83
                            schrieb am zuletzt editiert von
                            #14

                            @wendy2702

                            Keine Ahnung wie das passieren konnte...

                            1 Antwort Letzte Antwort
                            0
                            • david83D david83

                              Hallo,
                              OK, jetzt habe ich die VM neu aufgesetzt und die offizielle Installationsanleitung von iobroker.net genommen:

                              Images werden nur benötigt, wenn Probleme mit Installationsskripten auftreten.
                              Die Installation kann einfach mit 1 bis 3 Zeilen Code erfolgen.
                              
                              1. Erst Node.js installieren (wenn noch nicht vorhanden):
                              
                              curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                              sudo apt-get install -y nodejs
                              
                              2. Anschließend ioBroker installieren:
                              
                              curl -sL https://iobroker.net/install.sh | bash -
                              

                              Nun bekomme ich folgende Warnungen und Fehler:

                              ==========================================================================
                              
                                  Welcome to the ioBroker installer!
                                  Installer version: 2020-01-25
                              
                              ==========================================================================
                              
                              
                              ==========================================================================
                                  Installing prerequisites (1/4)
                              ==========================================================================
                              
                              OK:1 http://security.debian.org/debian-security buster/updates InRelease
                              OK:2 http://debian.inf.tu-dresden.de/debian buster InRelease
                              Holen:3 http://debian.inf.tu-dresden.de/debian buster-updates InRelease [49,3 kB]
                              Paketlisten werden gelesen... Fertig
                              E: Release file for http://debian.inf.tu-dresden.de/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 14 h 8 min 12 s). Updates for this repository will not be applied.
                              Installed npm
                              npm WARN npm npm does not support Node.js v10.15.2
                              npm WARN npm You should probably upgrade to a newer version of node as we
                              npm WARN npm can't make any promises that npm will work with this version.
                              npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
                              Changing npm registry to https://registry.npmjs.org
                              npm WARN npm npm does not support Node.js v10.15.2
                              npm WARN npm You should probably upgrade to a newer version of node as we
                              npm WARN npm can't make any promises that npm will work with this version.
                              npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/
                              Installed acl
                              Installed build-essential
                              Installed gcc-c++
                              Installed libavahi-compat-libdnssd-dev
                              Installed libudev-dev
                              Installed libpam0g-dev
                              Installed git
                              Installed unzip
                              Installed python-dev
                              
                              ==========================================================================
                                  Creating ioBroker user and directory (2/4)
                              ==========================================================================
                              
                              User iobroker created
                              Created /etc/sudoers.d/iobroker
                              Directory /opt/iobroker created
                              
                              ==========================================================================
                                  Installing ioBroker (3/4)
                              ==========================================================================
                              
                              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                              You are using npm 5.8.0, but ioBroker needs at least using 6.0.0.
                              Please use "npm install -g npm" to install a supported version!
                              You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                              npm ERR! code ELIFECYCLE
                              npm ERR! errno 4
                              npm ERR! iobroker@2.0.3 install: `node lib/checkVersions.js`
                              npm ERR! Exit status 4
                              npm ERR!
                              npm ERR! Failed at the iobroker@2.0.3 install script.
                              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /root/.npm/_logs/2020-04-09T09_06_45_748Z-debug.log
                              
                              ==========================================================================
                                  Finalizing installation (4/4)
                              ==========================================================================
                              
                              Enabling autostart...
                              Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                              Autostart enabled!
                              Fixing directory permissions...
                              
                              ==========================================================================
                              
                                  ioBroker was installed successfully
                                  Open http://192.168.178.45:8081 in a browser and start configuring!
                              
                              ==========================================================================
                              
                              
                              You need to re-login before doing anything else on the console!
                              
                              root@iobroker-vm:~#
                              
                              HomoranH Nicht stören
                              HomoranH Nicht stören
                              Homoran
                              Global Moderator Administrators
                              schrieb am zuletzt editiert von
                              #15

                              @david83 sagte in Installation klappt nicht:

                              und die offizielle Installationsanleitung von iobroker.net genommen:

                              das ist nur die Ultrakurzfassung.

                              die korrekte Doku ist hier:
                              https://www.iobroker.net/#de/documentation/install/linux.md

                              kein Support per PN! - Fragen im Forum stellen -
                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              1 Antwort Letzte Antwort
                              0

                              Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                              Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                              Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                              Registrieren Anmelden
                              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

                              577

                              Online

                              32.8k

                              Benutzer

                              82.9k

                              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