NEWS
SOLVED iobroker auf BananaPi M1 startet nach Update nicht mehr
-
@Kuki sagte in iobroker auf BananaPi M1 startet nach Update nicht mehr:
nodejs nun auf v6.17.1 upgedated.
Hmm...
@AlCalzone sagte in iobroker auf BananaPi M1 startet nach Update nicht mehr:
Node.js updaten, mindestens auf Version 10 oder 12
@Kuki sagte in iobroker auf BananaPi M1 startet nach Update nicht mehr:
Ich weiß nicht, was Du oben mit "siehe Seitenleiste" meinst.
-
@Kuki Ich würde folgende Vorgehensweise vorschlagen:
- Komplettes System-Backup!
- Node.js updaten, mindestens auf Version 10 oder 12, siehe Seitenleiste
- JS-Controller updaten (kein Ahnung warum du noch 1.x bekommst?!):
cd /opt/iobroker npm i iobroker.js-controller@stable
- Fixer ausführen:
iobroker fix
- Freuen, dass es läuft oder Backup einspielen und hier berichten.
-
Ah ok, diese Box habe ich nicht gesehen (schon seit langem nicht mehr auf der Home-Seite gewesen).
Aber anscheinend wird nichts aus meinem node-Update:
login as: io io@192.168.0.95's password: ____ ____ _ | __ ) __ _ _ __ __ _ _ __ __ _ | _ \(_) | _ \ / _` | '_ \ / _` | '_ \ / _` | | |_) | | | |_) | (_| | | | | (_| | | | | (_| | | __/| | |____/ \__,_|_| |_|\__,_|_| |_|\__,_| |_| |_| Welcome to ARMBIAN 5.36 user-built Debian GNU/Linux 8 (jessie) 4.13.16-sunxi System load: 1.55 0.92 0.36 Up time: 2 min Memory usage: 11 % of 999MB IP: 192.168.0.95 CPU temp: 35°C Usage of /: 72% of 3.5G [ General system configuration (beta): armbian-config ] Last login: Fri Mar 6 13:37:18 2020 from acera515.fritz.box io@Bananapi:~$ cd /opt/iobroker io@Bananapi:/opt/iobroker$ iobroker stop iobroker controller daemon is not running io@Bananapi:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - [sudo] password for io: ## Installing the NodeSource Node.js 10.x repo... ## Populating apt-get cache... + apt-get update Ign http://httpredir.debian.org jessie InRelease Hit http://httpredir.debian.org jessie-updates InRelease Ign http://httpredir.debian.org jessie-backports InRelease Hit http://security.debian.org jessie/updates InRelease Hit https://deb.nodesource.com jessie InRelease Hit http://httpredir.debian.org jessie Release.gpg Ign http://httpredir.debian.org jessie-backports Release.gpg Hit http://httpredir.debian.org jessie Release Ign http://httpredir.debian.org jessie-backports Release Ign http://httpredir.debian.org jessie-backports/main armhf Packages/DiffIndex Ign http://httpredir.debian.org jessie-backports/contrib armhf Packages/DiffIndex Ign http://httpredir.debian.org jessie-backports/non-free armhf Packages/DiffIndex Get:1 http://apt.armbian.com jessie InRelease [178 B] Ign http://apt.armbian.com jessie InRelease Get:2 http://apt.armbian.com jessie Release.gpg [178 B] Ign http://apt.armbian.com jessie Release.gpg Get:3 http://apt.armbian.com jessie Release [178 B] Ign http://apt.armbian.com jessie Release Get:4 http://httpredir.debian.org jessie-updates/main armhf Packages [20 B] Get:5 http://apt.armbian.com jessie/main armhf Packages/DiffIndex [178 B] Ign http://apt.armbian.com jessie/main armhf Packages/DiffIndex Get:6 http://httpredir.debian.org jessie-updates/contrib armhf Packages [20 B] Get:7 http://httpredir.debian.org jessie-updates/non-free armhf Packages [20 B] Get:8 http://httpredir.debian.org jessie-updates/contrib Translation-en [14 B] Get:9 http://httpredir.debian.org jessie-updates/main Translation-en [14 B] Get:10 http://httpredir.debian.org jessie-updates/non-free Translation-en [14 B] Get:11 http://apt.armbian.com jessie/utils armhf Packages/DiffIndex [178 B] Ign http://apt.armbian.com jessie/utils armhf Packages/DiffIndex Get:12 http://apt.armbian.com jessie/jessie-desktop armhf Packages/DiffIndex [178 B] Ign http://apt.armbian.com jessie/jessie-desktop armhf Packages/DiffIndex Get:13 http://apt.armbian.com jessie/jessie-desktop Translation-en_US [178 B] Get:14 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B] Get:15 http://security.debian.org jessie/updates/main armhf Packages [737 kB] Hit https://deb.nodesource.com jessie/main Sources Get:16 http://apt.armbian.com jessie/jessie-desktop Translation-en_US.UTF-8 [178 B] Get:17 http://apt.armbian.com jessie/main Translation-en_US [178 B] Get:18 http://apt.armbian.com jessie/main Translation-en [178 B] Get:19 http://apt.armbian.com jessie/main Translation-en_US.UTF-8 [178 B] Get:20 http://apt.armbian.com jessie/utils Translation-en_US [178 B] Get:21 http://apt.armbian.com jessie/utils Translation-en [178 B] Get:22 http://apt.armbian.com jessie/utils Translation-en_US.UTF-8 [178 B] Get:23 http://security.debian.org jessie/updates/non-free armhf Packages [4.243 B] Get:24 http://security.debian.org jessie/updates/main Translation-en [387 kB] Get:25 http://security.debian.org jessie/updates/non-free Translation-en [11,8 kB] Get:26 http://apt.armbian.com jessie/main armhf Packages [178 B] Get:27 https://deb.nodesource.com jessie/main armhf Packages [1.005 B] Hit http://security.debian.org jessie/updates/contrib armhf Packages Hit http://security.debian.org jessie/updates/contrib Translation-en Get:28 https://deb.nodesource.com jessie/main Translation-en_US [162 B] Get:29 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:30 http://apt.armbian.com jessie/utils armhf Packages [178 B] Get:31 https://deb.nodesource.com jessie/main Translation-en_US.UTF-8 [162 B] Get:32 https://deb.nodesource.com jessie/main Translation-en_US [162 B] Get:33 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B] Get:34 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:35 https://deb.nodesource.com jessie/main Translation-en_US.UTF-8 [162 B] Get:36 http://apt.armbian.com jessie/jessie-desktop Translation-en_US [178 B] Get:37 https://deb.nodesource.com jessie/main Translation-en_US [162 B] Get:38 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:39 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B] Get:40 https://deb.nodesource.com jessie/main Translation-en_US.UTF-8 [162 B] Get:41 https://deb.nodesource.com jessie/main Translation-en_US [162 B] Get:42 http://apt.armbian.com jessie/jessie-desktop Translation-en_US.UTF-8 [178 B] Get:43 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:44 https://deb.nodesource.com jessie/main Translation-en_US.UTF-8 [162 B] Get:45 http://apt.armbian.com jessie/main Translation-en_US [178 B] Get:46 https://deb.nodesource.com jessie/main Translation-en_US [162 B] Ign https://deb.nodesource.com jessie/main Translation-en_US Get:47 https://deb.nodesource.com jessie/main Translation-en [162 B] Ign https://deb.nodesource.com jessie/main Translation-en Get:48 http://apt.armbian.com jessie/main Translation-en [178 B] Get:49 https://deb.nodesource.com jessie/main Translation-en_US.UTF-8 [162 B] Ign https://deb.nodesource.com jessie/main Translation-en_US.UTF-8 Ign http://httpredir.debian.org jessie-backports/contrib Translation-en_US Get:50 http://apt.armbian.com jessie/main Translation-en_US.UTF-8 [178 B] Get:51 http://apt.armbian.com jessie/utils Translation-en_US [178 B] Ign http://httpredir.debian.org jessie-backports/contrib Translation-en Ign http://httpredir.debian.org jessie-backports/contrib Translation-en_US.UTF-8 Ign http://httpredir.debian.org jessie-backports/main Translation-en_US Get:52 http://apt.armbian.com jessie/utils Translation-en [178 B] Ign http://httpredir.debian.org jessie-backports/main Translation-en Ign http://httpredir.debian.org jessie-backports/main Translation-en_US.UTF-8 Ign http://httpredir.debian.org jessie-backports/non-free Translation-en_US Get:53 http://apt.armbian.com jessie/utils Translation-en_US.UTF-8 [178 B] Hit http://httpredir.debian.org jessie/main armhf Packages Get:54 http://apt.armbian.com jessie/main armhf Packages [178 B] Hit http://httpredir.debian.org jessie/contrib armhf Packages Hit http://httpredir.debian.org jessie/non-free armhf Packages Get:55 http://apt.armbian.com jessie/utils armhf Packages [178 B] Hit http://httpredir.debian.org jessie/contrib Translation-en Hit http://httpredir.debian.org jessie/main Translation-en Get:56 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B] Hit http://httpredir.debian.org jessie/non-free Translation-en Ign http://httpredir.debian.org jessie-backports/non-free Translation-en Ign http://httpredir.debian.org jessie-backports/non-free Translation-en_US.UTF-8 Get:57 http://apt.armbian.com jessie/jessie-desktop Translation-en_US [178 B] Err http://httpredir.debian.org jessie-backports/main armhf Packages 404 Not Found [IP: 151.101.14.133 80] Err http://httpredir.debian.org jessie-backports/contrib armhf Packages 404 Not Found [IP: 151.101.14.133 80] Get:58 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B] Err http://httpredir.debian.org jessie-backports/non-free armhf Packages 404 Not Found [IP: 151.101.14.133 80] Get:59 http://apt.armbian.com jessie/jessie-desktop Translation-en_US.UTF-8 [178 B] Get:60 http://apt.armbian.com jessie/main Translation-en_US [178 B] Get:61 http://apt.armbian.com jessie/main Translation-en [178 B] Get:62 http://apt.armbian.com jessie/main Translation-en_US.UTF-8 [178 B] Get:63 http://apt.armbian.com jessie/utils Translation-en_US [178 B] Get:64 http://apt.armbian.com jessie/utils Translation-en [178 B] Get:65 http://apt.armbian.com jessie/utils Translation-en_US.UTF-8 [178 B] Get:66 http://apt.armbian.com jessie/main armhf Packages [178 B] Get:67 http://apt.armbian.com jessie/utils armhf Packages [178 B] Get:68 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B] Get:69 http://apt.armbian.com jessie/jessie-desktop Translation-en_US [178 B] Get:70 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B] Get:71 http://apt.armbian.com jessie/jessie-desktop Translation-en_US.UTF-8 [178 B] Get:72 http://apt.armbian.com jessie/main Translation-en_US [178 B] Get:73 http://apt.armbian.com jessie/main Translation-en [178 B] Get:74 http://apt.armbian.com jessie/main Translation-en_US.UTF-8 [178 B] Get:75 http://apt.armbian.com jessie/utils Translation-en_US [178 B] Get:76 http://apt.armbian.com jessie/utils Translation-en [178 B] Get:77 http://apt.armbian.com jessie/utils Translation-en_US.UTF-8 [178 B] Get:78 http://apt.armbian.com jessie/main armhf Packages [178 B] Err http://apt.armbian.com jessie/main armhf Packages Get:79 http://apt.armbian.com jessie/utils armhf Packages [178 B] Err http://apt.armbian.com jessie/utils armhf Packages Get:80 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B] Err http://apt.armbian.com jessie/jessie-desktop armhf Packages Get:81 http://apt.armbian.com jessie/jessie-desktop Translation-en_US [178 B] Ign http://apt.armbian.com jessie/jessie-desktop Translation-en_US Get:82 http://apt.armbian.com jessie/jessie-desktop Translation-en [178 B] Ign http://apt.armbian.com jessie/jessie-desktop Translation-en Get:83 http://apt.armbian.com jessie/jessie-desktop Translation-en_US.UTF-8 [178 B] Ign http://apt.armbian.com jessie/jessie-desktop Translation-en_US.UTF-8 Get:84 http://apt.armbian.com jessie/main Translation-en_US [178 B] Ign http://apt.armbian.com jessie/main Translation-en_US Get:85 http://apt.armbian.com jessie/main Translation-en [178 B] Ign http://apt.armbian.com jessie/main Translation-en Get:86 http://apt.armbian.com jessie/main Translation-en_US.UTF-8 [178 B] Ign http://apt.armbian.com jessie/main Translation-en_US.UTF-8 Get:87 http://apt.armbian.com jessie/utils Translation-en_US [178 B] Ign http://apt.armbian.com jessie/utils Translation-en_US Get:88 http://apt.armbian.com jessie/utils Translation-en [178 B] Ign http://apt.armbian.com jessie/utils Translation-en Get:89 http://apt.armbian.com jessie/utils Translation-en_US.UTF-8 [178 B] Ign http://apt.armbian.com jessie/utils Translation-en_US.UTF-8 Get:90 http://apt.armbian.com jessie/main armhf Packages [178 B] Err http://apt.armbian.com jessie/main armhf Packages HttpError404 Get:91 http://apt.armbian.com jessie/utils armhf Packages [178 B] Err http://apt.armbian.com jessie/utils armhf Packages HttpError404 Get:92 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B] Err http://apt.armbian.com jessie/jessie-desktop armhf Packages HttpError404 Fetched 1.005 B in 20s (48 B/s) W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/main/binary-armhf/Packages 404 Not Found [IP: 151.101.14.133 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/contrib/binary-armhf/Packages 404 Not Found [IP: 151.101.14.133 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/non-free/binary-armhf/Packages 404 Not Found [IP: 151.101.14.133 80] W: Failed to fetch http://apt.armbian.com/dists/jessie/main/binary-armhf/Packages HttpError404 W: Failed to fetch http://apt.armbian.com/dists/jessie/utils/binary-armhf/Packages HttpError404 W: Failed to fetch http://apt.armbian.com/dists/jessie/jessie-desktop/binary-armhf/Packages HttpError404 E: Some index files failed to download. They have been ignored, or old ones used instead. Error executing command, exiting io@Bananapi:/opt/iobroker$ sudo apt-get install -y nodejs Reading package lists... Done Building dependency tree Reading state information... Done nodejs is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. io@Bananapi:/opt/iobroker$
"nodejs is already the newest version." somit müsste ich anscheinend erst Mal die apt-Quellen ändern und das System auf Armbian Stretch upgraden etc .... mal sehen, ob das klappt.
-
@Kuki
und warum auf Stretch, wenn Du Dir schon die Mühe machst? Buster ist aktuell, oder willst von uralt auf alt wechseln? -
@Jan1
Weil ich diese Anleitung gefunden habe (https://forum.armbian.com/topic/5840-upgrade-jessie-to-stretch/). Läuft noch, es scheint aber momentan zu funktionieren. Ob ich danach noch auf Buster upgrade, mal sehen. Erst Mal noch vorher der Versuch, node upzugraden. -
@Kuki
Buster hat 10 eh mit drin, kannst also das Upgrade sparen oder gleich auf 12 hoch.
Die Anleitung ist von 2017 -
@Kuki
Ich habe spaßeshalber auch versucht einige meiner Installationen von Jessie über stretch auf Buster zu bringen oder direkt auf Buster.
Der Aufwand ist definitiv enorm, der Erfolg war nicht überall gegeben.Mein weiteres Vorgehen war:
- Backup ziehen
- neue SD-Karte (ist immer gut!)
- Neuinstallation
- Restore des Backups
- Fertig!
-
@Homoran
wäre mein nächster Vorschlag gewesen, da der Aufwand einer Neuinstallation eher gering ausfällt, man aber sicher sein kann, keine alten Fehler mehr mit drin zu haben -
@Jan1 und @Homoran
Ich lasse es derweil auf Stretch. Danke für Eure Tipps! Vielleicht dann in ein paar Wochen eine Neuinstallation dann auf Buster. Mal sehen.@AlCalzone
2. Erledigt. node ist auf v10.19.0
3. Hat einige Fehler geworfen, siehe Log, ist aber anscheinend geglückt. Im Webinterface wird Installed: 2.2.9 angezeigt.login as: io io@192.168.0.95's password: ____ ____ _ | __ ) __ _ _ __ __ _ _ __ __ _ | _ \(_) | _ \ / _` | '_ \ / _` | '_ \ / _` | | |_) | | | |_) | (_| | | | | (_| | | | | (_| | | __/| | |____/ \__,_|_| |_|\__,_|_| |_|\__,_| |_| |_| Welcome to ARMBIAN 5.36 user-built Debian GNU/Linux 9 (stretch) 4.13.16-sunxi Linux Bananapi 4.13.16-sunxi #20 SMP Fri Nov 24 19:50:07 CET 2017 armv7l System load: 1.57 0.42 0.14 Up time: 0 min Memory usage: 15 % of 992MB IP: 192.168.0.95 CPU temp: 46°C Usage of /: 81% of 3.5G [ General system configuration (beta): armbian-config ] Last login: Sun Mar 8 14:17:34 2020 from 192.168.0.100 io@Bananapi:~$ top top - 14:27:33 up 1 min, 1 user, load average: 3,47, 1,00, 0,35 Tasks: 101 total, 6 running, 95 sleeping, 0 stopped, 0 zombie %Cpu(s): 87,2 us, 12,8 sy, 0,0 ni, 0,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem : 1016576 total, 394460 free, 441092 used, 181024 buff/cache KiB Swap: 131068 total, 131068 free, 0 used. 551296 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1107 root 20 0 173172 87188 25440 R 46,3 8,6 0:17.61 iobroker.j+ 1327 root 20 0 95344 39340 24804 S 31,7 3,9 0:03.22 node 1345 root 20 0 88436 32004 23956 R 31,7 3,1 0:01.67 node 1334 root 20 0 91120 35972 24088 R 30,1 3,5 0:02.56 node 1296 root 20 0 141736 45904 24888 S 15,2 4,5 0:04.30 node 1130 root 20 0 160152 70036 25252 R 14,6 6,9 0:11.97 io.admin.0 1239 root 20 0 173360 82628 25088 S 8,7 8,1 0:11.28 io.javascr+ 1373 root 20 0 80840 23104 20860 R 7,8 2,3 0:00.24 node 15 root 20 0 0 0 0 S 6,5 0,0 0:05.04 kworker/1:0 113 root 20 0 0 0 0 S 1,6 0,0 0:01.91 mmcqd/0 604 redis 20 0 33484 4640 1800 S 1,6 0,5 0:00.64 redis-serv+ 1238 io 20 0 8988 3168 2728 R 1,0 0,3 0:00.40 top 8 root 20 0 0 0 0 S 0,3 0,0 0:00.21 rcu_sched 205 root 20 0 24528 3840 3424 S 0,3 0,4 0:01.57 systemd-jo+ 726 mysql 20 0 621624 64648 11276 S 0,3 6,4 0:00.84 mysqld 1215 io 20 0 9656 3336 2628 S 0,3 0,3 0:00.03 sshd 1281 root 20 0 132692 45616 24924 S 0,3 4,5 0:05.28 node io@Bananapi:~$ top top - 14:28:10 up 2 min, 1 user, load average: 4,80, 1,67, 0,60 Tasks: 148 total, 5 running, 100 sleeping, 0 stopped, 43 zombie %Cpu(s): 80,2 us, 18,0 sy, 0,0 ni, 0,0 id, 0,3 wa, 0,0 hi, 1,4 si, 0,0 st KiB Mem : 1016576 total, 192224 free, 623248 used, 201104 buff/cache KiB Swap: 131068 total, 131068 free, 0 used. 369168 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1497 root 20 0 88640 34372 24192 R 74,0 3,4 0:02.96 npm 1399 root 20 0 135508 39868 25564 R 25,3 3,9 0:06.25 io.info.0 1107 root 20 0 213256 128508 25444 S 11,7 12,6 0:27.08 iobroker.j+ 1373 root 20 0 150208 48764 25700 R 10,1 4,8 0:09.08 io.alexa2.0 15 root 20 0 0 0 0 S 9,7 0,0 0:07.86 kworker/1:0 1239 root 20 0 195084 106852 25088 R 6,8 10,5 0:15.76 io.javascr+ 377 root 20 0 88172 12968 10868 S 5,5 1,3 0:00.95 NetworkMan+ 604 redis 20 0 33484 4820 1800 S 4,2 0,5 0:01.49 redis-serv+ 325 message+ 20 0 5312 2672 2312 S 3,2 0,3 0:00.64 dbus-daemon 1130 root 20 0 181656 93932 25316 S 3,2 9,2 0:20.84 io.admin.0 1281 root 20 0 156788 57028 25744 S 1,6 5,6 0:08.37 io.cloud.0 1450 io 20 0 9120 3080 2644 R 1,6 0,3 0:00.25 top 1296 root 20 0 142920 48012 25904 S 1,3 4,7 0:05.62 io.pushbul+ 1334 root 20 0 134348 47560 24960 S 1,0 4,7 0:06.59 io.harmony+ 205 root 20 0 24528 3840 3424 S 0,6 0,4 0:01.75 systemd-jo+ 14 root 20 0 0 0 0 S 0,3 0,0 0:00.11 ksoftirqd/1 113 root 20 0 0 0 0 S 0,3 0,0 0:02.36 mmcqd/0 io@Bananapi:~$ su Password: root@Bananapi:/home/io# iobroker stop Stopping iobroker controller daemon... iobroker controller daemon stopped. No "killall.sh" script found. Just stop. root@Bananapi:/home/io# cd /opt/iobroker root@Bananapi:/opt/iobroker# npm i iobroker.js-controller@stable npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. > iobroker.js-controller@2.2.9 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.13.4 > bufferutil@1.1.0 install /opt/iobroker/node_modules/bufferutil > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/bufferutil/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); } ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10052:16: note: declared here Local<Integer> Value::ToInteger() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:34:64: error: no matching function for call to ‘v8::Integer::ToInt32()’ To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const Local<Int32> ToInt32(Isolate* isolate) const); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:39:65: error: no matching function for call to ‘v8::Integer::ToUint32()’ To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2435:44: note: candidate expects 1 argument, 0 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’: ../node_modules/nan/nan_implementation_12_inl.h:49:38: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:5035:23: note: candidate: static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool) static Local<Value> New(Isolate* isolate, bool value); ^~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’: ../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:166:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:173:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’: ../node_modules/nan/nan_implementation_12_inl.h:206:42: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’ v8::String::kNormalString, length); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte( ^~~~~~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2802:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’: ../node_modules/nan/nan_implementation_12_inl.h:217:66: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2861:21: note: candidate: static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*) Local<String> NewExternal(Isolate* isolate, ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2861:21: note: no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’ Local<String> NewExternal(Isolate* isolate, ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:237:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:244:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’: ../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ? optionsObj->Get(opt)->Uint32Value() ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’ NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) { ^~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) { ^~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’: ../node_modules/nan/nan.h:289:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’? return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:473:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ v8::Isolate::GCEpilogueCallback callback ^~ ../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~ ../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback) { ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:479:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ v8::Isolate::GCEpilogueCallback callback) { ^~ ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ v8::Isolate::GCPrologueCallback callback ^~ ../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~ ../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback) { ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:490:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ v8::Isolate::GCPrologueCallback callback) { ^~ ../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^ ../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’: ../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope _NanWeakCallbackInfo<T, P> *info = data.GetParameter(); ^~~~ ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared , node::smalloc::FreeCallback callback ^~~~~~~ ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’ , node::smalloc::FreeCallback callback ^~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’: ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~~~~~ ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’: ../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ^ In file included from ../src/bufferutil.cc:10:0: /root/.cache/node-gyp/10.19.0/include/node/node_buffer.h:68:40: note: initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’ NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, ^~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h:672:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’: ../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’: ../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’ return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size); ^~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan.h:710:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’: ../node_modules/nan/nan.h:717:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’: ../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->BindToCurrentContext()->Run(); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’: ../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->Run(); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:738: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 ../src/bufferutil.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /root/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:747: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 ../src/bufferutil.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /root/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:756: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 ../src/bufferutil.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /root/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) cons ’: ../node_modules/nan/nan.h:1569: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] )); ^ ../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~ In file included from ../src/bufferutil.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /root/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’: ../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value> ’: ../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] NanAssignPersistent(t_, t->ToObject()); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handle<v8::Object>)’: ../src/bufferutil.cc:30:52: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask); ^ In file included from ../src/bufferutil.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc:31:48: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "mask", BufferUtil::Mask); ^ In file included from ../src/bufferutil.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc:32:50: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "merge", BufferUtil::Merge); ^ In file included from ../src/bufferutil.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Merge(const v8::FunctionCallbackInfo<v8::Value>&)’: ../src/bufferutil.cc:49:49: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> bufferObj = args[0]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> src = array->Get(i)->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Unmask(const v8::FunctionCallbackInfo<v8::Value>&)’: ../src/bufferutil.cc:67:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:69:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Mask(const v8::FunctionCallbackInfo<v8::Value>&)’: ../src/bufferutil.cc:88:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:89:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:91:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> output_obj = args[2]->ToObject(); ^ In file included from ../src/bufferutil.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/bufferutil.cc:92:51: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int dataOffset = args[3]->Int32Value(); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/bufferutil.cc:93:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int length = args[4]->Int32Value(); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ bufferutil.target.mk:103: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/bufferutil/build' 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:191: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.13.16-sunxi 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/bufferutil gyp ERR! node -v v10.19.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build' CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build' > utf-8-validate@1.1.0 install /opt/iobroker/node_modules/utf-8-validate > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/utf-8-validate/build' CXX(target) Release/obj.target/validation/src/validation.o In file included from ../node_modules/nan/nan.h:82:0, from ../src/validation.cc:15: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); } ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10052:16: note: declared here Local<Integer> Value::ToInteger() const { ^~~~~ In file included from ../node_modules/nan/nan.h:82:0, from ../src/validation.cc:15: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:34:64: error: no matching function for call to ‘v8::Integer::ToInt32()’ To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const Local<Int32> ToInt32(Isolate* isolate) const); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan.h:82:0, from ../src/validation.cc:15: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’: ../node_modules/nan/nan_new.h:39:65: error: no matching function for call to ‘v8::Integer::ToUint32()’ To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2435:44: note: candidate expects 1 argument, 0 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’: ../node_modules/nan/nan_implementation_12_inl.h:49:38: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:5035:23: note: candidate: static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool) static Local<Value> New(Isolate* isolate, bool value); ^~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’: ../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:166:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:173:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’: ../node_modules/nan/nan_implementation_12_inl.h:206:42: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’ v8::String::kNormalString, length); ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int) static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte( ^~~~~~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2802:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’: ../node_modules/nan/nan_implementation_12_inl.h:217:66: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2861:21: note: candidate: static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*) Local<String> NewExternal(Isolate* isolate, ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:2861:21: note: no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’ Local<String> NewExternal(Isolate* isolate, ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82, from ../src/validation.cc:15: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:237:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan_implementation_12_inl.h:244:10: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’: ../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ? optionsObj->Get(opt)->Uint32Value() ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’ NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) { ^~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) { ^~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’: ../node_modules/nan/nan.h:289:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’? return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:473:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ v8::Isolate::GCEpilogueCallback callback ^~ ../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~ ../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback) { ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:479:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ v8::Isolate::GCEpilogueCallback callback) { ^~ ../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:484:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ v8::Isolate::GCPrologueCallback callback ^~ ../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~ ../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback) { ^~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:490:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’ v8::Isolate::GCPrologueCallback callback) { ^~ ../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^ ../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’: ../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope _NanWeakCallbackInfo<T, P> *info = data.GetParameter(); ^~~~ ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared , node::smalloc::FreeCallback callback ^~~~~~~ ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’ , node::smalloc::FreeCallback callback ^~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’: ../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~~~~~ ../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’: ../node_modules/nan/nan.h:672:67: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ^ In file included from ../src/validation.cc:10:0: /root/.cache/node-gyp/10.19.0/include/node/node_buffer.h:68:40: note: initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’ NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, ^~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h:672:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’: ../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’: ../node_modules/nan/nan.h:683:12: error: ‘Use’ is not a member of ‘node::Buffer’ return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size); ^~~~ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’: ../node_modules/nan/nan.h:710:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’: ../node_modules/nan/nan.h:717:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&) static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’: ../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->BindToCurrentContext()->Run(); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’: ../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->Run(); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:738: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 ../src/validation.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /root/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:747: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 ../src/validation.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /root/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’: ../node_modules/nan/nan.h:756: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 ../src/validation.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /root/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) cons ’: ../node_modules/nan/nan.h:1569: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] )); ^ ../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~ In file included from ../src/validation.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /root/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’: ../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^ In file included from /root/.cache/node-gyp/10.19.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /root/.cache/node-gyp/10.19.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /root/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value> ’: ../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] NanAssignPersistent(t_, t->ToObject()); ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/validation.cc: In static member function ‘static void Validation::Initialize(v8::Handle<v8::Object>)’: ../src/validation.cc:112:62: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8); ^ In file included from ../src/validation.cc:8:0: /root/.cache/node-gyp/10.19.0/include/node/node.h:372:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~ /root/.cache/node-gyp/10.19.0/include/node/node.h:386:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~ ../src/validation.cc: In static member function ‘static void Validation::IsValidUTF8(const v8::FunctionCallbackInfo<v8::Value>&)’: ../src/validation.cc:132:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^ In file included from ../src/validation.cc:7:0: /root/.cache/node-gyp/10.19.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ validation.target.mk:103: recipe for target 'Release/obj.target/validation/src/validation.o' failed make: *** [Release/obj.target/validation/src/validation.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/utf-8-validate/build' 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:191: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.13.16-sunxi 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/utf-8-validate gyp ERR! node -v v10.19.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok > iobroker.js-controller@2.2.9 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first object system.certificates updated object 0_userdata.0.example_state created object 0_userdata.0 created object alias.0 created ioBroker configuration updated npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.4 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself. npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 + iobroker.js-controller@2.2.9 added 242 packages from 654 contributors, removed 85 packages, updated 38 packages, moved 14 packages and audited 3773 packages in 350.477s 8 packages are looking for funding run `npm fund` for details found 109 vulnerabilities (43 low, 12 moderate, 54 high) run `npm audit fix` to fix them, or `npm audit` for details ╭────────────────────────────────────────────────────────────────╮ │ │ │ New minor version of npm available! 6.13.4 → 6.14.2 │ │ Changelog: https://github.com/npm/cli/releases/tag/v6.14.2 │ │ Run npm install -g npm to update! │ │ │ ╰────────────────────────────────────────────────────────────────╯ root@Bananapi:/opt/iobroker#
- "iobroker fix" klappt nicht, listet nur die iobroker-Hilfe/Parameter auf. Soll ich "curl -sL https://iobroker.net/fix.sh | bash -" versuchen?
-
@Kuki sagte in iobroker auf BananaPi M1 startet nach Update nicht mehr:
"iobroker fix" klappt nicht
den Befehl gibt es ja auch nicht
@Kuki sagte in iobroker auf BananaPi M1 startet nach Update nicht mehr:
curl -sL https://iobroker.net/fix.sh | bash -
wäre richtig
-
@Homoran
Siehe AlCalzones Beitrag oben, da schreibt er den Befehl selbst und dieser wird auch in der iobroker-Parameter-Hilfe genannt.
Aber ich versuche nun den o.g. Curl/bash-Befehl als root und berichte dann hier wieder.
DAnke! -
Fixer ist sauber durchgelaufen. Ich bin also nun wieder "up to date", was iobroker angeht. DANKE!
-
@Homoran sagte in iobroker auf BananaPi M1 startet nach Update nicht mehr:
den Befehl gibt es ja auch nicht
Doch! Allerdings muss die Installation dazu halbwegs aktuell sein, bzw. ein halbwegs aktueller Fixer muss 1x gelaufen sein. Im vorliegenden Fall muss(te) also 1x der curl-Befehl von Hand abgesetzt werden.