NEWS
JS-Controller Upgrade Fehler
-
hier das ergebnis davon:
Linux ioBroker 4.9.0-8-686-pae #1 SMP Debian 4.9.144-3.1 (2019-02-19) i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Mar 26 14:08:27 2019 from 192.168.0.10 marko@ioBroker:~$ sudo apt update && sudo apt upgrade [sudo] Passwort für marko: Ign:1 http://ftp.de.debian.org/debian stretch InRelease Holen:2 http://security.debian.org/debian-security stretch/updates InRelease [94,3 kB] Holen:3 http://ftp.de.debian.org/debian stretch-updates InRelease [91,0 kB] OK:4 http://ftp.de.debian.org/debian stretch Release OK:5 https://deb.nodesource.com/node_6.x stretch InRelease Holen:6 http://security.debian.org/debian-security stretch/updates/main Sources [197 kB] Holen:7 http://security.debian.org/debian-security stretch/updates/main i386 Packages [482 kB] Holen:8 http://security.debian.org/debian-security stretch/updates/main Translation-en [213 kB] Es wurden 1.077 kB in 1 s geholt (871 kB/s). Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 6 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen. Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig Die folgenden Pakete werden aktualisiert (Upgrade): libldb1 libssl1.0.2 openssh-client openssh-server openssh-sftp-server python-ldb 6 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 2.555 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 6.144 B Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] j Holen:1 http://security.debian.org/debian-security stretch/updates/main i386 libssl1.0.2 i386 1.0.2r-1~deb9u1 [1.130 kB] Holen:2 http://security.debian.org/debian-security stretch/updates/main i386 openssh-sftp-server i386 1:7.4p1-10+deb9u6 [45,0 kB] Holen:3 http://security.debian.org/debian-security stretch/updates/main i386 openssh-server i386 1:7.4p1-10+deb9u6 [374 kB] Holen:4 http://security.debian.org/debian-security stretch/updates/main i386 openssh-client i386 1:7.4p1-10+deb9u6 [845 kB] Holen:5 http://security.debian.org/debian-security stretch/updates/main i386 python-ldb i386 2:1.1.27-1+deb9u1 [36,4 kB] Holen:6 http://security.debian.org/debian-security stretch/updates/main i386 libldb1 i386 2:1.1.27-1+deb9u1 [124 kB] Es wurden 2.555 kB in 0 s geholt (9.375 kB/s). Lese Changelogs... Fertig Vorkonfiguration der Pakete ... (Lese Datenbank ... 41708 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../0-libssl1.0.2_1.0.2r-1~deb9u1_i386.deb ... Entpacken von libssl1.0.2:i386 (1.0.2r-1~deb9u1) über (1.0.2q-1~deb9u1) ... Vorbereitung zum Entpacken von .../1-openssh-sftp-server_1%3a7.4p1-10+deb9u6_i386.deb ... Entpacken von openssh-sftp-server (1:7.4p1-10+deb9u6) über (1:7.4p1-10+deb9u5) ... Vorbereitung zum Entpacken von .../2-openssh-server_1%3a7.4p1-10+deb9u6_i386.deb ... Entpacken von openssh-server (1:7.4p1-10+deb9u6) über (1:7.4p1-10+deb9u5) ... Vorbereitung zum Entpacken von .../3-openssh-client_1%3a7.4p1-10+deb9u6_i386.deb ... Entpacken von openssh-client (1:7.4p1-10+deb9u6) über (1:7.4p1-10+deb9u5) ... Vorbereitung zum Entpacken von .../4-python-ldb_2%3a1.1.27-1+deb9u1_i386.deb ... Entpacken von python-ldb (2:1.1.27-1+deb9u1) über (2:1.1.27-1+b1) ... Vorbereitung zum Entpacken von .../5-libldb1_2%3a1.1.27-1+deb9u1_i386.deb ... Entpacken von libldb1:i386 (2:1.1.27-1+deb9u1) über (2:1.1.27-1+b1) ... libldb1:i386 (2:1.1.27-1+deb9u1) wird eingerichtet ... libssl1.0.2:i386 (1.0.2r-1~deb9u1) wird eingerichtet ... Trigger für libc-bin (2.24-11+deb9u4) werden verarbeitet ... Trigger für systemd (232-25+deb9u9) werden verarbeitet ... Trigger für man-db (2.7.6.1-2) werden verarbeitet ... openssh-client (1:7.4p1-10+deb9u6) wird eingerichtet ... python-ldb (2:1.1.27-1+deb9u1) wird eingerichtet ... openssh-sftp-server (1:7.4p1-10+deb9u6) wird eingerichtet ... openssh-server (1:7.4p1-10+deb9u6) wird eingerichtet ... Trigger für libc-bin (2.24-11+deb9u4) werden verarbeitet ... marko@ioBroker:~$ node -v v6.16.0 marko@ioBroker:~$ nodejs -v v6.16.0 marko@ioBroker:~$ npm -v 3.10.10 marko@ioBroker:~$ sudo apt-get --purge remove node Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paket »node« ist nicht installiert, wird also auch nicht entfernt. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. marko@ioBroker:~$ sudo apt-get --purge remove nodejs Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden Pakete werden ENTFERNT: nodejs* 0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert. Nach dieser Operation werden 49,2 MB Plattenplatz freigegeben. Möchten Sie fortfahren? [J/n] j (Lese Datenbank ... 41706 Dateien und Verzeichnisse sind derzeit installiert.) Entfernen von nodejs (6.16.0-1nodesource1) ... dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator« nicht leer, wird daher nicht gelöscht Trigger für man-db (2.7.6.1-2) werden verarbeitet ... marko@ioBroker:~$ sudo apt-get autoremove Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. marko@ioBroker:~$ sudo reboot Using username "marko". marko@192.168.0.89's password: Linux ioBroker 4.9.0-8-686-pae #1 SMP Debian 4.9.144-3.1 (2019-02-19) i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Mar 26 14:09:21 2019 from 192.168.0.10 marko@ioBroker:~$ node -v -bash: node: Kommando nicht gefunden. marko@ioBroker:~$ nodejs -v -bash: nodejs: Kommando nicht gefunden. marko@ioBroker:~$ npm -v -bash: npm: Kommando nicht gefunden. marko@ioBroker:~$ which node marko@ioBroker:~$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - [sudo] Passwort für marko: ## Installing the NodeSource Node.js 10.x repo... ## Populating apt-get cache... + apt-get update OK:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://ftp.de.debian.org/debian stretch InRelease OK:3 http://ftp.de.debian.org/debian stretch-updates InRelease OK:4 http://ftp.de.debian.org/debian stretch Release OK:5 https://deb.nodesource.com/node_6.x stretch InRelease Paketlisten werden gelesen... Fertig ## Confirming "stretch" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_10.x/dists/stretch/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js 10.x repo... + echo 'deb https://deb.nodesource.com/node_10.x stretch main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_10.x stretch main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update OK:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://ftp.de.debian.org/debian stretch InRelease OK:3 http://ftp.de.debian.org/debian stretch-updates InRelease OK:4 http://ftp.de.debian.org/debian stretch Release Holen:5 https://deb.nodesource.com/node_10.x stretch InRelease [4.585 B] Es wurden 4.585 B in 0 s geholt (10,4 kB/s). Paketlisten werden gelesen... Fertig ## Run `sudo apt-get install -y nodejs` to install Node.js 10.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn marko@ioBroker:~$ sudo apt-get install -y nodejs Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig The following additional packages will be installed: libuv1 Die folgenden NEUEN Pakete werden installiert: libuv1 nodejs 0 aktualisiert, 2 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 3.512 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 13,7 MB Plattenplatz zusätzlich benutzt. Holen:1 http://ftp.de.debian.org/debian stretch/main i386 libuv1 i386 1.9.1-3 [89,8 kB] Holen:2 http://ftp.de.debian.org/debian stretch/main i386 nodejs i386 4.8.2~dfsg-1 [3.422 kB] Es wurden 3.512 kB in 0 s geholt (6.414 kB/s). Vormals nicht ausgewähltes Paket libuv1:i386 wird gewählt. (Lese Datenbank ... 38702 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../libuv1_1.9.1-3_i386.deb ... Entpacken von libuv1:i386 (1.9.1-3) ... Vormals nicht ausgewähltes Paket nodejs wird gewählt. Vorbereitung zum Entpacken von .../nodejs_4.8.2~dfsg-1_i386.deb ... Entpacken von nodejs (4.8.2~dfsg-1) ... libuv1:i386 (1.9.1-3) wird eingerichtet ... Trigger für libc-bin (2.24-11+deb9u4) werden verarbeitet ... Trigger für man-db (2.7.6.1-2) werden verarbeitet ... nodejs (4.8.2~dfsg-1) wird eingerichtet ... update-alternatives: /usr/bin/nodejs wird verwendet, um /usr/bin/js (js) im automatischen Modus bereitzustellen marko@ioBroker:~$ node -v -bash: node: Kommando nicht gefunden. marko@ioBroker:~$ nodejs -v v4.8.2 marko@ioBroker:~$ npm -v -bash: npm: Kommando nicht gefunden. marko@ioBroker:~$ sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig libavahi-compat-libdnssd-dev ist schon die neueste Version (0.6.32-2). build-essential ist schon die neueste Version (12.3). Die folgenden NEUEN Pakete werden installiert: libpam0g-dev libudev-dev 0 aktualisiert, 2 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 279 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 570 kB Plattenplatz zusätzlich benutzt. Holen:1 http://security.debian.org/debian-security stretch/updates/main i386 libudev-dev i386 232-25+deb9u9 [91,9 kB] Holen:2 http://ftp.de.debian.org/debian stretch/main i386 libpam0g-dev i386 1.1.8-3.6 [187 kB] Es wurden 279 kB in 0 s geholt (1.330 kB/s). Vormals nicht ausgewähltes Paket libudev-dev:i386 wird gewählt. (Lese Datenbank ... 38769 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../libudev-dev_232-25+deb9u9_i386.deb ... Entpacken von libudev-dev:i386 (232-25+deb9u9) ... Vormals nicht ausgewähltes Paket libpam0g-dev:i386 wird gewählt. Vorbereitung zum Entpacken von .../libpam0g-dev_1.1.8-3.6_i386.deb ... Entpacken von libpam0g-dev:i386 (1.1.8-3.6) ... libpam0g-dev:i386 (1.1.8-3.6) wird eingerichtet ... Trigger für man-db (2.7.6.1-2) werden verarbeitet ... libudev-dev:i386 (232-25+deb9u9) wird eingerichtet ... marko@ioBroker:~$ reboot -bash: reboot: Kommando nicht gefunden. marko@ioBroker:~$ sudo reboot Using username "marko". marko@192.168.0.89's password: Linux ioBroker 4.9.0-8-686-pae #1 SMP Debian 4.9.144-3.1 (2019-02-19) i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Mar 26 14:11:04 2019 from 192.168.0.10 marko@ioBroker:~$ node -v -bash: node: Kommando nicht gefunden. marko@ioBroker:~$ nodejs -v v4.8.2 marko@ioBroker:~$ npm -v -bash: npm: Kommando nicht gefunden. marko@ioBroker:~$
der erste block hat gut funktioniert. danach kamen keine versionen mehr. das "wich node" verstehe ich nicht. bei der installation danach nimmt er mal wieder die 4.xx version. warum auch immer. npm -v funktioniert auch nicht mehr
-
@Granten sagte in JS-Controller Upgrade Fehler:
http://ftp.de.debian.org/debian stretch/main i386 nodejs i386 4.8.2
OK.
du hast eine i386 architektur mit 32bit wie es aussieht --> https://github.com/nodejs/help/issues/1384
Dafür gibt es keine "fertigen" Pakete mehr von Node
-
Schau mal hier:
-
woran hast du denn die version erkannt?
Dann wäre es wohl sinnvoll die zu wechseln oder? auf 64bit? -
@Granten sagte in JS-Controller Upgrade Fehler:
Holen:4 http://ftp.de.debian.org/debian stretch/main i386 nodejs i386 4.8.2~dfsg-1 [3.422 kB]
Daran...
hätte ich auch schon im ersten log sehen können/müssen ... Sorry
64bit würde dann wahrscheinlich sinn machen.
-
Ok. Dann installiere ich mal eine VM mit 64bit. Oh man das hätte ich mir sparen können.... Was ist denn der beste weg um die Daten des iobrokers zu übernehmen? Ordner kopieren?
-
Backup / Restore würde ich machen.
-
@liv-in-sky
Nein! -
@wendy2702 hab ich ehrlich gesagt noch nie versucht. aber es gibt immer ein erstes mal. ich würde dann eine neue, saubere installation mit den neusten versionen durchführen und danach das restore ausführen. ist das so richtig?
-
Ja.
Gibt hier einige Einträge die das beschreiben.
Musst mal suchen... bin nur am Handy unterwegs... da is es bisschen mühselig
-
@wendy2702 ja ich schau mal. kann eigentlich nicht so schwer sein.
jetzt hab ich gleich bei der installation fehler bekommen.....
marko@ioBroker64:~$ node -v v10.15.3 marko@ioBroker64:~$ nodejs -v v10.15.3 marko@ioBroker64:~$ npm -v 6.4.1 marko@ioBroker64:~$ marko@ioBroker64:~$ marko@ioBroker64:~$ marko@ioBroker64:~$ curl -sL https://iobroker.net/install.sh | bash - ========================================================================== Welcome to the ioBroker installer! Installer version: 2019-03-15 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== [sudo] Passwort für marko: Installed acl Installed libcap2-bin Installed git Installed unzip ========================================================================== Creating ioBroker user and directory (2/4) ========================================================================== User iobroker created Created /etc/sudoers.d/iobroker Directory /opt/iobroker created ========================================================================== Installing ioBroker (3/4) ========================================================================== 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/marko/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/marko/.node-gyp/10.15.3/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/marko/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/marko/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/marko/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/marko/.node-gyp/10.15.3/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:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.9.0-8-amd64 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok ========================================================================== Finalizing installation (4/4) ========================================================================== Enabling autostart... Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service. Autostart enabled! Fixing directory permissions... ========================================================================== ioBroker was installed successfully Open http://192.168.0.112:8081 in a browser and start configuring! ========================================================================== You need to re-login before doing anything else on the console!
muss ich die beachten oder kann ich die ignorieren?
EDIT: folgendes kommt beim upgrade von 1.4.2 auf 1.5.7 raus:
Update js-controller from @1.4.2 to @1.5.7 NPM version: 6.4.1 npm install iobroker.js-controller@1.5.7 --unsafe-perm --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.15.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/iobroker/.node-gyp/10.15.3/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.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.node-gyp/10.15.3/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:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.9.0-8-amd64 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/main.cpp:26:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0])); ^ In file included from /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.15.3/include/node/node.h:63, from ../../nan/nan.h:53, from ../src/main.cpp:3: /home/iobroker/.node-gyp/10.15.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/iobroker/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ 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 "ioBroker64" (linux) updated Execute: chmod -R 777 /opt/iobroker Chmod finished. Restart controller Starting node restart.js
auch hier wieder die errors. mach ich irgend was falsch?
-
Die Warning kannst du erstmal ignorieren.
Läuft iobroker denn jetzt bzw. Lässt er sich starten?
-
@wendy2702 Ja das funktioniert
nur diese warnungen kommen bei jeder installation einer instanz. sind die wirklich unbedenklich?
-
@Granten
Ja!
Die sollten deswegen eigentlich unterdrückt werden.Es sind auch nur WARN keine ERR
-
@Homoran Das ist nicht ganz richtig. Es stehen auch fast ganz unten bei meinem 2. Block mehrere ERR.
Sollten unterdrückt werden? Habe ich da was falsch gemacht oder unterdrückt die Software das einfach nur noch nicht? -
Участник @Granten написал в JS-Controller Upgrade Fehler:
@Homoran Das ist nicht ganz richtig. Es stehen auch fast ganz unten bei meinem 2. Block mehrere ERR.
Sollten unterdrückt werden? Habe ich da was falsch gemacht oder unterdrückt die Software das einfach nur noch nicht?SKIPPING OPTIONAL DEPENDENCY
Das Modul ist optional