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. Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern

NEWS

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

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

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

Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
@1.5.3 @2.1.1
37 Beiträge 4 Kommentatoren 1.5k Aufrufe 2 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.
  • S samsungfreak

    @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

    @samsungfreak In /opt/iobroker

    npm rebuild
    

    Leider läuft der Prozess ebenfalls in Fehler -.-

    
    iobrokermaint@PA-Broker:/opt/iobroker$ npm rebuild
    
    > nodemailer@6.4.6 postinstall /opt/iobroker/node_modules/iobroker.email/node_modules/nodemailer
    > node -e "try{require('./postinstall')}catch(e){}"
    
    === Nodemailer 6.4.6 ===
    
    Thank you for using Nodemailer for your email sending needs! While Nodemailer
    itself is mostly meant to be a SMTP client there are other related projects in
    the Nodemailer project as well.
    
    For example:
    > IMAP API (  https://imapapi.com  ) is a server application to easily access
    IMAP accounts via REST API
    > NodemailerApp (  https://nodemailer.com/app/  ) is a cross platform GUI app to
    debug emails
    
    
    > iobroker.javascript@4.3.4 postinstall /opt/iobroker/node_modules/iobroker.javascript
    > node ./install/installTypings.js
    
    Installing NodeJS typings...
    latest @types: 14, installed node: 12
    
    > iobroker.vis@1.2.4 install /opt/iobroker/node_modules/iobroker.vis
    > node main.js --install
    
    
    > ursa-optional@0.9.8 install /opt/iobroker/node_modules/ursa-optional
    > node rebuild.js
    
    ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
    
    > diskusage@0.2.4 install /opt/iobroker/node_modules/diskusage
    > node-gyp rebuild
    
    make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
      CXX(target) Release/obj.target/diskusage/src/main.o
    In file included from ../../nan/nan_converters.h:67:0,
                     from ../../nan/nan.h:221,
                     from ../src/main.cpp:3:
    ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
    ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
           val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                       ^
    ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
     X(Boolean)
     ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2664:59: note: declared here
                     V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                               ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../../nan/nan_converters.h:67:0,
                     from ../../nan/nan.h:221,
                     from ../src/main.cpp:3:
    ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
    ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
       return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                             ^
    ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
     X(bool, Boolean)
     ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note: declared here
                     V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                       ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../../nan/nan_new.h:189:0,
                     from ../../nan/nan.h:222,
                     from ../src/main.cpp:3:
    ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
    ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                               , obj));
                                    ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
       static MaybeLocal<Function> New(
                                   ^~~
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
    In file included from ../../nan/nan_new.h:189:0,
                     from ../../nan/nan.h:222,
                     from ../src/main.cpp:3:
    ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
    ../../nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
       return v8::StringObject::New(value).As<v8::StringObject>();
                                         ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note: candidate: static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)
       static Local<Value> New(Isolate* isolate, Local<String> value);
                           ^~~
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
    In file included from ../../nan/nan_new.h:189:0,
                     from ../../nan/nan.h:222,
                     from ../src/main.cpp:3:
    ../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
       return v8::StringObject::New(value).As<v8::StringObject>();
                                                              ^
    ../../nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
       return v8::StringObject::New(value).As<v8::StringObject>();
                                                                ^
    In file included from ../src/main.cpp:3:0:
    ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
    ../../nan/nan.h:1063:53: error: no matching function for call to ‘v8::Value::ToString()’
           v8::Local<v8::String> string = from->ToString();
                                                         ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
       V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                ^~~~~~~~
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                     Local<String> ToString(Isolate* isolate) const);
                                   ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                     Local<String> ToString(Isolate* isolate) const);
                                   ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/main.cpp:3:0:
    ../../nan/nan.h:1073:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’
             length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                                                                              ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
       int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
           ^~~~~~~~~
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
    In file included from ../src/main.cpp:3:0:
    ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
    ../../nan/nan.h:1847:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                    ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                     bool Set(Local<Value> key, Local<Value> value));
                          ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/main.cpp:3:0:
    ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
    ../../nan/nan.h:1853:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         New(persistentHandle)->Set(key, value);
                                              ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                     bool Set(Local<Value> key, Local<Value> value));
                          ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/main.cpp:3:0:
    ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
    ../../nan/nan.h:1859:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         New(persistentHandle)->Set(index, value);
                                                ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3508:22: note: declared here
                     bool Set(uint32_t index, Local<Value> value));
                          ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/main.cpp:3:0:
    ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
    ../../nan/nan.h:1865:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                                 ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
       V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                       ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/main.cpp:3:0:
    ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
    ../../nan/nan.h:1871:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return scope.Escape(New(persistentHandle)->Get(key));
                                                           ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
       V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                       ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from ../src/main.cpp:3:0:
    ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
    ../../nan/nan.h:1876:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         return scope.Escape(New(persistentHandle)->Get(index));
                                                             ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3557:51: note: declared here
       V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                       ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from /usr/include/c++/6/cassert:44:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                     from ../../nan/nan.h:54,
                     from ../src/main.cpp:3:
    ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
    ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
         assert(persistent().IsNearDeath());
                             ^
    In file included from ../../nan/nan.h:2690:0,
                     from ../src/main.cpp:3:
    ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
    ../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
         persistent().MarkIndependent();
                                      ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:570:22: note: declared here
           V8_INLINE void MarkIndependent());
                          ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    In file included from /usr/include/c++/6/cassert:44:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                     from ../../nan/nan.h:54,
                     from ../src/main.cpp:3:
    ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
    ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
         assert(wrap->handle_.IsNearDeath());
                              ^
    ../src/main.cpp: In function ‘v8::Local<v8::Object> ConvertDiskUsage(const DiskUsage&)’:
    ../src/main.cpp:9:103: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         obj->Set(Nan::New<v8::String>("available").ToLocalChecked(), Nan::New<v8::Number>(usage.available));
                                                                                                           ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                     bool Set(Local<Value> key, Local<Value> value));
                          ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    ../src/main.cpp:10:93: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         obj->Set(Nan::New<v8::String>("free").ToLocalChecked(), Nan::New<v8::Number>(usage.free));
                                                                                                 ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                     bool Set(Local<Value> key, Local<Value> value));
                          ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    ../src/main.cpp:11:95: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         obj->Set(Nan::New<v8::String>("total").ToLocalChecked(), Nan::New<v8::Number>(usage.total));
                                                                                                   ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                     bool Set(Local<Value> key, Local<Value> value));
                          ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/main.cpp:26:71: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
             DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                           ^
    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                     from ../../nan/nan.h:52,
                     from ../src/main.cpp:3:
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
         Utf8Value(Isolate* isolate, Local<v8::Value> obj);
         ^~~~~~~~~
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note:   candidate expects 2 arguments, 1 provided
    ../src/main.cpp: At global scope:
    ../src/main.cpp:37:15: error: variable or field ‘Init’ declared void
     void Init(v8::Handle<v8::Object> exports)
                   ^~~~~~
    ../src/main.cpp:37:11: error: ‘Handle’ is not a member of ‘v8’
     void Init(v8::Handle<v8::Object> exports)
               ^~
    ../src/main.cpp:37:32: error: expected primary-expression before ‘>’ token
     void Init(v8::Handle<v8::Object> exports)
                                    ^
    ../src/main.cpp:37:34: error: ‘exports’ was not declared in this scope
     void Init(v8::Handle<v8::Object> exports)
                                      ^~~~~~~
    In file included from ../../nan/nan.h:52:0,
                     from ../src/main.cpp:3:
    ../src/main.cpp:42:24: error: ‘Init’ was not declared in this scope
     NODE_MODULE(diskusage, Init)
                            ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
           (node::addon_register_func) (regfunc),                          \
                                        ^~~~~~~
    ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(diskusage, Init)
     ^~~~~~~~~~~
    ../src/main.cpp:42:24: note: suggested alternative:
     NODE_MODULE(diskusage, Init)
                            ^
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
           (node::addon_register_func) (regfunc),                          \
                                        ^~~~~~~
    ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(diskusage, Init)
     ^~~~~~~~~~~
    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:225:18: note:   ‘node::Init’
     NODE_EXTERN void Init(int* argc,
                      ^~~~
    In file included from ../src/main.cpp:3:0:
    ../src/main.cpp:21:19: warning: ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
     static NAN_METHOD(GetDiskUsage)
                       ^
    ../../nan/nan.h:1473:33: note: in definition of macro ‘NAN_METHOD’
         Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
                                     ^~~~
    diskusage.target.mk:114: die Regel für Ziel „Release/obj.target/diskusage/src/main.o“ scheiterte
    make: *** [Release/obj.target/diskusage/src/main.o] Fehler 1
    make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
    gyp ERR! build error
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    gyp ERR! System Linux 4.9.0-12-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/diskusage
    gyp ERR! node -v v12.16.3
    gyp ERR! node-gyp -v v5.1.0
    gyp ERR! not ok
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! diskusage@0.2.4 install: `node-gyp rebuild`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the diskusage@0.2.4 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/iobrokermaint/.npm/_logs/2020-05-17T15_02_47_833Z-debug.log
    
    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #24

    @samsungfreak

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

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

    S 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @samsungfreak

      nodejs -v && node -v && npm -v
      
      S Offline
      S Offline
      samsungfreak
      schrieb am zuletzt editiert von
      #25

      @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

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

      iobrokermaint@Broker:~$ nodejs -v && node -v && npm -v
      v12.16.3
      v12.16.3
      6.14.4
      
      
      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • S samsungfreak

        @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

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

        iobrokermaint@Broker:~$ nodejs -v && node -v && npm -v
        v12.16.3
        v12.16.3
        6.14.4
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #26

        @samsungfreak
        Im Ordner /opt/iobroker

        npm rebuild diskusage
        

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

        S 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @samsungfreak
          Im Ordner /opt/iobroker

          npm rebuild diskusage
          
          S Offline
          S Offline
          samsungfreak
          schrieb am zuletzt editiert von
          #27

          @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

          npm rebuild diskusage

          Gibt leider nichts aus:

          iobrokermaint@Broker:~$ npm rebuild diskusage
          iobrokermaint@Broker:~$
          
          
          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • S samsungfreak

            @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

            npm rebuild diskusage

            Gibt leider nichts aus:

            iobrokermaint@Broker:~$ npm rebuild diskusage
            iobrokermaint@Broker:~$
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #28

            @samsungfreak Du stehst nicht im angegebenen Ordner.

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

            S 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @samsungfreak Du stehst nicht im angegebenen Ordner.

              S Offline
              S Offline
              samsungfreak
              schrieb am zuletzt editiert von
              #29

              @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

              @samsungfreak Du stehst nicht im angegebenen Ordner.

              Oh stimmt -.-

              iobrokermaint@BROKER:/opt/iobroker$ npm rebuild diskusage
              
              > diskusage@0.2.4 install /opt/iobroker/node_modules/diskusage
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                CXX(target) Release/obj.target/diskusage/src/main.o
              In file included from ../../nan/nan_converters.h:67:0,
                               from ../../nan/nan.h:221,
                               from ../src/main.cpp:3:
              ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
              ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                     val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                                 ^
              ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
               X(Boolean)
               ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2664:59: note: declared here
                               V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                         ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from ../../nan/nan_converters.h:67:0,
                               from ../../nan/nan.h:221,
                               from ../src/main.cpp:3:
              ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
              ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
                 return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                                       ^
              ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
               X(bool, Boolean)
               ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note: declared here
                               V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                 ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from ../../nan/nan_new.h:189:0,
                               from ../../nan/nan.h:222,
                               from ../src/main.cpp:3:
              ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
              ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                         , obj));
                                              ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                 static MaybeLocal<Function> New(
                                             ^~~
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
              In file included from ../../nan/nan_new.h:189:0,
                               from ../../nan/nan.h:222,
                               from ../src/main.cpp:3:
              ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
              ../../nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
                 return v8::StringObject::New(value).As<v8::StringObject>();
                                                   ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note: candidate: static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)
                 static Local<Value> New(Isolate* isolate, Local<String> value);
                                     ^~~
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
              In file included from ../../nan/nan_new.h:189:0,
                               from ../../nan/nan.h:222,
                               from ../src/main.cpp:3:
              ../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
                 return v8::StringObject::New(value).As<v8::StringObject>();
                                                                        ^
              ../../nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
                 return v8::StringObject::New(value).As<v8::StringObject>();
                                                                          ^
              In file included from ../src/main.cpp:3:0:
              ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
              ../../nan/nan.h:1063:53: error: no matching function for call to ‘v8::Value::ToString()’
                     v8::Local<v8::String> string = from->ToString();
                                                                   ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                 V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                          ^~~~~~~~
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                               Local<String> ToString(Isolate* isolate) const);
                                             ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                               Local<String> ToString(Isolate* isolate) const);
                                             ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from ../src/main.cpp:3:0:
              ../../nan/nan.h:1073:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’
                       length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                                                                                        ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
                 int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                     ^~~~~~~~~
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
              In file included from ../src/main.cpp:3:0:
              ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
              ../../nan/nan.h:1847:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                              ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                               bool Set(Local<Value> key, Local<Value> value));
                                    ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from ../src/main.cpp:3:0:
              ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
              ../../nan/nan.h:1853:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   New(persistentHandle)->Set(key, value);
                                                        ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                               bool Set(Local<Value> key, Local<Value> value));
                                    ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from ../src/main.cpp:3:0:
              ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
              ../../nan/nan.h:1859:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   New(persistentHandle)->Set(index, value);
                                                          ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3508:22: note: declared here
                               bool Set(uint32_t index, Local<Value> value));
                                    ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from ../src/main.cpp:3:0:
              ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
              ../../nan/nan.h:1865:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                                           ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
                 V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                 ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from ../src/main.cpp:3:0:
              ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
              ../../nan/nan.h:1871:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   return scope.Escape(New(persistentHandle)->Get(key));
                                                                     ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
                 V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                 ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from ../src/main.cpp:3:0:
              ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
              ../../nan/nan.h:1876:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   return scope.Escape(New(persistentHandle)->Get(index));
                                                                       ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3557:51: note: declared here
                 V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                                 ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from /usr/include/c++/6/cassert:44:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                               from ../../nan/nan.h:54,
                               from ../src/main.cpp:3:
              ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
              ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                   assert(persistent().IsNearDeath());
                                       ^
              In file included from ../../nan/nan.h:2690:0,
                               from ../src/main.cpp:3:
              ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
              ../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
                   persistent().MarkIndependent();
                                                ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:570:22: note: declared here
                     V8_INLINE void MarkIndependent());
                                    ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              In file included from /usr/include/c++/6/cassert:44:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                               from ../../nan/nan.h:54,
                               from ../src/main.cpp:3:
              ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
              ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                   assert(wrap->handle_.IsNearDeath());
                                        ^
              ../src/main.cpp: In function ‘v8::Local<v8::Object> ConvertDiskUsage(const DiskUsage&)’:
              ../src/main.cpp:9:103: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   obj->Set(Nan::New<v8::String>("available").ToLocalChecked(), Nan::New<v8::Number>(usage.available));
                                                                                                                     ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                               bool Set(Local<Value> key, Local<Value> value));
                                    ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/main.cpp:10:93: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   obj->Set(Nan::New<v8::String>("free").ToLocalChecked(), Nan::New<v8::Number>(usage.free));
                                                                                                           ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                               bool Set(Local<Value> key, Local<Value> value));
                                    ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/main.cpp:11:95: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   obj->Set(Nan::New<v8::String>("total").ToLocalChecked(), Nan::New<v8::Number>(usage.total));
                                                                                                             ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                               from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                               bool Set(Local<Value> key, Local<Value> value));
                                    ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’:
              ../src/main.cpp:26:71: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                       DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                                     ^
              In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                               from ../../nan/nan.h:52,
                               from ../src/main.cpp:3:
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                   Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                   ^~~~~~~~~
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note:   candidate expects 2 arguments, 1 provided
              ../src/main.cpp: At global scope:
              ../src/main.cpp:37:15: error: variable or field ‘Init’ declared void
               void Init(v8::Handle<v8::Object> exports)
                             ^~~~~~
              ../src/main.cpp:37:11: error: ‘Handle’ is not a member of ‘v8’
               void Init(v8::Handle<v8::Object> exports)
                         ^~
              ../src/main.cpp:37:32: error: expected primary-expression before ‘>’ token
               void Init(v8::Handle<v8::Object> exports)
                                              ^
              ../src/main.cpp:37:34: error: ‘exports’ was not declared in this scope
               void Init(v8::Handle<v8::Object> exports)
                                                ^~~~~~~
              In file included from ../../nan/nan.h:52:0,
                               from ../src/main.cpp:3:
              ../src/main.cpp:42:24: error: ‘Init’ was not declared in this scope
               NODE_MODULE(diskusage, Init)
                                      ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                     (node::addon_register_func) (regfunc),                          \
                                                  ^~~~~~~
              ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(diskusage, Init)
               ^~~~~~~~~~~
              ../src/main.cpp:42:24: note: suggested alternative:
               NODE_MODULE(diskusage, Init)
                                      ^
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                     (node::addon_register_func) (regfunc),                          \
                                                  ^~~~~~~
              ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(diskusage, Init)
               ^~~~~~~~~~~
              /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:225:18: note:   ‘node::Init’
               NODE_EXTERN void Init(int* argc,
                                ^~~~
              In file included from ../src/main.cpp:3:0:
              ../src/main.cpp:21:19: warning: ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
               static NAN_METHOD(GetDiskUsage)
                                 ^
              ../../nan/nan.h:1473:33: note: in definition of macro ‘NAN_METHOD’
                   Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
                                               ^~~~
              diskusage.target.mk:114: die Regel für Ziel „Release/obj.target/diskusage/src/main.o“ scheiterte
              make: *** [Release/obj.target/diskusage/src/main.o] Fehler 1
              make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
              gyp ERR! build error
              gyp ERR! stack Error: `make` failed with exit code: 2
              gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
              gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
              gyp ERR! System Linux 4.9.0-12-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/diskusage
              gyp ERR! node -v v12.16.3
              gyp ERR! node-gyp -v v5.1.0
              gyp ERR! not ok
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! diskusage@0.2.4 install: `node-gyp rebuild`
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the diskusage@0.2.4 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobrokermaint/.npm/_logs/2020-05-17T15_29_18_103Z-debug.log
              
              
              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • S samsungfreak

                @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

                @samsungfreak Du stehst nicht im angegebenen Ordner.

                Oh stimmt -.-

                iobrokermaint@BROKER:/opt/iobroker$ npm rebuild diskusage
                
                > diskusage@0.2.4 install /opt/iobroker/node_modules/diskusage
                > node-gyp rebuild
                
                make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                  CXX(target) Release/obj.target/diskusage/src/main.o
                In file included from ../../nan/nan_converters.h:67:0,
                                 from ../../nan/nan.h:221,
                                 from ../src/main.cpp:3:
                ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                       val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                                   ^
                ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                 X(Boolean)
                 ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2664:59: note: declared here
                                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                           ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from ../../nan/nan_converters.h:67:0,
                                 from ../../nan/nan.h:221,
                                 from ../src/main.cpp:3:
                ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
                ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
                   return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                                         ^
                ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
                 X(bool, Boolean)
                 ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note: declared here
                                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                   ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from ../../nan/nan_new.h:189:0,
                                 from ../../nan/nan.h:222,
                                 from ../src/main.cpp:3:
                ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
                ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                           , obj));
                                                ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                   static MaybeLocal<Function> New(
                                               ^~~
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
                In file included from ../../nan/nan_new.h:189:0,
                                 from ../../nan/nan.h:222,
                                 from ../src/main.cpp:3:
                ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
                ../../nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
                   return v8::StringObject::New(value).As<v8::StringObject>();
                                                     ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note: candidate: static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)
                   static Local<Value> New(Isolate* isolate, Local<String> value);
                                       ^~~
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
                In file included from ../../nan/nan_new.h:189:0,
                                 from ../../nan/nan.h:222,
                                 from ../src/main.cpp:3:
                ../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
                   return v8::StringObject::New(value).As<v8::StringObject>();
                                                                          ^
                ../../nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
                   return v8::StringObject::New(value).As<v8::StringObject>();
                                                                            ^
                In file included from ../src/main.cpp:3:0:
                ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
                ../../nan/nan.h:1063:53: error: no matching function for call to ‘v8::Value::ToString()’
                       v8::Local<v8::String> string = from->ToString();
                                                                     ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                            ^~~~~~~~
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                 Local<String> ToString(Isolate* isolate) const);
                                               ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                 Local<String> ToString(Isolate* isolate) const);
                                               ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from ../src/main.cpp:3:0:
                ../../nan/nan.h:1073:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’
                         length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                                                                                          ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
                   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                       ^~~~~~~~~
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
                In file included from ../src/main.cpp:3:0:
                ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
                ../../nan/nan.h:1847:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                                ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                 bool Set(Local<Value> key, Local<Value> value));
                                      ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from ../src/main.cpp:3:0:
                ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
                ../../nan/nan.h:1853:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     New(persistentHandle)->Set(key, value);
                                                          ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                 bool Set(Local<Value> key, Local<Value> value));
                                      ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from ../src/main.cpp:3:0:
                ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
                ../../nan/nan.h:1859:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     New(persistentHandle)->Set(index, value);
                                                            ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3508:22: note: declared here
                                 bool Set(uint32_t index, Local<Value> value));
                                      ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from ../src/main.cpp:3:0:
                ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
                ../../nan/nan.h:1865:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                                             ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
                   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                   ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from ../src/main.cpp:3:0:
                ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
                ../../nan/nan.h:1871:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     return scope.Escape(New(persistentHandle)->Get(key));
                                                                       ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
                   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                   ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from ../src/main.cpp:3:0:
                ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
                ../../nan/nan.h:1876:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     return scope.Escape(New(persistentHandle)->Get(index));
                                                                         ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3557:51: note: declared here
                   V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                                   ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from /usr/include/c++/6/cassert:44:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                                 from ../../nan/nan.h:54,
                                 from ../src/main.cpp:3:
                ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
                ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                     assert(persistent().IsNearDeath());
                                         ^
                In file included from ../../nan/nan.h:2690:0,
                                 from ../src/main.cpp:3:
                ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
                ../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
                     persistent().MarkIndependent();
                                                  ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:570:22: note: declared here
                       V8_INLINE void MarkIndependent());
                                      ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                In file included from /usr/include/c++/6/cassert:44:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                                 from ../../nan/nan.h:54,
                                 from ../src/main.cpp:3:
                ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
                ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                     assert(wrap->handle_.IsNearDeath());
                                          ^
                ../src/main.cpp: In function ‘v8::Local<v8::Object> ConvertDiskUsage(const DiskUsage&)’:
                ../src/main.cpp:9:103: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     obj->Set(Nan::New<v8::String>("available").ToLocalChecked(), Nan::New<v8::Number>(usage.available));
                                                                                                                       ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                 bool Set(Local<Value> key, Local<Value> value));
                                      ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/main.cpp:10:93: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     obj->Set(Nan::New<v8::String>("free").ToLocalChecked(), Nan::New<v8::Number>(usage.free));
                                                                                                             ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                 bool Set(Local<Value> key, Local<Value> value));
                                      ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/main.cpp:11:95: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     obj->Set(Nan::New<v8::String>("total").ToLocalChecked(), Nan::New<v8::Number>(usage.total));
                                                                                                               ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                 from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                 bool Set(Local<Value> key, Local<Value> value));
                                      ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’:
                ../src/main.cpp:26:71: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                         DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                                       ^
                In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                 from ../../nan/nan.h:52,
                                 from ../src/main.cpp:3:
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                     Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                     ^~~~~~~~~
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note:   candidate expects 2 arguments, 1 provided
                ../src/main.cpp: At global scope:
                ../src/main.cpp:37:15: error: variable or field ‘Init’ declared void
                 void Init(v8::Handle<v8::Object> exports)
                               ^~~~~~
                ../src/main.cpp:37:11: error: ‘Handle’ is not a member of ‘v8’
                 void Init(v8::Handle<v8::Object> exports)
                           ^~
                ../src/main.cpp:37:32: error: expected primary-expression before ‘>’ token
                 void Init(v8::Handle<v8::Object> exports)
                                                ^
                ../src/main.cpp:37:34: error: ‘exports’ was not declared in this scope
                 void Init(v8::Handle<v8::Object> exports)
                                                  ^~~~~~~
                In file included from ../../nan/nan.h:52:0,
                                 from ../src/main.cpp:3:
                ../src/main.cpp:42:24: error: ‘Init’ was not declared in this scope
                 NODE_MODULE(diskusage, Init)
                                        ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                       (node::addon_register_func) (regfunc),                          \
                                                    ^~~~~~~
                ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                 NODE_MODULE(diskusage, Init)
                 ^~~~~~~~~~~
                ../src/main.cpp:42:24: note: suggested alternative:
                 NODE_MODULE(diskusage, Init)
                                        ^
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                       (node::addon_register_func) (regfunc),                          \
                                                    ^~~~~~~
                ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                 NODE_MODULE(diskusage, Init)
                 ^~~~~~~~~~~
                /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:225:18: note:   ‘node::Init’
                 NODE_EXTERN void Init(int* argc,
                                  ^~~~
                In file included from ../src/main.cpp:3:0:
                ../src/main.cpp:21:19: warning: ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
                 static NAN_METHOD(GetDiskUsage)
                                   ^
                ../../nan/nan.h:1473:33: note: in definition of macro ‘NAN_METHOD’
                     Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
                                                 ^~~~
                diskusage.target.mk:114: die Regel für Ziel „Release/obj.target/diskusage/src/main.o“ scheiterte
                make: *** [Release/obj.target/diskusage/src/main.o] Fehler 1
                make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                gyp ERR! build error
                gyp ERR! stack Error: `make` failed with exit code: 2
                gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                gyp ERR! System Linux 4.9.0-12-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/diskusage
                gyp ERR! node -v v12.16.3
                gyp ERR! node-gyp -v v5.1.0
                gyp ERR! not ok
                npm ERR! code ELIFECYCLE
                npm ERR! errno 1
                npm ERR! diskusage@0.2.4 install: `node-gyp rebuild`
                npm ERR! Exit status 1
                npm ERR!
                npm ERR! Failed at the diskusage@0.2.4 install script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobrokermaint/.npm/_logs/2020-05-17T15_29_18_103Z-debug.log
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #30

                @samsungfreak

                npm rebuild diskusage --from-source
                

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

                S 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @samsungfreak

                  npm rebuild diskusage --from-source
                  
                  S Offline
                  S Offline
                  samsungfreak
                  schrieb am zuletzt editiert von
                  #31

                  @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

                  @samsungfreak

                  npm rebuild diskusage --from-source
                  

                  Der Befehl hat funktioniert allerdings ebenfalls mit den Fehlern:

                  iobrokermaint@BROKER:/opt/iobroker$ npm rebuild diskusage --from-source
                  
                  > diskusage@0.2.4 install /opt/iobroker/node_modules/diskusage
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                    CXX(target) Release/obj.target/diskusage/src/main.o
                  In file included from ../../nan/nan_converters.h:67:0,
                                   from ../../nan/nan.h:221,
                                   from ../src/main.cpp:3:
                  ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                  ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                         val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                                     ^
                  ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                   X(Boolean)
                   ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2664:59: note: declared here
                                   V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                             ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from ../../nan/nan_converters.h:67:0,
                                   from ../../nan/nan.h:221,
                                   from ../src/main.cpp:3:
                  ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
                  ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
                     return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                                           ^
                  ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
                   X(bool, Boolean)
                   ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note: declared here
                                   V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                     ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from ../../nan/nan_new.h:189:0,
                                   from ../../nan/nan.h:222,
                                   from ../src/main.cpp:3:
                  ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
                  ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                             , obj));
                                                  ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                     static MaybeLocal<Function> New(
                                                 ^~~
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
                  In file included from ../../nan/nan_new.h:189:0,
                                   from ../../nan/nan.h:222,
                                   from ../src/main.cpp:3:
                  ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
                  ../../nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
                     return v8::StringObject::New(value).As<v8::StringObject>();
                                                       ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note: candidate: static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)
                     static Local<Value> New(Isolate* isolate, Local<String> value);
                                         ^~~
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
                  In file included from ../../nan/nan_new.h:189:0,
                                   from ../../nan/nan.h:222,
                                   from ../src/main.cpp:3:
                  ../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
                     return v8::StringObject::New(value).As<v8::StringObject>();
                                                                            ^
                  ../../nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
                     return v8::StringObject::New(value).As<v8::StringObject>();
                                                                              ^
                  In file included from ../src/main.cpp:3:0:
                  ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
                  ../../nan/nan.h:1063:53: error: no matching function for call to ‘v8::Value::ToString()’
                         v8::Local<v8::String> string = from->ToString();
                                                                       ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                     V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                              ^~~~~~~~
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                   Local<String> ToString(Isolate* isolate) const);
                                                 ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                   Local<String> ToString(Isolate* isolate) const);
                                                 ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from ../src/main.cpp:3:0:
                  ../../nan/nan.h:1073:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’
                           length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                                                                                            ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
                     int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                         ^~~~~~~~~
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
                  In file included from ../src/main.cpp:3:0:
                  ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
                  ../../nan/nan.h:1847:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                                  ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                   bool Set(Local<Value> key, Local<Value> value));
                                        ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from ../src/main.cpp:3:0:
                  ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
                  ../../nan/nan.h:1853:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       New(persistentHandle)->Set(key, value);
                                                            ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                   bool Set(Local<Value> key, Local<Value> value));
                                        ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from ../src/main.cpp:3:0:
                  ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
                  ../../nan/nan.h:1859:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       New(persistentHandle)->Set(index, value);
                                                              ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3508:22: note: declared here
                                   bool Set(uint32_t index, Local<Value> value));
                                        ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from ../src/main.cpp:3:0:
                  ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
                  ../../nan/nan.h:1865:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                           New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                                               ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
                     V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                     ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from ../src/main.cpp:3:0:
                  ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
                  ../../nan/nan.h:1871:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       return scope.Escape(New(persistentHandle)->Get(key));
                                                                         ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
                     V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                     ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from ../src/main.cpp:3:0:
                  ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
                  ../../nan/nan.h:1876:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       return scope.Escape(New(persistentHandle)->Get(index));
                                                                           ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3557:51: note: declared here
                     V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                                     ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from /usr/include/c++/6/cassert:44:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                                   from ../../nan/nan.h:54,
                                   from ../src/main.cpp:3:
                  ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
                  ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                       assert(persistent().IsNearDeath());
                                           ^
                  In file included from ../../nan/nan.h:2690:0,
                                   from ../src/main.cpp:3:
                  ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
                  ../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
                       persistent().MarkIndependent();
                                                    ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:570:22: note: declared here
                         V8_INLINE void MarkIndependent());
                                        ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  In file included from /usr/include/c++/6/cassert:44:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                                   from ../../nan/nan.h:54,
                                   from ../src/main.cpp:3:
                  ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
                  ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                       assert(wrap->handle_.IsNearDeath());
                                            ^
                  ../src/main.cpp: In function ‘v8::Local<v8::Object> ConvertDiskUsage(const DiskUsage&)’:
                  ../src/main.cpp:9:103: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       obj->Set(Nan::New<v8::String>("available").ToLocalChecked(), Nan::New<v8::Number>(usage.available));
                                                                                                                         ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                   bool Set(Local<Value> key, Local<Value> value));
                                        ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/main.cpp:10:93: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       obj->Set(Nan::New<v8::String>("free").ToLocalChecked(), Nan::New<v8::Number>(usage.free));
                                                                                                               ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                   bool Set(Local<Value> key, Local<Value> value));
                                        ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/main.cpp:11:95: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       obj->Set(Nan::New<v8::String>("total").ToLocalChecked(), Nan::New<v8::Number>(usage.total));
                                                                                                                 ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                   from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                   bool Set(Local<Value> key, Local<Value> value));
                                        ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/main.cpp:26:71: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                           DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                                         ^
                  In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                   from ../../nan/nan.h:52,
                                   from ../src/main.cpp:3:
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                       Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                       ^~~~~~~~~
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note:   candidate expects 2 arguments, 1 provided
                  ../src/main.cpp: At global scope:
                  ../src/main.cpp:37:15: error: variable or field ‘Init’ declared void
                   void Init(v8::Handle<v8::Object> exports)
                                 ^~~~~~
                  ../src/main.cpp:37:11: error: ‘Handle’ is not a member of ‘v8’
                   void Init(v8::Handle<v8::Object> exports)
                             ^~
                  ../src/main.cpp:37:32: error: expected primary-expression before ‘>’ token
                   void Init(v8::Handle<v8::Object> exports)
                                                  ^
                  ../src/main.cpp:37:34: error: ‘exports’ was not declared in this scope
                   void Init(v8::Handle<v8::Object> exports)
                                                    ^~~~~~~
                  In file included from ../../nan/nan.h:52:0,
                                   from ../src/main.cpp:3:
                  ../src/main.cpp:42:24: error: ‘Init’ was not declared in this scope
                   NODE_MODULE(diskusage, Init)
                                          ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                         (node::addon_register_func) (regfunc),                          \
                                                      ^~~~~~~
                  ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                   NODE_MODULE(diskusage, Init)
                   ^~~~~~~~~~~
                  ../src/main.cpp:42:24: note: suggested alternative:
                   NODE_MODULE(diskusage, Init)
                                          ^
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                         (node::addon_register_func) (regfunc),                          \
                                                      ^~~~~~~
                  ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                   NODE_MODULE(diskusage, Init)
                   ^~~~~~~~~~~
                  /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:225:18: note:   ‘node::Init’
                   NODE_EXTERN void Init(int* argc,
                                    ^~~~
                  In file included from ../src/main.cpp:3:0:
                  ../src/main.cpp:21:19: warning: ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
                   static NAN_METHOD(GetDiskUsage)
                                     ^
                  ../../nan/nan.h:1473:33: note: in definition of macro ‘NAN_METHOD’
                       Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
                                                   ^~~~
                  diskusage.target.mk:114: die Regel für Ziel „Release/obj.target/diskusage/src/main.o“ scheiterte
                  make: *** [Release/obj.target/diskusage/src/main.o] Fehler 1
                  make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                  gyp ERR! build error
                  gyp ERR! stack Error: `make` failed with exit code: 2
                  gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                  gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                  gyp ERR! System Linux 4.9.0-12-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/diskusage
                  gyp ERR! node -v v12.16.3
                  gyp ERR! node-gyp -v v5.1.0
                  gyp ERR! not ok
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 1
                  npm ERR! diskusage@0.2.4 install: `node-gyp rebuild`
                  npm ERR! Exit status 1
                  npm ERR!
                  npm ERR! Failed at the diskusage@0.2.4 install script.
                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobrokermaint/.npm/_logs/2020-05-17T15_54_39_055Z-debug.log
                  
                  
                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • S samsungfreak

                    @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

                    @samsungfreak

                    npm rebuild diskusage --from-source
                    

                    Der Befehl hat funktioniert allerdings ebenfalls mit den Fehlern:

                    iobrokermaint@BROKER:/opt/iobroker$ npm rebuild diskusage --from-source
                    
                    > diskusage@0.2.4 install /opt/iobroker/node_modules/diskusage
                    > node-gyp rebuild
                    
                    make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                      CXX(target) Release/obj.target/diskusage/src/main.o
                    In file included from ../../nan/nan_converters.h:67:0,
                                     from ../../nan/nan.h:221,
                                     from ../src/main.cpp:3:
                    ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
                    ../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
                           val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                                       ^
                    ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
                     X(Boolean)
                     ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2664:59: note: declared here
                                     V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                                               ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from ../../nan/nan_converters.h:67:0,
                                     from ../../nan/nan.h:221,
                                     from ../src/main.cpp:3:
                    ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
                    ../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
                       return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                                             ^
                    ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
                     X(bool, Boolean)
                     ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note: declared here
                                     V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                                       ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from ../../nan/nan_new.h:189:0,
                                     from ../../nan/nan.h:222,
                                     from ../src/main.cpp:3:
                    ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
                    ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                               , obj));
                                                    ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
                       static MaybeLocal<Function> New(
                                                   ^~~
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
                    In file included from ../../nan/nan_new.h:189:0,
                                     from ../../nan/nan.h:222,
                                     from ../src/main.cpp:3:
                    ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
                    ../../nan/nan_implementation_12_inl.h:337:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
                       return v8::StringObject::New(value).As<v8::StringObject>();
                                                         ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note: candidate: static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)
                       static Local<Value> New(Isolate* isolate, Local<String> value);
                                           ^~~
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
                    In file included from ../../nan/nan_new.h:189:0,
                                     from ../../nan/nan.h:222,
                                     from ../src/main.cpp:3:
                    ../../nan/nan_implementation_12_inl.h:337:58: error: expected primary-expression before ‘>’ token
                       return v8::StringObject::New(value).As<v8::StringObject>();
                                                                              ^
                    ../../nan/nan_implementation_12_inl.h:337:60: error: expected primary-expression before ‘)’ token
                       return v8::StringObject::New(value).As<v8::StringObject>();
                                                                                ^
                    In file included from ../src/main.cpp:3:0:
                    ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
                    ../../nan/nan.h:1063:53: error: no matching function for call to ‘v8::Value::ToString()’
                           v8::Local<v8::String> string = from->ToString();
                                                                         ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
                       V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                                                ^~~~~~~~
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                                     Local<String> ToString(Isolate* isolate) const);
                                                   ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
                                     Local<String> ToString(Isolate* isolate) const);
                                                   ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from ../src/main.cpp:3:0:
                    ../../nan/nan.h:1073:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’
                             length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                                                                                              ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const
                       int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                           ^~~~~~~~~
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
                    In file included from ../src/main.cpp:3:0:
                    ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
                    ../../nan/nan.h:1847:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                                    ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                     bool Set(Local<Value> key, Local<Value> value));
                                          ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from ../src/main.cpp:3:0:
                    ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
                    ../../nan/nan.h:1853:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         New(persistentHandle)->Set(key, value);
                                                              ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                     bool Set(Local<Value> key, Local<Value> value));
                                          ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from ../src/main.cpp:3:0:
                    ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
                    ../../nan/nan.h:1859:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         New(persistentHandle)->Set(index, value);
                                                                ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3508:22: note: declared here
                                     bool Set(uint32_t index, Local<Value> value));
                                          ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from ../src/main.cpp:3:0:
                    ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
                    ../../nan/nan.h:1865:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                             New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                                                 ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
                       V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                       ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from ../src/main.cpp:3:0:
                    ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
                    ../../nan/nan.h:1871:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         return scope.Escape(New(persistentHandle)->Get(key));
                                                                           ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here
                       V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                       ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from ../src/main.cpp:3:0:
                    ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
                    ../../nan/nan.h:1876:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         return scope.Escape(New(persistentHandle)->Get(index));
                                                                             ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3557:51: note: declared here
                       V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                                       ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from /usr/include/c++/6/cassert:44:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                                     from ../../nan/nan.h:54,
                                     from ../src/main.cpp:3:
                    ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
                    ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                         assert(persistent().IsNearDeath());
                                             ^
                    In file included from ../../nan/nan.h:2690:0,
                                     from ../src/main.cpp:3:
                    ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
                    ../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
                         persistent().MarkIndependent();
                                                      ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:570:22: note: declared here
                           V8_INLINE void MarkIndependent());
                                          ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    In file included from /usr/include/c++/6/cassert:44:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26,
                                     from ../../nan/nan.h:54,
                                     from ../src/main.cpp:3:
                    ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
                    ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
                         assert(wrap->handle_.IsNearDeath());
                                              ^
                    ../src/main.cpp: In function ‘v8::Local<v8::Object> ConvertDiskUsage(const DiskUsage&)’:
                    ../src/main.cpp:9:103: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         obj->Set(Nan::New<v8::String>("available").ToLocalChecked(), Nan::New<v8::Number>(usage.available));
                                                                                                                           ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                     bool Set(Local<Value> key, Local<Value> value));
                                          ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/main.cpp:10:93: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         obj->Set(Nan::New<v8::String>("free").ToLocalChecked(), Nan::New<v8::Number>(usage.free));
                                                                                                                 ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                     bool Set(Local<Value> key, Local<Value> value));
                                          ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/main.cpp:11:95: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         obj->Set(Nan::New<v8::String>("total").ToLocalChecked(), Nan::New<v8::Number>(usage.total));
                                                                                                                   ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:27,
                                     from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here
                                     bool Set(Local<Value> key, Local<Value> value));
                                          ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/main.cpp:26:71: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’
                             DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                                           ^
                    In file included from /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:67:0,
                                     from ../../nan/nan.h:52,
                                     from ../src/main.cpp:3:
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)
                         Utf8Value(Isolate* isolate, Local<v8::Value> obj);
                         ^~~~~~~~~
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/v8.h:3135:5: note:   candidate expects 2 arguments, 1 provided
                    ../src/main.cpp: At global scope:
                    ../src/main.cpp:37:15: error: variable or field ‘Init’ declared void
                     void Init(v8::Handle<v8::Object> exports)
                                   ^~~~~~
                    ../src/main.cpp:37:11: error: ‘Handle’ is not a member of ‘v8’
                     void Init(v8::Handle<v8::Object> exports)
                               ^~
                    ../src/main.cpp:37:32: error: expected primary-expression before ‘>’ token
                     void Init(v8::Handle<v8::Object> exports)
                                                    ^
                    ../src/main.cpp:37:34: error: ‘exports’ was not declared in this scope
                     void Init(v8::Handle<v8::Object> exports)
                                                      ^~~~~~~
                    In file included from ../../nan/nan.h:52:0,
                                     from ../src/main.cpp:3:
                    ../src/main.cpp:42:24: error: ‘Init’ was not declared in this scope
                     NODE_MODULE(diskusage, Init)
                                            ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                           (node::addon_register_func) (regfunc),                          \
                                                        ^~~~~~~
                    ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(diskusage, Init)
                     ^~~~~~~~~~~
                    ../src/main.cpp:42:24: note: suggested alternative:
                     NODE_MODULE(diskusage, Init)
                                            ^
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
                           (node::addon_register_func) (regfunc),                          \
                                                        ^~~~~~~
                    ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(diskusage, Init)
                     ^~~~~~~~~~~
                    /home/iobrokermaint/.cache/node-gyp/12.16.3/include/node/node.h:225:18: note:   ‘node::Init’
                     NODE_EXTERN void Init(int* argc,
                                      ^~~~
                    In file included from ../src/main.cpp:3:0:
                    ../src/main.cpp:21:19: warning: ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function]
                     static NAN_METHOD(GetDiskUsage)
                                       ^
                    ../../nan/nan.h:1473:33: note: in definition of macro ‘NAN_METHOD’
                         Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
                                                     ^~~~
                    diskusage.target.mk:114: die Regel für Ziel „Release/obj.target/diskusage/src/main.o“ scheiterte
                    make: *** [Release/obj.target/diskusage/src/main.o] Fehler 1
                    make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                    gyp ERR! build error
                    gyp ERR! stack Error: `make` failed with exit code: 2
                    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                    gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                    gyp ERR! System Linux 4.9.0-12-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/diskusage
                    gyp ERR! node -v v12.16.3
                    gyp ERR! node-gyp -v v5.1.0
                    gyp ERR! not ok
                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 1
                    npm ERR! diskusage@0.2.4 install: `node-gyp rebuild`
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the diskusage@0.2.4 install script.
                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobrokermaint/.npm/_logs/2020-05-17T15_54_39_055Z-debug.log
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #32

                    @samsungfreak

                    iobroker rebuild self
                    

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

                    S 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #33
                      npm cache clear
                      

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

                      S 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun
                        npm cache clear
                        
                        S Offline
                        S Offline
                        samsungfreak
                        schrieb am zuletzt editiert von
                        #34

                        @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

                        npm cache clear
                        
                        /opt/iobroker$ npm cache clear
                        npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. On the other hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empty-cache` to use a temporary cache instead of nuking the actual one.
                        npm ERR!
                        npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobrokermaint/.npm/_logs/2020-05-17T16_44_18_291Z-debug.log
                        iobrokermaint@PA-Broker:/opt/iobroker$
                        
                        
                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @samsungfreak

                          iobroker rebuild self
                          
                          S Offline
                          S Offline
                          samsungfreak
                          schrieb am zuletzt editiert von
                          #35

                          @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

                          @samsungfreak

                          iobroker rebuild self
                          

                          Den Befehl gibt es leider nicht

                          /opt/iobroker$ iobroker rebuild self
                          Commands:
                          iobroker setup [--objects <host>] [--states <host>] [custom]
                          iobroker start
                          iobroker stop
                          iobroker start <adapter>
                          iobroker stop <adapter>
                          iobroker start all
                          iobroker restart
                          iobroker restart <adapter>
                          iobroker info
                          iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>]
                          iobroker install <adapter>
                          iobroker url <url> [<name>]
                          iobroker del <adapter>
                          iobroker del <adapter>.<instance>
                          iobroker update [repository url] [--updatable/--u] [--installed/--i]
                          iobroker upgrade [repository url]
                          iobroker upgrade self [repository url]
                          iobroker upgrade <adapter> [repository url]
                          iobroker upload <pathToLocalFile> <pathIniobroker>
                          iobroker upload all
                          iobroker upload <adapter>
                          iobroker object get <id>
                          iobroker object del <id>
                          iobroker object chmod <object-mode> [state-mode] <id>
                          iobroker object chown <user> <group> <id>
                          iobroker object list <id>
                          iobroker state get <id> [
                          iobroker state getplain <id> [--pretty]
                          iobroker state getvalue <id>
                          iobroker state set <id> <value> [ack]
                          iobroker state del <id>
                          iobroker message <adapter>[.instanceid] <command> [<message>]
                          iobroker list <type> [filter]
                          iobroker chmod <mode> <file>
                          iobroker chown <user> <group> <file>
                          iobroker touch <file>
                          iobroker rm <file>
                          iobroker file read <iobroker-path-to-read> [<filesystem-path-to-write>]
                          iobroker file write <filesystem-path-to-read> <iobroker-path-to-read>
                          iobroker user add <user> [--ingroup group] [--password pass]
                          iobroker user del <user>
                          iobroker user passwd <user> [--password pass]
                          iobroker user enable <user>
                          iobroker user disable <user>
                          iobroker user get <user>
                          iobroker user check <user> [--password pass]
                          iobroker group add <group>
                          iobroker group del <group>
                          iobroker group list <group>
                          iobroker group enable <group>
                          iobroker group disable <group>
                          iobroker group get <group>
                          iobroker group adduser <group> <user>
                          iobroker group deluser <group> <user>
                          iobroker host this
                          iobroker set <adapter>.<instance> [--port port] [--ip address] [--ssl true|false]
                          iobroker license <license.file or license.text>
                          iobroker clean
                          iobroker backup
                          iobroker restore <backup name or path>
                          iobroker <command> --timeout 5000
                          iobroker status
                          iobroker repo [name]
                          iobroker repo add <name> <path or url>
                          iobroker repo set <name>
                          iobroker repo del <name>
                          iobroker uuid
                          iobroker unsetup
                          iobroker multihost <enable|disable> [--secure true|false]
                          iobroker multihost browse
                          iobroker multihost connect
                          iobroker version [adapter]
                          iobroker [adapter] -v
                          
                          
                          Optionen:
                            --help     Hilfe anzeigen  [boolean]
                            --version  Version anzeigen  [boolean]
                          
                          
                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • S samsungfreak

                            @Thomas-Braun sagte in Update JS-Controller @1.5.3 auf @2.1.1 mit Fehlern:

                            @samsungfreak

                            iobroker rebuild self
                            

                            Den Befehl gibt es leider nicht

                            /opt/iobroker$ iobroker rebuild self
                            Commands:
                            iobroker setup [--objects <host>] [--states <host>] [custom]
                            iobroker start
                            iobroker stop
                            iobroker start <adapter>
                            iobroker stop <adapter>
                            iobroker start all
                            iobroker restart
                            iobroker restart <adapter>
                            iobroker info
                            iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>]
                            iobroker install <adapter>
                            iobroker url <url> [<name>]
                            iobroker del <adapter>
                            iobroker del <adapter>.<instance>
                            iobroker update [repository url] [--updatable/--u] [--installed/--i]
                            iobroker upgrade [repository url]
                            iobroker upgrade self [repository url]
                            iobroker upgrade <adapter> [repository url]
                            iobroker upload <pathToLocalFile> <pathIniobroker>
                            iobroker upload all
                            iobroker upload <adapter>
                            iobroker object get <id>
                            iobroker object del <id>
                            iobroker object chmod <object-mode> [state-mode] <id>
                            iobroker object chown <user> <group> <id>
                            iobroker object list <id>
                            iobroker state get <id> [
                            iobroker state getplain <id> [--pretty]
                            iobroker state getvalue <id>
                            iobroker state set <id> <value> [ack]
                            iobroker state del <id>
                            iobroker message <adapter>[.instanceid] <command> [<message>]
                            iobroker list <type> [filter]
                            iobroker chmod <mode> <file>
                            iobroker chown <user> <group> <file>
                            iobroker touch <file>
                            iobroker rm <file>
                            iobroker file read <iobroker-path-to-read> [<filesystem-path-to-write>]
                            iobroker file write <filesystem-path-to-read> <iobroker-path-to-read>
                            iobroker user add <user> [--ingroup group] [--password pass]
                            iobroker user del <user>
                            iobroker user passwd <user> [--password pass]
                            iobroker user enable <user>
                            iobroker user disable <user>
                            iobroker user get <user>
                            iobroker user check <user> [--password pass]
                            iobroker group add <group>
                            iobroker group del <group>
                            iobroker group list <group>
                            iobroker group enable <group>
                            iobroker group disable <group>
                            iobroker group get <group>
                            iobroker group adduser <group> <user>
                            iobroker group deluser <group> <user>
                            iobroker host this
                            iobroker set <adapter>.<instance> [--port port] [--ip address] [--ssl true|false]
                            iobroker license <license.file or license.text>
                            iobroker clean
                            iobroker backup
                            iobroker restore <backup name or path>
                            iobroker <command> --timeout 5000
                            iobroker status
                            iobroker repo [name]
                            iobroker repo add <name> <path or url>
                            iobroker repo set <name>
                            iobroker repo del <name>
                            iobroker uuid
                            iobroker unsetup
                            iobroker multihost <enable|disable> [--secure true|false]
                            iobroker multihost browse
                            iobroker multihost connect
                            iobroker version [adapter]
                            iobroker [adapter] -v
                            
                            
                            Optionen:
                              --help     Hilfe anzeigen  [boolean]
                              --version  Version anzeigen  [boolean]
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #36

                            @samsungfreak Bei js-controller 2 gibt es den noch nicht.
                            Keine Ahnung was da bei dir klemmt. Ich glaube da hängt noch irgendwas uraltes im npm cache drin.

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

                            S 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @samsungfreak Bei js-controller 2 gibt es den noch nicht.
                              Keine Ahnung was da bei dir klemmt. Ich glaube da hängt noch irgendwas uraltes im npm cache drin.

                              S Offline
                              S Offline
                              samsungfreak
                              schrieb am zuletzt editiert von
                              #37

                              @Thomas-Braun Gut wenn es nicht geht dann bleibt mir nichts über als das Update mit "Fehlern" durchzuführen. Da der IOBroker nach dem Update weiter ohne Problme läuft hoffe ich mal, dass das Problem beim nächsten Update nicht auftritt:)

                              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

                              568

                              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