Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @schweiger2 last edited by

      @schweiger2 ja, nimm nicht nodejs 12!! 10 is the way to go.

      Und korrekt: seine Grenzen zu kennen ist wichtig!!

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

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

        @apollon77
        Gut, ich dachte du meintest "jemand anderes", nicht @schweiger2 .
        Der braucht IMHO erstmal ein stabiles System, bevor ihm die lust vergeht.

        Das trifft den Nagel auf den Kopf: System ist neu aufgesetzt - natürlich die 10er.

        Sieht stabil aus, die Lust ist noch da !!!

        Jetzt installiere ich die Adapter neu - und das erste danach ist BACKUP erlernen - um auch einen fall-back durchführen zu können.

        Ich bleibe am Ball und sage danke an euch.

        Beste Grüße
        Joachim

        Homoran MathiasJ 2 Replies Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @apollon77 last edited by

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

          und das ein Tester Thread ist.

          Nein, dass ist ein howto thread.

          Du hast dich verlaufen 😂

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

            @schweiger2
            Wenn du hilfe brauchst, melde dich!

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

              @Homoran hm ... wenn es nicht mehr um rpi Adapter im Rahmen nodejs Update geht dann ja 😉

              1 Reply Last reply Reply Quote 0
              • E
                e-s last edited by

                @apollon77 ,@Stabilostick

                Habe auch das Update so durchgeführt, anschließend sind mir immer Fehlermeldungen beim Updaten von adaptern im Log im Admin aufgefallen. Somit habe ich alle möglichen Lösungsansätze ausprobiert, habe aber immernoch Fehler. Selbst wenn ich iobroker frisch installiere, funktioniert npm rebuild und npm audit nur bis ich irgendeinen Adapter installiere, dann sind wieder die Fehler im Log da. Auch das dgram updaten usw bringt keine Erfolge. Ursprünglich war es eine root installation mit fixer durchlaufen. Auch nach der Neuinstallation habe ich den fixer öfter laufen lassen ohne Erfolg.
                Meines Erachtens passt das was grundsätzlich nicht. Auch finde ich es sehr ungünstig eine user iobroker anzulegen, aber der normale User soll das npm rebuild machen, somit muss man anschließend immer den fixer drüber laufen lassen.

                Hier die ersten Fehlermeldungen:

                $ ./iobroker add shelly  --host ubuntuserver
                NPM version: 6.9.0
                npm install iobroker.shelly@3.0.5 --production --save --prefix "/opt/iobroker" (System call)
                In file included from ../node_modules/nan/nan.h:190:0,                 from ../src/unix_dgram.cc:5:
                ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                   return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                               ^~~~~~~~
                
                In file included from ../src/unix_dgram.cc:5:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                         v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                            ^
                In file included from ../node_modules/nan/nan.h:47:0,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                  ^
                /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                     __attribute__((deprecated(message))) declarator
                                                          ^~~~~~~~~~
                In file included from ../src/unix_dgram.cc:5:0:
                ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                         v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                              ^
                In file included from ../node_modules/nan/nan.h:47:0,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                  ^
                /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                     __attribute__((deprecated(message))) declarator
                                                          ^~~~~~~~~~
                In file included from ../src/unix_dgram.cc:5:0:
                ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                         v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                              ^
                In file included from ../node_modules/nan/nan.h:47:0,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                  ^
                /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                     __attribute__((deprecated(message))) declarator
                                                          ^~~~~~~~~~
                
                In file included from ../src/unix_dgram.cc:5:0:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                     ));
                     ^
                In file included from ../node_modules/nan/nan.h:47:0,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                  ^
                /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                     __attribute__((deprecated(message))) declarator
                                                          ^~~~~~~~~~
                
                ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   domain      = info[0]->Int32Value();
                                                     ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   type        = info[1]->Int32Value();
                                                     ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   protocol    = info[2]->Int32Value();
                                                     ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                
                ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                   String::Utf8Value path(info[1]);
                                                 ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                   explicit Utf8Value(Local<v8::Value> obj));
                                            ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                
                ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   buf = info[1]->ToObject();
                                           ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                 Local<Object> Value::ToObject() const {
                               ^~~~~
                ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   offset = info[2]->Uint32Value();
                                                 ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                   V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                               ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   length = info[3]->Uint32Value();
                                                 ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                   V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                               ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                   String::Utf8Value path(info[4]);
                                                 ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                   explicit Utf8Value(Local<v8::Value> obj));
                                            ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                
                ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   buf = info[1]->ToObject();
                                           ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                 Local<Object> Value::ToObject() const {
                               ^~~~~
                
                ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                   String::Utf8Value path(info[1]);
                                                 ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                   explicit Utf8Value(Local<v8::Value> obj));
                                            ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                
                make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1
                gyp
                 ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2
                gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                gyp ERR! System Linux 4.15.0-51-generic
                
                gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                gyp ERR! node -v v10.16.0
                gyp ERR! node-gyp -v v3.8.0
                gyp ERR! not ok 
                
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                
                
                host.ubuntuserver install adapter shelly
                npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.shelly"
                npm
                 
                notice
                 created a lockfile as package-lock.json. You should commit this file.
                got /opt/iobroker/node_modules/iobroker.shelly/admin
                upload [2] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/words.js words.js application/javascript
                upload [1] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/shelly.png shelly.png image/png
                upload [0] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/index_m.html index_m.html text/html
                host.ubuntuserver object system.adapter.shelly created
                host.ubuntuserver create instance shelly
                host.ubuntuserver object shelly.0.info.connection created
                host.ubuntuserver object shelly.0.info created
                host.ubuntuserver object system.adapter.shelly.0.outputCount created
                host.ubuntuserver object system.adapter.shelly.0.inputCount created
                host.ubuntuserver object system.adapter.shelly.0.uptime created
                host.ubuntuserver object system.adapter.shelly.0.memRss created
                host.ubuntuserver object system.adapter.shelly.0.memHeapTotal created
                host.ubuntuserver object system.adapter.shelly.0.memHeapUsed created
                host.ubuntuserver object system.adapter.shelly.0.cputime created
                host.ubuntuserver object system.adapter.shelly.0.cpu created
                host.ubuntuserver object system.adapter.shelly.0.connected created
                host.ubuntuserver object system.adapter.shelly.0.alive created
                host.ubuntuserver object system.adapter.shelly.0 created
                process exited with code 0
                

                Meine Sysinfos:

                ubuntuserver
                 
                Betriebssystem    linux
                Architektur    x64
                CPUs    2
                Geschwindigkeit    1500 MHz
                Modell    AMD Turion(tm) II Neo N40L Dual-Core Processor
                RAM    3.73 GB
                System Betriebszeit    16 T. 05:29:55
                Node.js    v10.16.0
                NPM    6.9.0
                

                Habe alles von iobroker gelöscht, und selbst die Neuinstall klappt nicht ohne Fehler:

                ., async_context) [-Wdeprecated-declarations]
                         v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                              ^
                In file included from ../node_modules/nan/nan.h:47:0,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                  ^
                /media/HDD/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro âNODE_DEPRECATEDâ
                     __attribute__((deprecated(message))) declarator
                                                          ^~~~~~~~~~
                In file included from ../src/unix_dgram.cc:5:0:
                ../node_modules/nan/nan.h: In member function âv8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) constâ:
                ../node_modules/nan/nan.h:1463:5: warning: âv8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)â is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                     ));
                     ^
                In file included from ../node_modules/nan/nan.h:47:0,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                  ^
                /media/HDD/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro âNODE_DEPRECATEDâ
                     __attribute__((deprecated(message))) declarator
                                                          ^~~~~~~~~~
                ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)â:
                ../src/unix_dgram.cc:189:37: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   domain      = info[0]->Int32Value();
                                                     ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:190:37: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   type        = info[1]->Int32Value();
                                                     ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:191:37: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   protocol    = info[2]->Int32Value();
                                                     ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)â:
                ../src/unix_dgram.cc:230:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:231:33: warning: âv8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)â is deprecated: Use Isolate version [-Wdeprecated-declarations]
                   String::Utf8Value path(info[1]);
                                                 ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                   explicit Utf8Value(Local<v8::Value> obj));
                                            ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)â:
                ../src/unix_dgram.cc:258:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:259:27: warning: âv8::Local<v8::Object> v8::Value::ToObject() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   buf = info[1]->ToObject();
                                           ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63:0,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                 Local<Object> Value::ToObject() const {
                               ^~~~~
                ../src/unix_dgram.cc:260:33: warning: âuint32_t v8::Value::Uint32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   offset = info[2]->Uint32Value();
                                                 ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                   V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                               ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:261:33: warning: âuint32_t v8::Value::Uint32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   length = info[3]->Uint32Value();
                                                 ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                   V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                               ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:262:33: warning: âv8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)â is deprecated: Use Isolate version [-Wdeprecated-declarations]
                   String::Utf8Value path(info[4]);
                                                 ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                   explicit Utf8Value(Local<v8::Value> obj));
                                            ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)â:
                ../src/unix_dgram.cc:302:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:303:27: warning: âv8::Local<v8::Object> v8::Value::ToObject() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   buf = info[1]->ToObject();
                                           ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63:0,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                 Local<Object> Value::ToObject() const {
                               ^~~~~
                ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)â:
                ../src/unix_dgram.cc:340:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc:341:33: warning: âv8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)â is deprecated: Use Isolate version [-Wdeprecated-declarations]
                   String::Utf8Value path(info[1]);
                                                 ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                   explicit Utf8Value(Local<v8::Value> obj));
                                            ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)â:
                ../src/unix_dgram.cc:361:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                   fd = info[0]->Int32Value();
                                            ^
                In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                 from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                 from ../node_modules/nan/nan.h:47,
                                 from ../src/unix_dgram.cc:5:
                /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                              ^
                /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                   declarator __attribute__((deprecated(message)))
                   ^~~~~~~~~~
                make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1
                gyp ERR! build error
                gyp ERR! stack Error: `make` failed with exit code: 2
                gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                gyp ERR! System Linux 4.15.0-52-generic
                gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                gyp ERR! node -v v10.16.0
                gyp ERR! node-gyp -v v3.8.0
                gyp ERR! not ok
                
                ==========================================================================
                    Finalizing installation (4/4)
                ==========================================================================
                
                Enabling autostart...
                Autostart enabled!
                Fixing directory permissions...
                
                ==========================================================================
                
                    ioBroker was installed successfully
                    Open http://192.168.2.222
                192.168.123.1:8081 in a browser and start configuring!
                
                ==========================================================================
                
                
                You need to re-login before doing anything else on the console!
                
                

                Leider fehlt da etwas davor. Teste gerade noch weiter

                apollon77 1 Reply Last reply Reply Quote 0
                • E
                  e-s last edited by

                  1. Teil:

                  dgram upgedatet, npm rebuild und npm audit nur mit warn aber ohne errors:

                  dgramupdate.txt

                  Installation eines Adapters auf die schnelle direkt im ssh:

                  santa@ubuntuserver:/opt/iobroker$ npm install iobroker.mqtt
                  
                  > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram
                  > node-gyp rebuild
                  
                  make: Verzeichnis â/opt/iobroker/node_modules/unix-dgram/buildâ wird betreten
                    CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                  In file included from ../node_modules/nan/nan.h:190:0,
                                   from ../src/unix_dgram.cc:5:
                  ../node_modules/nan/nan_maybe_43_inl.h: In function âNan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)â:
                  ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: âclass v8::Objectâ has no member named âForceSetâ
                     return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                                 ^~~~~~~~
                  In file included from ../src/unix_dgram.cc:5:0:
                  ../node_modules/nan/nan.h: In function âv8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)â:
                  ../node_modules/nan/nan.h:817:60: warning: âv8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)â is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                           v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                              ^
                  In file included from ../node_modules/nan/nan.h:47:0,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /media/HDD/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro âNODE_DEPRECATEDâ
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  In file included from ../src/unix_dgram.cc:5:0:
                  ../node_modules/nan/nan.h: In function âv8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)â:
                  ../node_modules/nan/nan.h:831:62: warning: âv8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)â is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                           v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                ^
                  In file included from ../node_modules/nan/nan.h:47:0,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /media/HDD/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro âNODE_DEPRECATEDâ
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  In file included from ../src/unix_dgram.cc:5:0:
                  ../node_modules/nan/nan.h: In function âv8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)â:
                  ../node_modules/nan/nan.h:845:62: warning: âv8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)â is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                           v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                ^
                  In file included from ../node_modules/nan/nan.h:47:0,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /media/HDD/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro âNODE_DEPRECATEDâ
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  In file included from ../src/unix_dgram.cc:5:0:
                  ../node_modules/nan/nan.h: In member function âv8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) constâ:
                  ../node_modules/nan/nan.h:1463:5: warning: âv8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)â is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                       ));
                       ^
                  In file included from ../node_modules/nan/nan.h:47:0,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /media/HDD/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro âNODE_DEPRECATEDâ
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)â:
                  ../src/unix_dgram.cc:189:37: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     domain      = info[0]->Int32Value();
                                                       ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:190:37: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     type        = info[1]->Int32Value();
                                                       ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:191:37: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     protocol    = info[2]->Int32Value();
                                                       ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)â:
                  ../src/unix_dgram.cc:230:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:231:33: warning: âv8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)â is deprecated: Use Isolate version [-Wdeprecated-declarations]
                     String::Utf8Value path(info[1]);
                                                   ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                     explicit Utf8Value(Local<v8::Value> obj));
                                              ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)â:
                  ../src/unix_dgram.cc:258:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:259:27: warning: âv8::Local<v8::Object> v8::Value::ToObject() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     buf = info[1]->ToObject();
                                             ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63:0,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                   Local<Object> Value::ToObject() const {
                                 ^~~~~
                  ../src/unix_dgram.cc:260:33: warning: âuint32_t v8::Value::Uint32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     offset = info[2]->Uint32Value();
                                                   ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                     V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                 ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:261:33: warning: âuint32_t v8::Value::Uint32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     length = info[3]->Uint32Value();
                                                   ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                     V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                 ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:262:33: warning: âv8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)â is deprecated: Use Isolate version [-Wdeprecated-declarations]
                     String::Utf8Value path(info[4]);
                                                   ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                     explicit Utf8Value(Local<v8::Value> obj));
                                              ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)â:
                  ../src/unix_dgram.cc:302:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:303:27: warning: âv8::Local<v8::Object> v8::Value::ToObject() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     buf = info[1]->ToObject();
                                             ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63:0,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                   Local<Object> Value::ToObject() const {
                                 ^~~~~
                  ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)â:
                  ../src/unix_dgram.cc:340:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc:341:33: warning: âv8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)â is deprecated: Use Isolate version [-Wdeprecated-declarations]
                     String::Utf8Value path(info[1]);
                                                   ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                     explicit Utf8Value(Local<v8::Value> obj));
                                              ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/unix_dgram.cc: In function âNan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)â:
                  ../src/unix_dgram.cc:361:28: warning: âint32_t v8::Value::Int32Value() constâ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     fd = info[0]->Int32Value();
                                              ^
                  In file included from /media/HDD/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from /media/HDD/.node-gyp/10.16.0/include/node/node.h:63,
                                   from ../node_modules/nan/nan.h:47,
                                   from ../src/unix_dgram.cc:5:
                  /media/HDD/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /media/HDD/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro âV8_DEPRECATEDâ
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  unix_dgram.target.mk:101: recipe for target 'Release/obj.target/unix_dgram/src/unix_dgram.o' failed
                  make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1
                  make: Verzeichnis â/opt/iobroker/node_modules/unix-dgram/buildâ wird verlassen
                  gyp ERR! build error
                  gyp ERR! stack Error: `make` failed with exit code: 2
                  gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                  gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                  gyp ERR! System Linux 4.15.0-52-generic
                  gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
                  gyp ERR! node -v v10.16.0
                  gyp ERR! node-gyp -v v3.8.0
                  gyp ERR! not ok
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  
                  + iobroker.mqtt@2.1.0
                  added 70 packages from 39 contributors and audited 2344 packages in 19.27s
                  found 39 vulnerabilities (28 low, 11 high)
                    run `npm audit fix` to fix them, or `npm audit` for details
                  
                  

                  Was soll das mit den osx temp sensoren?
                  und ab jetzt ist wieder ende, dort erscheinen dann sonst immer alle meine adapter mit Fehler:

                  santa@ubuntuserver:/opt/iobroker$ npm audit
                  npm ERR! code ELOCKVERIFY
                  npm ERR! Errors were found in your package-lock.json, run  npm install  to fix them.
                  npm ERR!     Missing: iobroker.mqtt@^2.1.0
                  
                  npm ERR! A complete log of this run can be found in:
                  
                  
                  apollon77 1 Reply Last reply Reply Quote 0
                  • E
                    e-s last edited by

                    Aufgefallen sind mir noch folgende Fehlermeldungen:

                    npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.statistics"
                    npm
                     WARN 
                    deprecated
                     gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
                    npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
                    npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
                    npm
                     WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
                    npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
                    npm WARN
                     deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
                    npm
                    

                    hatte auch mal per Hand versucht minimatch und graceful-fs 4 upzudaten, das brachte mich aber auch nicht wirklich weiter.

                    So dann die Ausgaben von audit wenn iobroker-date restore und anschließend alle Adapter von iobroker installiert wurd:

                    santa@ubuntuserver:/opt/iobroker$ npm audit
                    npm ERR! code ELOCKVERIFY
                    npm ERR! Errors were found in your package-lock.json, run  npm install  to fix them.
                    npm ERR!     Invalid: lock file's iobroker.admin@3.6.2 does not satisfy iobroker.admin@^3.6.3
                    npm ERR!     Missing: iobroker.bosesoundtouch@^0.2.4
                    npm ERR!     Invalid: lock file's iobroker.discovery@1.3.0 does not satisfy iobroker.discovery@^2.0.0
                    npm ERR!     Missing: iobroker.iogo@^0.3.5
                    npm ERR!     Missing: iobroker.javascript@^4.1.13
                    npm ERR!     Invalid: lock file's iobroker.js-controller@1.5.11 does not satisfy iobroker.js-controller@^1.5.12
                    npm ERR!     Missing: iobroker.linkeddevices@^0.2.1
                    npm ERR!     Missing: iobroker.mqtt@^2.1.0
                    npm ERR!     Missing: iobroker.shelly@^3.0.5
                    npm ERR!     Missing: iobroker.shuttercontrol@^0.2.13
                    npm ERR!     Missing: iobroker.sourceanalytix@^0.2.281
                    npm ERR!     Missing: iobroker.statistics@^0.2.2
                    npm ERR!     Missing: iobroker.telegram@^1.4.3
                    npm ERR!     Missing: iobroker.vis@^1.2.0
                    npm ERR!     Missing: iobroker.weatherunderground@^3.0.11
                    npm ERR!     Missing: iobroker.web@^2.4.1
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /media/HDD/.npm/_logs/2019-06-30T20_03_49_944Z-debug.log
                    
                    

                    in der Admin Seite sehe ich aber keine Fehler, auch scheinen alle Adapter normal zu laufen

                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @e-s last edited by

                      @e-s Zu unix.dgram verweise ich auf Post #2 dieses threads (die FAQ dazu) Punkt 3

                      3.) npm rebuild Fehler mit "unix-dgram 0.2.3" (js-controller 1.x mit Node.js 10/12) ...

                      Am Ende "ignore" wenn Du kein syslog brauchst. Wir arbeiten an einer 1.5.13 wo das weg sein sollte

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        e-s @apollon77 last edited by

                        @apollon77

                        im 2. Post von mir ist ein txt datei, dort wurde dram upgedatet, aber alle anderen Fehler sind anschlißend vorhanden

                        1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @e-s last edited by

                          @e-s Alle Fehler mit "SKIPPING OPTIONAL DEPENDENCY" am Ende könnt Ihr einfach ignorieren. Es gibt auch Module (wie osx...) die nur für bestimmte Betriebssysteme zu sein.

                          npm audit wird aktuell nicht sinnvoll funktionieren weil in früheren Installationen das package-lock deaktiviert wurde, Also einfach nicht machen. Unnötig

                          1 Reply Last reply Reply Quote 1
                          • apollon77
                            apollon77 @e-s last edited by

                            @e-s Alle "deprecated "Meldungen und ähnliches bitte einfach ignorieren!! Die Entwickler müssen das aktualisieren, nicht Ihr als User. Ihr könnt die Konsequenzen gar nicht absehen und riskiert Euer System!
                            Weiterhin ist "deprecated" nicht schlimm, sondenr nur eine Warnung.

                            Daher: ruhig Blut

                            1 Reply Last reply Reply Quote 1
                            • MathiasJ
                              MathiasJ @schweiger2 last edited by

                              @schweiger2
                              und installiere gleich den Adapter iobroker.backitup,
                              eröffne ein Konto bei Dropbox und hole Dir da die API.
                              Ich lasse jeden Tag ein minimales Backup und ein Backup der CCU bzw
                              Raspberrymatic auf Dropbox und auf meiner NAS speichern.
                              Totale Backups mache ich einmal jedes Monat, weil das totale Backup eh (fast) nie gebraucht wird.
                              Wenn es nach mir ginge, würde ich ein weiteres Backup auf der Fritzbox speichern. Von Backups kann man nie genug haben.
                              Gruß,
                              Mathias

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                schweiger2 @MathiasJ last edited by

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

                                @schweiger2
                                und installiere gleich den Adapter iobroker.backitup,
                                eröffne ein Konto bei Dropbox und hole Dir da die API.
                                Ich lasse jeden Tag ein minimales Backup und ein Backup der CCU bzw
                                Raspberrymatic auf Dropbox und auf meiner NAS speichern.
                                Totale Backups mache ich einmal jedes Monat, weil das totale Backup eh (fast) nie gebraucht wird.
                                Wenn es nach mir ginge, würde ich ein weiteres Backup auf der Fritzbox speichern. Von Backups kann man nie genug haben.
                                Gruß,
                                Mathias

                                Hallo Mathias, erledigt als Backup-Job auf das Synology-NAS mit gespiegelten HDDS. Dankeschön.

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

                                  Das ganze mit Node.js 10 und ioBroker scheint unter gewissen Umständen noch fehlerhaft zu sein:
                                  Hier Test mit Neuinstallation, Debian Proxmox-Container:
                                  https://forum.iobroker.net/topic/23553/proxmox-container-iob-install-fehler-unix-dgram

                                  Das wirft mit Node.js 10 Fehler aus, dasselbe unter Node.js 8 kein Fehler. Siehe dort im Thread die Details.

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

                                    Bitte in diesem Thread Post #2 (die FAQ) Punkt #3 lesen ...

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      watcherkb last edited by

                                      Ich hab nur Fehlermeldungen. Habe schon alles mögliche versucht. Fixer, alle Punkte von oben in der Beschreibung...

                                      $ ./iobroker add shuttercontrol  --host iobrokertest
                                      NPM version: 6.9.0
                                      npm install iobroker.shuttercontrol@0.3.1 --production --save --prefix "/opt/iobroker" (System call)
                                      In file included from ../node_modules/nan/nan.h:190:0,                 from ../src/unix_dgram.cc:5:
                                      ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
                                      ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                                         return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                                                     ^~~~~~~~
                                      
                                      In file included from ../src/unix_dgram.cc:5:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                                      ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                               v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                                                  ^
                                      In file included from ../node_modules/nan/nan.h:47:0,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                        ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                           __attribute__((deprecated(message))) declarator
                                                                                ^~~~~~~~~~
                                      In file included from ../src/unix_dgram.cc:5:0:
                                      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                                      ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                                                    ^
                                      In file included from ../node_modules/nan/nan.h:47:0,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                        ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                           __attribute__((deprecated(message))) declarator
                                                                                ^~~~~~~~~~
                                      In file included from ../src/unix_dgram.cc:5:0:
                                      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                                      ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                                                    ^
                                      In file included from ../node_modules/nan/nan.h:47:0,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                        ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                           __attribute__((deprecated(message))) declarator
                                                                                ^~~~~~~~~~
                                      
                                      In file included from ../src/unix_dgram.cc:5:0:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
                                      ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                           ));
                                           ^
                                      In file included from ../node_modules/nan/nan.h:47:0,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                        ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                                           __attribute__((deprecated(message))) declarator
                                                                                ^~~~~~~~~~
                                      
                                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         domain      = info[0]->Int32Value();
                                                                           ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                    ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         type        = info[1]->Int32Value();
                                                                           ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                    ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         protocol    = info[2]->Int32Value();
                                                                           ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                    ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      
                                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         fd = info[0]->Int32Value();
                                                                  ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                    ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                         String::Utf8Value path(info[1]);
                                                                       ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                         explicit Utf8Value(Local<v8::Value> obj));
                                                                  ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      
                                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         fd = info[0]->Int32Value();
                                                                  ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                    ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         buf = info[1]->ToObject();
                                                                 ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                                       Local<Object> Value::ToObject() const {
                                                     ^~~~~
                                      ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         offset = info[2]->Uint32Value();
                                                                       ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                                         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                                     ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         length = info[3]->Uint32Value();
                                                                       ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
                                         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                                     ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                         String::Utf8Value path(info[4]);
                                                                       ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                         explicit Utf8Value(Local<v8::Value> obj));
                                                                  ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         fd = info[0]->Int32Value();
                                                                  ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                    ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         buf = info[1]->ToObject();
                                                                 ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
                                       Local<Object> Value::ToObject() const {
                                                     ^~~~~
                                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         fd = info[0]->Int32Value();
                                                                  ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                    ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                         String::Utf8Value path(info[1]);
                                                                       ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                                                         explicit Utf8Value(Local<v8::Value> obj));
                                                                  ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                      ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                         fd = info[0]->Int32Value();
                                                                  ^
                                      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                                                       from ../node_modules/nan/nan.h:47,
                                                       from ../src/unix_dgram.cc:5:
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                    ^
                                      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                         declarator __attribute__((deprecated(message)))
                                         ^~~~~~~~~~
                                      
                                      make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
                                      gyp
                                       ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2
                                      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                                      gyp ERR! System Linux 4.9.0-9-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/unix-dgram
                                      gyp ERR! node -v v10.16.0
                                      gyp ERR! node-gyp -v v3.8.0
                                      gyp ERR! not ok 
                                      
                                      npm
                                       
                                      WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                      
                                      
                                      host.iobrokertest install adapter shuttercontrol
                                      npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.shuttercontrol"
                                      npm notice
                                       created a lockfile as package-lock.json. You should commit this file.
                                      npm WARN tslint@5.18.0 requires a peer of typescript@>=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev but none is installed. You must install peer dependencies yourself.npm WARN tsutils@2.29.0 requires a peer of typescript@>=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >= 3.0.0-dev || >= 3.1.0-dev but none is installed. You must install peer dependencies yourself.
                                      
                                      
                                      got /opt/iobroker/node_modules/iobroker.shuttercontrol/admin
                                      upload [4] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/words.js words.js application/javascript
                                      upload [3] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/tsconfig.json tsconfig.json application/json
                                      upload [2] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/style.css style.css text/css
                                      upload [1] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/shuttercontrol.png shuttercontrol.png image/png
                                      upload [0] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/index_m.html index_m.html text/html
                                      host.iobrokertest object system.adapter.shuttercontrol created
                                      host.iobrokertest create instance shuttercontrol
                                      host.iobrokertest object shuttercontrol.0.info.Azimut created
                                      host.iobrokertest object shuttercontrol.0.info.Elevation created
                                      host.iobrokertest object shuttercontrol.0.info.GoldenHourEnd created
                                      host.iobrokertest object shuttercontrol.0.info.GoldenHour created
                                      host.iobrokertest object shuttercontrol.0.info.Sunset created
                                      host.iobrokertest object shuttercontrol.0.info.Sunrise created
                                      host.iobrokertest object shuttercontrol.0.info.downTimeLiving created
                                      host.iobrokertest object shuttercontrol.0.info.downTimeSleep created
                                      host.iobrokertest object shuttercontrol.0.info.upTimeLiving created
                                      host.iobrokertest object shuttercontrol.0.info.upTimeSleep created
                                      host.iobrokertest object shuttercontrol.0.control.autoSleep created
                                      host.iobrokertest object shuttercontrol.0.control.autoLiving created
                                      host.iobrokertest object shuttercontrol.0.control.Holiday created
                                      host.iobrokertest object shuttercontrol.0.control created
                                      host.iobrokertest object shuttercontrol.0.info created
                                      host.iobrokertest object shuttercontrol.0.shutters.autoSun created
                                      host.iobrokertest object shuttercontrol.0.shutters.autoDown created
                                      host.iobrokertest object shuttercontrol.0.shutters.autoUp created
                                      host.iobrokertest object shuttercontrol.0.shutters created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.outputCount created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.inputCount created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.uptime created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.memRss created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.memHeapTotal created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.memHeapUsed created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.cputime created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.cpu created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.connected created
                                      host.iobrokertest object system.adapter.shuttercontrol.0.alive created
                                      host.iobrokertest object system.adapter.shuttercontrol.0 created
                                      process exited with code 0
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 last edited by

                                        Auch hier unix_dgram:

                                        Bitte in diesem Thread Post #2 (die FAQ) Punkt #3 lesen ...

                                        Oder ignorieren wenn Du kein Syslog nutzt. Eine 1.5.13 vom controller wo die Meldung weg ist wird gerade vorbereitet

                                        1 Reply Last reply Reply Quote 0
                                        • Z
                                          zgadgeter last edited by zgadgeter

                                          Hallo,
                                          ich habe bei meinem node.js ein update gemacht auf v10.16.0. Das hat auch funktioniert.
                                          Danach sollte ich auch ein npm rebuild machen, aber da kamen Fehler auf, die ich nicht versteh. Ich habe auch danach den Anweisungen gefolgt und die weiteren Methoden probiert....aber mein zigbee funktioniert nicht mehr. Kann mir da jemand helfen? danke.
                                          Edit: ich habe jetzt die letzte Version von npm installiert...denke das Problem ist nicht mit npm? Alle Adapter funktionieren, nur Zigbee nicht mehr. Ich habe auch probiert eine extra Instanz von dem Zigbee Adapter zu installieren, das hat aber auch nicht funktioniert.

                                          Node.js
                                          v10.16.0
                                          NPM
                                          v6.10.1-next.1
                                          
                                          
                                          > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
                                          > node lib/checkVersions.js
                                          
                                          NPM version: 6.9.0
                                          
                                          > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
                                          > node lib/install.js
                                          
                                          lib/install.js is not being run as part of an installation - skipping...
                                          
                                          > usb@1.6.0 install /opt/iobroker/node_modules/iobroker.ble/node_modules/usb
                                          > prebuild-install --verbose || node-gyp rebuild
                                          
                                          prebuild-install info begin Prebuild-install version 5.3.0
                                          prebuild-install info looking for cached prebuild @ /home/tyrone/.npm/_prebuilds/f78b17-usb-v1.6.0-node-v64-linux-x64.tar.gz
                                          prebuild-install info found cached prebuild
                                          prebuild-install info unpacking @ /home/tyrone/.npm/_prebuilds/f78b17-usb-v1.6.0-node-v64-linux-x64.tar.gz
                                          prebuild-install WARN install EACCES: permission denied, open 'build/Release/usb_bindings.node'
                                          gyp ERR! clean error
                                          gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
                                          gyp ERR! System Linux 4.18.0-25-generic
                                          gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.ble/node_modules/usb
                                          gyp ERR! node -v v10.16.0
                                          gyp ERR! node-gyp -v v3.8.0
                                          gyp ERR! not ok
                                          npm ERR! code ELIFECYCLE
                                          npm ERR! errno 1
                                          npm ERR! usb@1.6.0 install: `prebuild-install --verbose || node-gyp rebuild`
                                          npm ERR! Exit status 1
                                          npm ERR!
                                          npm ERR! Failed at the usb@1.6.0 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/tyrone/.npm/_logs/2019-07-06T19_04_34_967Z-debug.log
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Z
                                            zgadgeter last edited by

                                            Oh, kann mir keiner hier helfen? Vielleicht bin ich im falschem Thema?

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

                                            Support us

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

                                            819
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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