NEWS
[How-to] Node.js für ioBroker richtig updaten
-
Ok, gaaaaaaanz langsam!!
Der rpi2 Adapter kann wohl (noch) nur bis nodejs 8 laufen. Grund https://github.com/iobroker-community-adapters/ioBroker.rpi2/issues/2 ...
Eure Lösung: https://forum.iobroker.net/topic/23533/aufruf-rpi2-adapter-für-nodejs-10
-
@smartboart
Ah ok.....
Ich war da radikaler.
Habe IObroker platt gemacht, mit Node 10.x neu aufgesetzt und das Backup eingespielt.
Auch beim Rock64, allerdings 32GB eMMc. -
@apollon77 said in [How-to] Node.js für ioBroker richtig updaten:
Ok, gaaaaaaanz langsam!!
Ohh super, brand aktuell...Danke für das Aufgreifen des Problems...
@MathiasJ
hast ja noch die aktulle Node.js laufen...kannst das bitte testen?
Wenn es klappt update ich dann meinen Slave auch und teste ebenfalls... -
ok, ich habe jetzt also schmerzhaft herausgefunden, dass man als Laie das System nicht wirklich up-and-running kann, wenn mal etwas nicht so richtig sauber durchläuft.
Das ist sehr schade, aber dann muss ich mich wohl wieder auf mein "Homematic only" zurückziehen.
-
@smartboart
Das Test-Relais wird jetzt unter der 1.1.0 angesprochen, läßt sich aber nimmer ausschalten.
bei der Version 1.0.0 war es anders herum.
Gruß,
Mathias -
@schweiger2
Hast Du ein backup?
Dann mache es wie ich...... -
Ich habe eines - erzeugt über backitup als totalbackup.
Da ich Linux-Laie bin, weiß ich nicht wie ich das wegsichern kann, denn ich muss doch das armbian auf dem Tinker auch neu aufsetzen ?
Kurz: habe keinen blassen Schimmer
-
@schweiger2
das total Backup eignet sich weniger zum Umziehen, hier ist das Standardbackup wesentlich sinnvoller.
Das sichern ist auch recht einfach, mit nem ftp Programm, z.B. filezilla auf den Raspi und das Backup unter /opt/iobroker/ backup auf den PC ziehen. Zum Wiederherstellen auf dem Ziel "PC" einfach IObroker und Backitup installieren und das Backup zurück in den Backup Ordner kopieren. Mit Backitup das lokale Backup wählen und starten. Nun werden alle Adapter neu installiert und die Einstellungen samt den Scripten vom Backup übernommen. Ausnahme sind Adapter die manuell installiert wurden, die müssen wieder manuell eingefügt werden. -
@schweiger2 was genau ist denn das Problem?
Aber ja die Entscheidung für ein Open Source System wie iobroker setzt voraus das man sich mit neuen Dingen auseinandersetzen muss und diese auch maintainen können muss.
Wir versuchen immer zu Supporten aber da hier bei Updates jeder selbst verantwortlich ist und eine hohe Vielfalt an Systemen vorherrscht ist das immer ein wichtiger Punkt. Bei geschlossenen Systemen wie homematic übernimmt eq-3 viel davon (manchmal auch mehr schlecht als recht) weil das System damit einheitlich ist ...
-
@apollon77 sagte in [How-to] Node.js für ioBroker richtig updaten:
@schweiger2 was genau ist denn das Problem?
Aber ja die Entscheidung für ein Open Source System wie iobroker setzt voraus das man sich mit neuen Dingen auseinandersetzen muss und diese auch maintainen können muss.
Wir versuchen immer zu Supporten aber da hier bei Updates jeder selbst verantwortlich ist und eine hohe Vielfalt an Systemen vorherrscht ist das immer ein wichtiger Punkt. Bei geschlossenen Systemen wie homematic übernimmt eq-3 viel davon (manchmal auch mehr schlecht als recht) weil das System damit einheitlich ist ...
Was ich hier an Support erfahren habe, war schon absolut genial - aber man muss auch seine Grenzen erkennen.
Mein Problem bestand im Update von Version 8 auf 10 und den vielen Fehlermeldungen., die dann entstanden.
Ich werde jetzt das System spaßeshalber mal neu aufsetzen, mit Version 12. Mal sehen , was passiert-oder auch nicht.
-
@schweiger2 sagte in [How-to] Node.js für ioBroker richtig updaten:
Ich werde jetzt das System spaßeshalber mal neu aufsetzen, mit Version 12
Wieso mit v12?
Die ist noch nicht für ioBroker "freigegeben".
Da wissen wir noch nicht bei allem ob es läuft.In der anleitung wird node10 empfohlen, node 8 ist auch noch länger unterstützt.
-
@Homoran weil ich es wissen will und das ein Tester Thread ist. Vllt hat ja jemand eine vm schon mit nodejs 12
-
@apollon77
Gut, ich dachte du meintest "jemand anderes", nicht @schweiger2 .
Der braucht IMHO erstmal ein stabiles System, bevor ihm die lust vergeht. -
@schweiger2 ja, nimm nicht nodejs 12!! 10 is the way to go.
Und korrekt: seine Grenzen zu kennen ist wichtig!!
-
@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 -
@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
-
@schweiger2
Wenn du hilfe brauchst, melde dich! -
@Homoran hm ... wenn es nicht mehr um rpi Adapter im Rahmen nodejs Update geht dann ja
-
@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
-
- Teil:
dgram upgedatet, npm rebuild und npm audit nur mit warn aber ohne errors:
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: