NEWS
SOLVED XBox-Adapter Fehler
-
@foxriver76 sagte in XBox-Adapter Fehler:
sudo apt install -y build-essential libssl-dev libffi-dev python3-dev
root@iobroker:/opt/iobroker# sudo apt install -y build-essential libssl-dev libffi-dev python3-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paket python3-dev ist nicht verfügbar, wird aber von einem anderen Paket referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst wurde oder nur aus einer anderen Quelle verfügbar ist. E: Paket libssl-dev kann nicht gefunden werden. E: Paket libffi-dev kann nicht gefunden werden. E: Für Paket »python3-dev« existiert kein Installationskandidat.
-
@Negalein Du hast nur den Adapter aktualisiert, kein neues Docker Image oder so? Ist das Debian Stretch?
-
@foxriver76 sagte in XBox-Adapter Fehler:
Du hast nur den Adapter aktualisiert, kein neues Docker Image oder so?
Ja, nur das Update vom Adapter gemacht
Ist das Debian Stretch?
da hab ich leider keine Ahnung
vielleicht hilft dir das noch weiter.
Ich verwende JS-Controller 2.1.1 -
@Negalein Merkwürdig, dann müsste ja alles drauf sein und dass er die Pakete alle net findet ist auch Strange.was kommt denn bei
apt update
raus? -
@foxriver76 sagte in XBox-Adapter Fehler:
was kommt denn bei apt update raus?
root@iobroker:/opt/iobroker# apt update Ign:1 http://deb.debian.org/debian stretch InRelease Holen:2 http://security.debian.org/debian-security stretch/updates InRelease [94,3 kB] Holen:3 http://deb.debian.org/debian stretch-updates InRelease [91,0 kB] Holen:4 http://deb.debian.org/debian stretch Release [118 kB] Holen:5 https://deb.nodesource.com/node_10.x stretch InRelease [4.585 B] Holen:6 http://deb.debian.org/debian stretch Release.gpg [2.365 B] Holen:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [513 kB] Holen:8 http://deb.debian.org/debian stretch-updates/main amd64 Packages [27,9 kB] Holen:9 https://deb.nodesource.com/node_10.x stretch/main amd64 Packages [766 B] Holen:10 http://deb.debian.org/debian stretch/main amd64 Packages [7.086 kB] Es wurden 7.938 kB in 4 s geholt (1.805 kB/s). Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 11 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
-
@Negalein
apt list --upgradeable
und mach nochmalapt install -y build-essential libssl-dev libffi-dev python3-dev
nach dem Update jetzt wobei er die Paketlisten davor aktualisiert haben sollte -
@foxriver76 sagte in XBox-Adapter Fehler:
apt list --upgradeable und mach nochmal apt install -y build-essential libssl-dev libffi-dev python3-dev
jetzt wurde einiges nachinstalliert.
Aber hier findet er auch noch nichts
root@iobroker:/opt/iobroker# pip3 show marshmallow-objects bash: pip3: Kommando nicht gefunden. root@iobroker:/opt/iobroker# pip show marshmallow-objects bash: pip: Kommando nicht gefunden. root@iobroker:/opt/iobroker#
Adapter bleibt gelb
xbox.0 2020-01-17 22:36:18.260 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:18.259 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:17.256 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:17.256 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:16.253 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:16.252 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:15.249 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:15.248 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:14.245 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:14.245 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:13.241 warn (13972) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:13.240 debug (13972) Could not parse body xbox.0 2020-01-17 22:36:13.231 debug (13972) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:36:08.388 error (13972) [START] Restarting adapter in 30 seconds xbox.0 2020-01-17 22:36:08.388 error SyntaxError: invalid syntax xbox.0 2020-01-17 22:36:08.388 error ^ xbox.0 2020-01-17 22:36:08.388 error cls, data, context=None, many=None, partial=None, unknown=None, *args, **kwargs, xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/models.py", line 209 xbox.0 2020-01-17 22:36:08.388 error from marshmallow_objects.models import ( # noqa xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/__init__.py", line 3, in <module> xbox.0 2020-01-17 22:36:08.388 error from marshmallow_objects import Model, NestedModel, fields xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/json_model.py", line 4, in <module> xbox.0 2020-01-17 22:36:08.388 error from xbox.stump import json_model xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/manager.py", line 13, in <module> xbox.0 2020-01-17 22:36:08.388 error from xbox.stump.manager import StumpManager xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/consolewrap.py", line 6, in <module> xbox.0 2020-01-17 22:36:08.388 error from ..consolewrap import ConsoleWrap xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/device.py", line 6, in <module> xbox.0 2020-01-17 22:36:08.388 error from .device import * xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/__init__.py", line 6, in <module> xbox.0 2020-01-17 22:36:08.388 error from .routes import routes xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/app.py", line 5, in <module> xbox.0 2020-01-17 22:36:08.388 error from xbox.rest.app import app xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/scripts/rest_server.py", line 9, in <module> xbox.0 2020-01-17 22:36:08.388 error from xbox.rest.scripts.rest_server import main xbox.0 2020-01-17 22:36:08.388 error File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 5, in <module> xbox.0 2020-01-17 22:36:08.388 error Traceback (most recent call last): xbox.0 2020-01-17 22:36:08.388 error (13972) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found xbox.0 2020-01-17 22:36:06.667 info (13972) [START] Starting REST server xbox.0 2020-01-17 22:36:06.667 debug (13972) [START] IP address is 10.0.1.83 xbox.0 2020-01-17 22:36:06.643 info (13972) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-17 22:36:04.231 debug (13972) States connected to redis: 0.0.0.0:9000 xbox.0 2020-01-17 22:36:04.158 debug (13972) statesDB connected xbox.0 2020-01-17 22:36:04.157 debug (13972) States create PubSub Client xbox.0 2020-01-17 22:36:04.147 debug (13972) Objects connected to redis: 0.0.0.0:9001 xbox.0 2020-01-17 22:36:04.145 debug (13972) Redis States: Use Redis connection: 0.0.0.0:9000 xbox.0 2020-01-17 22:36:04.143 debug (13972) objectDB connected xbox.0 2020-01-17 22:36:04.131 debug (13972) Objects client initialize lua scripts xbox.0 2020-01-17 22:36:04.130 debug (13972) Objects create PubSub Client xbox.0 2020-01-17 22:36:04.119 debug (13972) Objects client ready ... initialize now xbox.0 2020-01-17 22:36:04.085 debug (13972) Redis Objects: Use Redis connection: 0.0.0.0:9001 xbox.0 2020-01-17 22:36:00.633 info (13512) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason xbox.0 2020-01-17 22:36:00.632 info (13512) terminating xbox.0 2020-01-17 22:36:00.631 info (13512) [END] cleaned everything up... xbox.0 2020-01-17 22:36:00.617 info (13512) [END] REST server stopped xbox.0 2020-01-17 22:36:00.604 debug (13512) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:36:00.595 info (13512) Got terminate signal TERMINATE_YOURSELF xbox.0 2020-01-17 22:36:00.460 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:36:00.459 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:59.456 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:59.455 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:59.352 debug (13512) [CHECK] Auth is not established xbox.0 2020-01-17 22:35:59.351 debug (13512) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:35:59.350 debug (13512) [CONNECT] Check connection xbox.0 2020-01-17 22:35:59.349 error (13512) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:35:59.346 debug (13512) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:35:59.343 debug (13512) [PING] Xbox online xbox.0 2020-01-17 22:35:58.450 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:58.449 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:57.447 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:57.447 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:56.443 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:56.443 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:55.440 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:55.439 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:54.437 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:54.437 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:53.433 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:53.433 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:53.354 debug (13512) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:35:53.353 debug (13512) [CONNECT] Check connection xbox.0 2020-01-17 22:35:53.352 error (13512) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:35:53.348 debug (13512) [CHECK] Auth is not established xbox.0 2020-01-17 22:35:53.346 debug (13512) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:35:53.341 debug (13512) [PING] Xbox online xbox.0 2020-01-17 22:35:52.430 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:52.429 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:51.427 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:51.427 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:50.425 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:50.425 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:49.422 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:49.421 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:48.419 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:48.418 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:47.416 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:47.416 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:47.354 debug (13512) [CHECK] Auth is not established xbox.0 2020-01-17 22:35:47.352 debug (13512) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:35:47.352 debug (13512) [CONNECT] Check connection xbox.0 2020-01-17 22:35:47.351 error (13512) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:35:47.345 debug (13512) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:35:47.344 debug (13512) [PING] Xbox online xbox.0 2020-01-17 22:35:46.412 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:46.412 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:45.409 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:45.409 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:44.406 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:44.405 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:43.402 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:43.402 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:42.399 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:42.398 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:41.396 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:41.395 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:41.364 debug (13512) [CHECK] Auth is not established xbox.0 2020-01-17 22:35:41.362 warn (13512) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:35:41.361 debug (13512) [CONNECT] Check connection xbox.0 2020-01-17 22:35:41.359 error (13512) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:35:41.353 debug (13512) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:35:41.349 debug (13512) [PING] Xbox online xbox.0 2020-01-17 22:35:40.393 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:40.392 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:39.390 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:39.389 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:38.386 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:38.386 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:37.382 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:37.382 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:36.379 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:36.379 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:35.376 warn (13512) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:35:35.375 debug (13512) Could not parse body xbox.0 2020-01-17 22:35:35.362 debug (13512) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:35:30.570 error (13512) [START] Restarting adapter in 30 seconds xbox.0 2020-01-17 22:35:30.569 error SyntaxError: invalid syntax xbox.0 2020-01-17 22:35:30.569 error ^ xbox.0 2020-01-17 22:35:30.569 error cls, data, context=None, many=None, partial=None, unknown=None, *args, **kwargs, xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/models.py", line 209 xbox.0 2020-01-17 22:35:30.569 error from marshmallow_objects.models import ( # noqa xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/__init__.py", line 3, in <module> xbox.0 2020-01-17 22:35:30.569 error from marshmallow_objects import Model, NestedModel, fields xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/json_model.py", line 4, in <module> xbox.0 2020-01-17 22:35:30.569 error from xbox.stump import json_model xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/manager.py", line 13, in <module> xbox.0 2020-01-17 22:35:30.569 error from xbox.stump.manager import StumpManager xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/consolewrap.py", line 6, in <module> xbox.0 2020-01-17 22:35:30.569 error from ..consolewrap import ConsoleWrap xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/device.py", line 6, in <module> xbox.0 2020-01-17 22:35:30.569 error from .device import * xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/__init__.py", line 6, in <module> xbox.0 2020-01-17 22:35:30.569 error from .routes import routes xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/app.py", line 5, in <module> xbox.0 2020-01-17 22:35:30.569 error from xbox.rest.app import app xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/scripts/rest_server.py", line 9, in <module> xbox.0 2020-01-17 22:35:30.569 error from xbox.rest.scripts.rest_server import main xbox.0 2020-01-17 22:35:30.569 error File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 5, in <module> xbox.0 2020-01-17 22:35:30.569 error Traceback (most recent call last): xbox.0 2020-01-17 22:35:30.569 error (13512) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found xbox.0 2020-01-17 22:35:28.778 info (13512) [START] Starting REST server xbox.0 2020-01-17 22:35:28.777 debug (13512) [START] IP address is 10.0.1.83 xbox.0 2020-01-17 22:35:28.744 info (13512) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-17 22:35:26.261 debug (13512) States connected to redis: 0.0.0.0:9000 xbox.0 2020-01-17 22:35:26.209 debug (13512) statesDB connected xbox.0 2020-01-17 22:35:26.208 debug (13512) States create PubSub Client xbox.0 2020-01-17 22:35:26.198 debug (13512) Objects connected to redis: 0.0.0.0:9001 xbox.0 2020-01-17 22:35:26.195 debug (13512) Redis States: Use Redis connection: 0.0.0.0:9000 xbox.0 2020-01-17 22:35:26.193 debug (13512) objectDB connected xbox.0 2020-01-17 22:35:26.181 debug (13512) Objects client initialize lua scripts xbox.0 2020-01-17 22:35:26.180 debug (13512) Objects create PubSub Client xbox.0 2020-01-17 22:35:26.171 debug (13512) Objects client ready ... initialize now xbox.0 2020-01-17 22:35:26.132 debug (13512) Redis Objects: Use Redis connection: 0.0.0.0:9001 xbox.0 2020-01-17 22:34:50.623 info (13026) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason xbox.0 2020-01-17 22:34:50.580 info (13026) [END] cleaned everything up... xbox.0 2020-01-17 22:34:50.553 error (13026) [START] Restarting adapter in 30 seconds xbox.0 2020-01-17 22:34:50.552 error (13026) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found xbox.0 2020-01-17 22:34:50.549 info (13026) [END] REST server stopped xbox.0 2020-01-17 22:34:50.531 debug (13026) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:34:49.348 info (13026) [START] Starting REST server xbox.0 2020-01-17 22:34:49.348 debug (13026) [START] IP address is 10.0.1.83 xbox.0 2020-01-17 22:34:49.325 info (13026) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-17 22:34:48.503 info (13026) Got terminate signal TERMINATE_YOURSELF xbox.0 2020-01-17 22:34:46.717 debug (13026) States connected to redis: 0.0.0.0:9000 xbox.0 2020-01-17 22:34:46.664 debug (13026) statesDB connected xbox.0 2020-01-17 22:34:46.663 debug (13026) States create PubSub Client xbox.0 2020-01-17 22:34:46.632 debug (13026) Objects connected to redis: 0.0.0.0:9001 xbox.0 2020-01-17 22:34:46.629 debug (13026) Redis States: Use Redis connection: 0.0.0.0:9000 xbox.0 2020-01-17 22:34:46.627 debug (13026) objectDB connected xbox.0 2020-01-17 22:34:46.615 debug (13026) Objects client initialize lua scripts xbox.0 2020-01-17 22:34:46.614 debug (13026) Objects create PubSub Client xbox.0 2020-01-17 22:34:46.606 debug (13026) Objects client ready ... initialize now xbox.0 2020-01-17 22:34:46.570 debug (13026) Redis Objects: Use Redis connection: 0.0.0.0:9001 xbox.0 2020-01-17 22:34:43.136 info (12526) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason xbox.0 2020-01-17 22:34:43.135 info (12526) terminating xbox.0 2020-01-17 22:34:43.135 info (12526) [END] cleaned everything up... xbox.0 2020-01-17 22:34:43.118 info (12526) [END] REST server stopped xbox.0 2020-01-17 22:34:43.105 debug (12526) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 22:34:43.099 info (12526) Got terminate signal TERMINATE_YOURSELF xbox.0 2020-01-17 22:34:42.947 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:42.946 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:41.941 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:41.939 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:41.853 debug (12526) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:34:41.852 debug (12526) [CONNECT] Check connection xbox.0 2020-01-17 22:34:41.851 error (12526) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:34:41.850 debug (12526) [CHECK] Auth is not established xbox.0 2020-01-17 22:34:41.848 debug (12526) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:34:41.838 debug (12526) [PING] Xbox online xbox.0 2020-01-17 22:34:40.937 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:40.936 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:39.934 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:39.934 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:38.931 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:38.930 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:37.928 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:37.927 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:36.924 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:36.923 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:35.920 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:35.920 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:35.843 debug (12526) [CHECK] Auth is not established xbox.0 2020-01-17 22:34:35.839 debug (12526) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:34:35.839 debug (12526) [CONNECT] Check connection xbox.0 2020-01-17 22:34:35.838 error (12526) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 22:34:35.834 debug (12526) [DISCOVER] Searching for consoles xbox.0 2020-01-17 22:34:35.831 debug (12526) [PING] Xbox online xbox.0 2020-01-17 22:34:34.918 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:34.918 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:33.915 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:33.914 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:32.912 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:32.912 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:31.909 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:31.909 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:30.905 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:30.905 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:29.894 warn (12526) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 22:34:29.894 debug (12526) Could not parse body xbox.0 2020-01-17 22:34:29.843 debug (12526) [CHECK] Auth is not established xbox.0 2020-01-17 22:34:29.839 debug (12526) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 22:34:29.839 debug (12526) [CONNECT] Check connection
-
@Negalein was sagt er denn jetzt bei
apt install -y build-essential libssl-dev libffi-dev python3-dev
? -
@foxriver76 sagte in XBox-Adapter Fehler:
was sagt er denn jetzt bei apt install -y build-essential libssl-dev libffi-dev python3-dev?
root@iobroker:/opt/iobroker# apt install -y build-essential libssl-dev libffi-dev python3-dev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig build-essential ist schon die neueste Version (12.3). libffi-dev ist schon die neueste Version (3.2.1-6). python3-dev ist schon die neueste Version (3.5.3-1). libssl-dev ist schon die neueste Version (1.1.0l-1~deb9u1). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 11 nicht aktualisiert. root@iobroker:/opt/iobroker#
-
@Negalein schon mal gut. Ja pip ist nicht installiert, ich habe da was über node mit ausgeliefert falls pip nicht existiert. Ich schaue mal wenn ich am PC bin wie man die Version herausfindet und downgradet.
Kannst nochmal ein reinstall des Adapters probieren, falls es an fehlenden Libs lag.
-
@foxriver76 sagte in XBox-Adapter Fehler:
Kannst nochmal ein reinstall des Adapters probieren, falls es an fehlenden Libs lag.
noch immer viele Fehler
$ ./iobroker url "https://github.com/foxriver76/ioBroker.xbox/tarball/master" xbox install https://github.com/foxriver76/ioBroker.xbox/tarball/master NPM version: 6.11.3 npm install https://github.com/foxriver76/ioBroker.xbox/tarball/master --loglevel error --prefix "/opt/iobroker" (System call) 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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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; ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.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); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 providedIn 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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.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, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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, ^/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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_t)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_t)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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.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>*) const’:../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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193: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.4.59+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/bufferutilgyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp ERR! not ok 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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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; ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.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); ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 providedIn 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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.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, ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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, ^/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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_t)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_t)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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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:/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn 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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.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>*) const’:../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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.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:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ make: *** [Release/obj.target/validation/src/validation.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193: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.4.59+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-validategyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp ERR! not ok ERROR: xbox-smartglass-core 1.0.12 has requirement urwid==2.0.1, but you'll have urwid 2.1.0 which is incompatible. upload [2] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/xbox.png xbox.png image/png upload [1] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/words.js words.js application/javascript upload [0] xbox.admin /opt/iobroker/node_modules/iobroker.xbox/admin/index_m.html index_m.html text/html process exited with code 0
-
@Negalein
Mach mal bitte eine händische Installation.rm -r /opt/iobroker/node_modules/iobroker.xbox/
npm i iobroker.xbox --unsafe-perm --prefix /opt/iobroker --production
-
@foxriver76 sagte in XBox-Adapter Fehler:
rm -r /opt/iobroker/node_modules/iobroker.xbox/
da kommt bei Enter nur eine neue Zeile. Sonst keine Meldung.
npm i iobroker.xbox --unsafe-perm --prefix /opt/iobroker --production
hier der Log (leider der Anfang abgeschnitten)
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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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_t)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_t)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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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>*) const’: ../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>*)’ isdeprecated: 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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ bufferutil.target.mk:105: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/bufferutil/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193: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.4.59+ 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.17.0 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok > utf-8-validate@1.1.0 install /opt/iobroker/node_modules/utf-8-validate > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/utf-8-validate/build“ wird betreten 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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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; ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.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); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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); ^~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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_t)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_t)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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^ In file included from ../src/validation.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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>*) const’: ../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>*)’ isdeprecated: 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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ validation.target.mk:105: die Regel für Ziel „Release/obj.target/validation/src/validation.o“ scheiterte make: *** [Release/obj.target/validation/src/validation.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/utf-8-validate/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193: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.4.59+ 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.17.0 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok > iobroker.xbox@0.5.12 install /opt/iobroker/node_modules/iobroker.xbox > npip install No python_modules directory; installing pip locally if needed. Successfully completed pip check. Collecting xbox-smartglass-rest>=0.9.8 Using cached https://files.pythonhosted.org/packages/4d/4f/f035df8a2ec5742b9e772071e006ea21aae3fc3bd0963753cfc1045d6fda/xbox_smartglass_rest-0.9.8-py2.py3-none-any.whl Collecting xbox-webapi>=1.1.7 Using cached https://files.pythonhosted.org/packages/2d/bf/aaf24cc78184393c5c2472e822c0e145b793e346a8085bee02e89a3428ba/xbox_webapi-1.1.7-py2.py3-none-any.whl Collecting xbox-smartglass-core>=1.0.12 Using cached https://files.pythonhosted.org/packages/13/c8/2ffce1ddabe5b73422c7c46e808e4b02dbbc9362d2ecd2aee2a65e6e30a5/xbox_smartglass_core-1.0.12-py2.py3-none-any.whl Collecting xbox-smartglass-stump>=0.9.5 Using cached https://files.pythonhosted.org/packages/34/f0/a75667f67ce6251b96a6989b8169eb9f2e25407ce2b0888e544b8caa98fe/xbox_smartglass_stump-0.9.5-py2.py3-none-any.whl Collecting Flask Using cached https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/49/b5/ad/7355506059779337473b8eeb49384c9c0a9d45d34c8211a96d/urwid-2.1.0-cp35-cp35m-linux_x86_64.whl Collecting appdirs Using cached https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl Collecting requests Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/c5/d2/ab/a54fb5ea53ac3badba098160e8452fa126a51febda80440ded/demjson-2.2.4-cp35-none-any.whl Processing /home/iobroker/.cache/pip/wheels/13/cd/02/acabe4bfa9899d53c3e3b13675610d2e2dcb9ae110359d4f61/construct-2.9.41-cp35-none-any.whl Collecting cryptography==2.3.1 Using cached https://files.pythonhosted.org/packages/59/32/92cade62c645756a83598edf56289e9b19aae5370642a7ce690cd06bc72f/cryptography-2.3.1-cp34-abi3-manylinux1_x86_64.whl Collecting gevent==1.3.7 Using cached https://files.pythonhosted.org/packages/87/c4/9afb40b4a8b9186787d477aa6ebcfa17ead40ecbf83d5a1ed53dadd4f6ef/gevent-1.3.7-cp35-cp35m-manylinux1_x86_64.whl Collecting aenum==2.1.2; python_version <= "3.5" Using cached https://files.pythonhosted.org/packages/0d/46/5b6a6c13fee40f9dfaba84de1394bfe082c0c7d95952ba0ffbd56ce3a3f7/aenum-2.1.2-py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/0a/5f/3c/e0ffceb6554711f12a7101384f29ec13b85136dfcf1f692b8f/dpkt-1.9.1-cp35-none-any.whl Collecting marshmallow-objects Using cached https://files.pythonhosted.org/packages/4d/1c/fe15bc370707e8f8db09ab0edead45ab413b75795a8be523ca6482152183/marshmallow_objects-2.0.0-py2.py3-none-any.whl Collecting Werkzeug>=0.15 Using cached https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl Collecting Jinja2>=2.10.1 Using cached https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl Collecting click>=5.1 Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl Collecting itsdangerous>=0.24 Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl Collecting chardet<3.1.0,>=3.0.2 Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Using cached https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl Collecting idna<2.9,>=2.5 Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl Collecting certifi>=2017.4.17 Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl Collecting cffi!=1.11.3,>=1.7 Using cached https://files.pythonhosted.org/packages/a8/8d/986e0c4e2aa3b24db56a0affc50d1a379150e3c4da45d51d549dc2697d53/cffi-1.13.2-cp35-cp35m-manylinux1_x86_64.whl Collecting asn1crypto>=0.21.0 Using cached https://files.pythonhosted.org/packages/e9/51/1db4a60049fb7390959be586b6eb743098e6cea3f6b2d3ed9e17fec62ba2/asn1crypto-1.3.0-py2.py3-none-any.whl Collecting six>=1.4.1 Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" Using cached https://files.pythonhosted.org/packages/2e/65/27f35497cc0102a792390d056e793e064da95fc9eae45d75ae0ba49c0a0d/greenlet-0.4.15-cp35-cp35m-manylinux1_x86_64.whl Collecting marshmallow>=3.0.0 Using cached https://files.pythonhosted.org/packages/6e/76/01224f14737627166b94eb3bf0e334372c014edca781e39db320ce977755/marshmallow-3.3.0-py2.py3-none-any.whl Collecting MarkupSafe>=0.23 Using cached https://files.pythonhosted.org/packages/6e/57/d40124076756c19ff2269678de7ae25a14ebbb3f6314eb5ce9477f191350/MarkupSafe-1.1.1-cp35-cp35m-manylinux1_x86_64.whl Processing /home/iobroker/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511/pycparser-2.19-py2.py3-none-any.whl ERROR: xbox-smartglass-core 1.0.12 has requirement urwid==2.0.1, but you'll have urwid 2.1.0 which is incompatible. Installing collected packages: urwid, appdirs, chardet, urllib3, idna, certifi, requests, demjson, xbox-webapi, construct, pycparser, cffi, asn1crypto, six, cryptography, greenlet, gevent, aenum, dpkt, xbox-smartglass-core, marshmallow, marshmallow-objects, xbox-smartglass-stump, Werkzeug, MarkupSafe, Jinja2, click, itsdangerous, Flask, xbox-smartglass-rest Successfully installed Flask-1.1.1 Jinja2-2.10.3 MarkupSafe-1.1.1 Werkzeug-0.16.0 aenum-2.1.2 appdirs-1.4.3 asn1crypto-1.3.0 certifi-2019.11.28 cffi-1.13.2 chardet-3.0.4 click-7.0 construct-2.9.41 cryptography-2.3.1 demjson-2.2.4 dpkt-1.9.1 gevent-1.3.7 greenlet-0.4.15 idna-2.8 itsdangerous-1.1.0 marshmallow-3.3.0 marshmallow-objects-2.0.0 pycparser-2.19 requests-2.22.0 six-1.14.0 urllib3-1.25.7 urwid-2.1.0 xbox-smartglass-core-1.0.12 xbox-smartglass-rest-0.9.8 xbox-smartglass-stump-0.9.5 xbox-webapi-1.1.7 npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-detector' 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 bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (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":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 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.xbox@0.5.12 added 3 packages from 3 contributors in 72.319s
Adapter bleibt gelb
xbox.0 2020-01-17 23:55:17.849 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:17.848 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:16.846 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:16.845 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:15.842 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:15.842 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:14.839 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:14.839 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:13.836 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:13.836 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:13.803 debug (1910) [CHECK] Auth is not established xbox.0 2020-01-17 23:55:13.800 debug (1910) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 23:55:13.799 debug (1910) [CONNECT] Check connection xbox.0 2020-01-17 23:55:13.789 error (1910) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 23:55:13.784 debug (1910) [DISCOVER] Searching for consoles xbox.0 2020-01-17 23:55:13.781 debug (1910) [PING] Xbox online xbox.0 2020-01-17 23:55:12.833 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:12.832 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:11.830 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:11.830 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:10.827 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:10.827 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:09.824 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:09.823 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:08.821 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:08.821 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:07.818 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:07.818 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:07.811 warn (1910) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-17 23:55:07.811 debug (1910) [CONNECT] Check connection xbox.0 2020-01-17 23:55:07.809 error (1910) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-17 23:55:07.806 debug (1910) [CHECK] Auth is not established xbox.0 2020-01-17 23:55:07.800 debug (1910) [DISCOVER] Searching for consoles xbox.0 2020-01-17 23:55:07.791 debug (1910) [PING] Xbox online xbox.0 2020-01-17 23:55:06.813 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:06.813 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:05.810 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:05.809 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:04.806 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:04.805 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:03.802 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:03.801 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:02.797 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:02.797 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:01.794 warn (1910) [LOGIN] Connection refused, will try again xbox.0 2020-01-17 23:55:01.794 debug (1910) Could not parse body xbox.0 2020-01-17 23:55:01.784 debug (1910) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-17 23:54:56.949 error (1910) [START] Restarting adapter in 30 seconds xbox.0 2020-01-17 23:54:56.949 error (1910) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found Traceback (most recent call last): File "/opt/iobroke xbox.0 2020-01-17 23:54:55.208 info (1910) [START] Starting REST server xbox.0 2020-01-17 23:54:55.208 debug (1910) [START] IP address is 10.0.1.83 xbox.0 2020-01-17 23:54:55.182 info (1910) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0
-
@Negalein sagte in XBox-Adapter Fehler:
ERROR: xbox-smartglass-core 1.0.12 has requirement urwid==2.0.1, but you'll have urwid 2.1.0 which is incompatible.
Evtl liegt es nur daran. Mal folgendes probieren:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
dannpython get-pip.py
dannpip install "urwid==2.0.1"
. Trotzdem strange, dassurwid
in der falschen Version drauf ist wobei nicht mal pip installiert ist und somit vermutlich keine Konflikte existieren sollten. Vermutlich könnten die Jungs vom Xbox-Rest-Server auch mit >=2.0.1 kompatibel sein. -
@foxriver76 sagte in XBox-Adapter Fehler:
Mal folgendes probieren: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py dann python get-pip.py dann pip install "urwid==2.0.1"
root@iobroker:/opt/iobroker# curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1734k 100 1734k 0 0 2644k 0 --:--:-- --:--:-- --:--:-- 2647k root@iobroker:/opt/iobroker# python get-pip.py DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting pip Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB) |████████████████████████████████| 1.4MB 1.1MB/s Collecting setuptools Downloading https://files.pythonhosted.org/packages/f9/d3/955738b20d3832dfa3cd3d9b07e29a8162edb480bf988332f5e6e48ca444/setuptools-44.0.0-py2.py3-none-any.whl (583kB) |████████████████████████████████| 583kB 3.1MB/s Collecting wheel Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl Installing collected packages: pip, setuptools, wheel Successfully installed pip-19.3.1 setuptools-44.0.0 wheel-0.33.6 root@iobroker:/opt/iobroker# pip install "urwid==2.0.1" DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting urwid==2.0.1 Downloading https://files.pythonhosted.org/packages/c7/90/415728875c230fafd13d118512bde3184d810d7bf798a631abc05fac09d0/urwid-2.0.1.tar.gz (604kB) |████████████████████████████████| 614kB 1.2MB/s Building wheels for collected packages: urwid Building wheel for urwid (setup.py) ... done Created wheel for urwid: filename=urwid-2.0.1-cp27-none-any.whl size=223811 sha256=62989cc247db2deb465ac357ec891d2e89e4c03904d6c8288c414afca14b37db Stored in directory: /root/.cache/pip/wheels/34/06/50/24011714e101b5ad8518c69175d117a257413e3c15a92983f0 Successfully built urwid Installing collected packages: urwid Successfully installed urwid-2.0.1
Adapter weiterhin gelb
xbox.0 2020-01-18 00:53:21.860 info (8629) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason xbox.0 2020-01-18 00:53:21.859 info (8629) terminating xbox.0 2020-01-18 00:53:21.858 info (8629) [END] cleaned everything up... xbox.0 2020-01-18 00:53:21.844 info (8629) [END] REST server stopped xbox.0 2020-01-18 00:53:21.830 debug (8629) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-18 00:53:21.824 info (8629) Got terminate signal TERMINATE_YOURSELF xbox.0 2020-01-18 00:53:21.653 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:21.653 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:20.649 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:20.648 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:20.557 debug (8629) [CHECK] Auth is not established xbox.0 2020-01-18 00:53:20.555 debug (8629) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-18 00:53:20.554 debug (8629) [CONNECT] Check connection xbox.0 2020-01-18 00:53:20.553 error (8629) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-18 00:53:20.547 debug (8629) [DISCOVER] Searching for consoles xbox.0 2020-01-18 00:53:20.543 debug (8629) [PING] Xbox online xbox.0 2020-01-18 00:53:19.640 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:19.640 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:18.637 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:18.637 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:17.634 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:17.633 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:16.630 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:16.629 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:15.627 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:15.627 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:14.624 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:14.623 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:14.547 debug (8629) [CHECK] Auth is not established xbox.0 2020-01-18 00:53:14.546 debug (8629) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-18 00:53:14.545 debug (8629) [CONNECT] Check connection xbox.0 2020-01-18 00:53:14.544 error (8629) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-18 00:53:14.541 debug (8629) [DISCOVER] Searching for consoles xbox.0 2020-01-18 00:53:14.539 debug (8629) [PING] Xbox online xbox.0 2020-01-18 00:53:13.621 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:13.621 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:12.618 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:12.617 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:11.615 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:11.615 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:10.612 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:10.611 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:09.608 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:09.599 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:08.596 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:08.595 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:08.549 debug (8629) [CHECK] Auth is not established xbox.0 2020-01-18 00:53:08.547 debug (8629) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-18 00:53:08.547 debug (8629) [CONNECT] Check connection xbox.0 2020-01-18 00:53:08.546 error (8629) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-18 00:53:08.543 debug (8629) [DISCOVER] Searching for consoles xbox.0 2020-01-18 00:53:08.540 debug (8629) [PING] Xbox online xbox.0 2020-01-18 00:53:07.593 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:07.593 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:06.590 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:06.589 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:05.586 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:05.585 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:04.583 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:04.582 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:03.580 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:03.580 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:02.577 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:02.577 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:02.561 debug (8629) [CHECK] Auth is not established xbox.0 2020-01-18 00:53:02.559 warn (8629) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-18 00:53:02.558 debug (8629) [CONNECT] Check connection xbox.0 2020-01-18 00:53:02.556 error (8629) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-18 00:53:02.552 debug (8629) [DISCOVER] Searching for consoles xbox.0 2020-01-18 00:53:02.547 debug (8629) [PING] Xbox online xbox.0 2020-01-18 00:53:01.575 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:01.575 debug (8629) Could not parse body xbox.0 2020-01-18 00:53:00.572 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:53:00.572 debug (8629) Could not parse body xbox.0 2020-01-18 00:52:59.568 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:52:59.568 debug (8629) Could not parse body xbox.0 2020-01-18 00:52:58.564 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:52:58.563 debug (8629) Could not parse body xbox.0 2020-01-18 00:52:57.560 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:52:57.559 debug (8629) Could not parse body xbox.0 2020-01-18 00:52:56.554 warn (8629) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 00:52:56.554 debug (8629) Could not parse body xbox.0 2020-01-18 00:52:56.543 debug (8629) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-18 00:52:54.718 debug (8629) system.adapter.admin.0: logging true xbox.0 2020-01-18 00:52:51.805 error (8629) [START] Restarting adapter in 30 seconds xbox.0 2020-01-18 00:52:51.804 error SyntaxError: invalid syntax xbox.0 2020-01-18 00:52:51.804 error ^ xbox.0 2020-01-18 00:52:51.804 error cls, data, context=None, many=None, partial=None, unknown=None, *args, **kwargs, xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/models.py", line 209 xbox.0 2020-01-18 00:52:51.804 error from marshmallow_objects.models import ( # noqa xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/__init__.py", line 3, in <module> xbox.0 2020-01-18 00:52:51.804 error from marshmallow_objects import Model, NestedModel, fields xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/json_model.py", line 4, in <module> xbox.0 2020-01-18 00:52:51.804 error from xbox.stump import json_model xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/manager.py", line 13, in <module> xbox.0 2020-01-18 00:52:51.804 error from xbox.stump.manager import StumpManager xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/consolewrap.py", line 6, in <module> xbox.0 2020-01-18 00:52:51.804 error from ..consolewrap import ConsoleWrap xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/device.py", line 6, in <module> xbox.0 2020-01-18 00:52:51.804 error from .device import * xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/__init__.py", line 6, in <module> xbox.0 2020-01-18 00:52:51.804 error from .routes import routes xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/app.py", line 5, in <module> xbox.0 2020-01-18 00:52:51.804 error from xbox.rest.app import app xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/scripts/rest_server.py", line 9, in <module> xbox.0 2020-01-18 00:52:51.804 error from xbox.rest.scripts.rest_server import main xbox.0 2020-01-18 00:52:51.804 error File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 5, in <module> xbox.0 2020-01-18 00:52:51.804 error Traceback (most recent call last): xbox.0 2020-01-18 00:52:51.804 error (8629) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found xbox.0 2020-01-18 00:52:49.985 info (8629) [START] Starting REST server xbox.0 2020-01-18 00:52:49.985 debug (8629) [START] IP address is 10.0.1.83 xbox.0 2020-01-18 00:52:49.962 info (8629) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-18 00:52:47.961 debug (8629) States connected to redis: 0.0.0.0:9000 xbox.0 2020-01-18 00:52:47.909 debug (8629) statesDB connected xbox.0 2020-01-18 00:52:47.908 debug (8629) States create PubSub Client xbox.0 2020-01-18 00:52:47.898 debug (8629) Objects connected to redis: 0.0.0.0:9001 xbox.0 2020-01-18 00:52:47.896 debug (8629) Redis States: Use Redis connection: 0.0.0.0:9000 xbox.0 2020-01-18 00:52:47.894 debug (8629) objectDB connected xbox.0 2020-01-18 00:52:47.883 debug (8629) Objects client initialize lua scripts xbox.0 2020-01-18 00:52:47.882 debug (8629) Objects create PubSub Client xbox.0 2020-01-18 00:52:47.873 debug (8629) Objects client ready ... initialize now xbox.0 2020-01-18 00:52:47.840 debug (8629) Redis Objects: Use Redis connection: 0.0.0.0:9001
-
@Negalein braucht gerade immer ein reinstall sorry:
npm i iobroker.xbox --unsafe-perm --prefix /opt/iobroker --production
-
@foxriver76 sagte in XBox-Adapter Fehler:
braucht gerade immer ein reinstall sorry: npm i iobroker.xbox --unsafe-perm --prefix /opt/iobroker --production
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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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_t)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_t)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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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>*) const’: ../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>*)’ isdeprecated: 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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ bufferutil.target.mk:105: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/bufferutil/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193: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.4.59+ 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.17.0 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok > utf-8-validate@1.1.0 install /opt/iobroker/node_modules/utf-8-validate > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/utf-8-validate/build“ wird betreten 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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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; ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.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); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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); ^~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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_t)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_t)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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^ In file included from ../src/validation.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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>*) const’: ../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>*)’ isdeprecated: 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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ validation.target.mk:105: die Regel für Ziel „Release/obj.target/validation/src/validation.o“ scheiterte make: *** [Release/obj.target/validation/src/validation.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/utf-8-validate/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193: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.4.59+ 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.17.0 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok > iobroker.xbox@0.5.12 install /opt/iobroker/node_modules/iobroker.xbox > npip install No python_modules directory; installing pip locally if needed. Successfully completed pip check. Collecting xbox-smartglass-rest>=0.9.8 Using cached https://files.pythonhosted.org/packages/4d/4f/f035df8a2ec5742b9e772071e006ea21aae3fc3bd0963753cfc1045d6fda/xbox_smartglass_rest-0.9.8-py2.py3-none-any.whl Collecting xbox-smartglass-stump>=0.9.5 Using cached https://files.pythonhosted.org/packages/34/f0/a75667f67ce6251b96a6989b8169eb9f2e25407ce2b0888e544b8caa98fe/xbox_smartglass_stump-0.9.5-py2.py3-none-any.whl Collecting Flask Using cached https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl Collecting xbox-smartglass-core>=1.0.12 Using cached https://files.pythonhosted.org/packages/13/c8/2ffce1ddabe5b73422c7c46e808e4b02dbbc9362d2ecd2aee2a65e6e30a5/xbox_smartglass_core-1.0.12-py2.py3-none-any.whl Collecting xbox-webapi>=1.1.7 Using cached https://files.pythonhosted.org/packages/2d/bf/aaf24cc78184393c5c2472e822c0e145b793e346a8085bee02e89a3428ba/xbox_webapi-1.1.7-py2.py3-none-any.whl Collecting marshmallow-objects Using cached https://files.pythonhosted.org/packages/4d/1c/fe15bc370707e8f8db09ab0edead45ab413b75795a8be523ca6482152183/marshmallow_objects-2.0.0-py2.py3-none-any.whl Collecting Jinja2>=2.10.1 Using cached https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl Collecting click>=5.1 Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl Collecting itsdangerous>=0.24 Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl Collecting Werkzeug>=0.15 Using cached https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl Collecting gevent==1.3.7 Using cached https://files.pythonhosted.org/packages/87/c4/9afb40b4a8b9186787d477aa6ebcfa17ead40ecbf83d5a1ed53dadd4f6ef/gevent-1.3.7-cp35-cp35m-manylinux1_x86_64.whl Processing /home/iobroker/.cache/pip/wheels/13/cd/02/acabe4bfa9899d53c3e3b13675610d2e2dcb9ae110359d4f61/construct-2.9.41-cp35-none-any.whl Collecting cryptography==2.3.1 Using cached https://files.pythonhosted.org/packages/59/32/92cade62c645756a83598edf56289e9b19aae5370642a7ce690cd06bc72f/cryptography-2.3.1-cp34-abi3-manylinux1_x86_64.whl Collecting appdirs==1.4.3 Using cached https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/0a/5f/3c/e0ffceb6554711f12a7101384f29ec13b85136dfcf1f692b8f/dpkt-1.9.1-cp35-none-any.whl Processing /home/iobroker/.cache/pip/wheels/34/06/50/24011714e101b5ad8518c69175d117a257413e3c15a92983f0/urwid-2.0.1-cp35-none-any.whl Collecting aenum==2.1.2; python_version <= "3.5" Using cached https://files.pythonhosted.org/packages/0d/46/5b6a6c13fee40f9dfaba84de1394bfe082c0c7d95952ba0ffbd56ce3a3f7/aenum-2.1.2-py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/c5/d2/ab/a54fb5ea53ac3badba098160e8452fa126a51febda80440ded/demjson-2.2.4-cp35-none-any.whl Collecting requests Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl Collecting marshmallow>=3.0.0 Using cached https://files.pythonhosted.org/packages/6e/76/01224f14737627166b94eb3bf0e334372c014edca781e39db320ce977755/marshmallow-3.3.0-py2.py3-none-any.whl Collecting MarkupSafe>=0.23 Using cached https://files.pythonhosted.org/packages/6e/57/d40124076756c19ff2269678de7ae25a14ebbb3f6314eb5ce9477f191350/MarkupSafe-1.1.1-cp35-cp35m-manylinux1_x86_64.whl Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" Using cached https://files.pythonhosted.org/packages/2e/65/27f35497cc0102a792390d056e793e064da95fc9eae45d75ae0ba49c0a0d/greenlet-0.4.15-cp35-cp35m-manylinux1_x86_64.whl Collecting idna>=2.1 Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl Collecting asn1crypto>=0.21.0 Using cached https://files.pythonhosted.org/packages/e9/51/1db4a60049fb7390959be586b6eb743098e6cea3f6b2d3ed9e17fec62ba2/asn1crypto-1.3.0-py2.py3-none-any.whl Collecting cffi!=1.11.3,>=1.7 Using cached https://files.pythonhosted.org/packages/a8/8d/986e0c4e2aa3b24db56a0affc50d1a379150e3c4da45d51d549dc2697d53/cffi-1.13.2-cp35-cp35m-manylinux1_x86_64.whl Collecting six>=1.4.1 Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl Collecting certifi>=2017.4.17 Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl Collecting chardet<3.1.0,>=3.0.2 Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Using cached https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511/pycparser-2.19-py2.py3-none-any.whl Installing collected packages: marshmallow, marshmallow-objects, greenlet, gevent, construct, idna, asn1crypto, pycparser, cffi, six, cryptography, appdirs, demjson, urwid, certifi, chardet, urllib3, requests, xbox-webapi, dpkt, aenum, xbox-smartglass-core, xbox-smartglass-stump, MarkupSafe, Jinja2, click, itsdangerous, Werkzeug, Flask, xbox-smartglass-rest Successfully installed Flask-1.1.1 Jinja2-2.10.3 MarkupSafe-1.1.1 Werkzeug-0.16.0 aenum-2.1.2 appdirs-1.4.3 asn1crypto-1.3.0 certifi-2019.11.28 cffi-1.13.2 chardet-3.0.4 click-7.0 construct-2.9.41 cryptography-2.3.1 demjson-2.2.4 dpkt-1.9.1 gevent-1.3.7 greenlet-0.4.15 idna-2.8 itsdangerous-1.1.0 marshmallow-3.3.0 marshmallow-objects-2.0.0 pycparser-2.19 requests-2.22.0 six-1.14.0 urllib3-1.25.7 urwid-2.0.1 xbox-smartglass-core-1.0.12 xbox-smartglass-rest-0.9.8 xbox-smartglass-stump-0.9.5 xbox-webapi-1.1.7 npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-detector' 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 bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (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":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 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.xbox@0.5.12 updated 1 package in 68.765s
Adapter gelb
xbox.0 2020-01-18 01:22:32.977 info (28813) [START] Starting REST server xbox.0 2020-01-18 01:22:32.977 debug (28813) [START] IP address is 10.0.1.83 xbox.0 2020-01-18 01:22:32.956 info (28813) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-18 01:22:26.538 info (28335) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason xbox.0 2020-01-18 01:22:26.537 info (28335) terminating xbox.0 2020-01-18 01:22:26.536 info (28335) [END] cleaned everything up... xbox.0 2020-01-18 01:22:26.522 info (28335) [END] REST server stopped xbox.0 2020-01-18 01:22:26.508 debug (28335) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-18 01:22:26.500 info (28335) Got terminate signal TERMINATE_YOURSELF xbox.0 2020-01-18 01:22:26.413 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:26.413 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:25.410 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:25.410 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:25.316 debug (28335) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-18 01:22:25.315 debug (28335) [CONNECT] Check connection xbox.0 2020-01-18 01:22:25.315 error (28335) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-18 01:22:25.314 debug (28335) [CHECK] Auth is not established xbox.0 2020-01-18 01:22:25.309 debug (28335) [DISCOVER] Searching for consoles xbox.0 2020-01-18 01:22:25.306 debug (28335) [PING] Xbox online xbox.0 2020-01-18 01:22:24.407 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:24.406 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:23.399 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:23.399 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:22.396 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:22.396 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:21.393 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:21.393 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:20.390 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:20.390 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:19.387 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:19.386 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:19.311 debug (28335) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-18 01:22:19.310 debug (28335) [CONNECT] Check connection xbox.0 2020-01-18 01:22:19.309 error (28335) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-18 01:22:19.308 debug (28335) [CHECK] Auth is not established xbox.0 2020-01-18 01:22:19.305 debug (28335) [DISCOVER] Searching for consoles xbox.0 2020-01-18 01:22:19.303 debug (28335) [PING] Xbox online xbox.0 2020-01-18 01:22:18.384 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:18.384 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:17.381 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:17.380 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:16.378 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:16.377 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:15.374 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:15.373 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:14.371 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:14.370 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:13.358 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:13.358 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:13.314 debug (28335) [CHECK] Auth is not established xbox.0 2020-01-18 01:22:13.312 debug (28335) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-18 01:22:13.312 debug (28335) [CONNECT] Check connection xbox.0 2020-01-18 01:22:13.311 error (28335) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-18 01:22:13.308 debug (28335) [DISCOVER] Searching for consoles xbox.0 2020-01-18 01:22:13.305 debug (28335) [PING] Xbox online xbox.0 2020-01-18 01:22:12.355 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:12.355 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:11.351 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:11.351 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:10.348 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:10.347 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:09.345 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:09.345 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:08.341 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:08.341 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:07.337 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:07.337 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:07.325 debug (28335) [CHECK] Auth is not established xbox.0 2020-01-18 01:22:07.323 warn (28335) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-18 01:22:07.322 debug (28335) [CONNECT] Check connection xbox.0 2020-01-18 01:22:07.320 error (28335) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-18 01:22:07.315 debug (28335) [DISCOVER] Searching for consoles xbox.0 2020-01-18 01:22:07.311 debug (28335) [PING] Xbox online xbox.0 2020-01-18 01:22:06.335 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:06.334 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:05.332 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:05.332 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:04.328 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:04.328 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:03.324 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:03.324 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:02.321 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:02.321 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:01.318 warn (28335) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:22:01.318 debug (28335) Could not parse body xbox.0 2020-01-18 01:22:01.308 debug (28335) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-18 01:21:58.846 debug (28335) system.adapter.admin.0: logging true xbox.0 2020-01-18 01:21:56.483 error (28335) [START] Restarting adapter in 30 seconds xbox.0 2020-01-18 01:21:56.482 error SyntaxError: invalid syntax xbox.0 2020-01-18 01:21:56.482 error ^ xbox.0 2020-01-18 01:21:56.482 error cls, data, context=None, many=None, partial=None, unknown=None, *args, **kwargs, xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/models.py", line 209 xbox.0 2020-01-18 01:21:56.482 error from marshmallow_objects.models import ( # noqa xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/marshmallow_objects/__init__.py", line 3, in <module> xbox.0 2020-01-18 01:21:56.482 error from marshmallow_objects import Model, NestedModel, fields xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/json_model.py", line 4, in <module> xbox.0 2020-01-18 01:21:56.482 error from xbox.stump import json_model xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/stump/manager.py", line 13, in <module> xbox.0 2020-01-18 01:21:56.482 error from xbox.stump.manager import StumpManager xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/consolewrap.py", line 6, in <module> xbox.0 2020-01-18 01:21:56.482 error from ..consolewrap import ConsoleWrap xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/device.py", line 6, in <module> xbox.0 2020-01-18 01:21:56.482 error from .device import * xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/routes/__init__.py", line 6, in <module> xbox.0 2020-01-18 01:21:56.482 error from .routes import routes xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/app.py", line 5, in <module> xbox.0 2020-01-18 01:21:56.482 error from xbox.rest.app import app xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/python_modules/lib/python3.5/site-packages/xbox/rest/scripts/rest_server.py", line 9, in <module> xbox.0 2020-01-18 01:21:56.482 error from xbox.rest.scripts.rest_server import main xbox.0 2020-01-18 01:21:56.482 error File "/opt/iobroker/node_modules/iobroker.xbox/lib/../python_modules/bin/xbox-rest-server", line 5, in <module> xbox.0 2020-01-18 01:21:56.482 error Traceback (most recent call last): xbox.0 2020-01-18 01:21:56.482 error (28335) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found xbox.0 2020-01-18 01:21:54.708 info (28335) [START] Starting REST server xbox.0 2020-01-18 01:21:54.707 debug (28335) [START] IP address is 10.0.1.83 xbox.0 2020-01-18 01:21:54.688 info (28335) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-18 01:21:52.313 debug (28335) States connected to redis: 0.0.0.0:9000 xbox.0 2020-01-18 01:21:52.260 debug (28335) statesDB connected xbox.0 2020-01-18 01:21:52.259 debug (28335) States create PubSub Client xbox.0 2020-01-18 01:21:52.250 debug (28335) Objects connected to redis: 0.0.0.0:9001 xbox.0 2020-01-18 01:21:52.247 debug (28335) Redis States: Use Redis connection: 0.0.0.0:9000 xbox.0 2020-01-18 01:21:52.245 debug (28335) objectDB connected xbox.0 2020-01-18 01:21:52.232 debug (28335) Objects client initialize lua scripts xbox.0 2020-01-18 01:21:52.231 debug (28335) Objects create PubSub Client xbox.0 2020-01-18 01:21:52.223 debug (28335) Objects client ready ... initialize now xbox.0 2020-01-18 01:21:52.164 debug (28335) Redis Objects: Use Redis connection: 0.0.0.0:9001
-
@Negalein sagte in XBox-Adapter Fehler:
marshmallow_objects
Jetzt mal bitte
pip show marshmallow-objects
Ausgabe zeigen und falls da nix kommt oder 2.0.0 kommt malpip install "marshmallow-objects==1.0.23"
dannrm -r /opt/iobroker/node_modules/iobroker.xbox
und nochmalnpm i iobroker.xbox --unsafe-perm --production --prefix /opt/iobroker
-
@foxriver76 sagte in XBox-Adapter Fehler:
pip show marshmallow-objects
root@iobroker:/opt/iobroker# pip show marshmallow-objects DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support WARNING: Package(s) not found: marshmallow-objects
pip install "marshmallow-objects==1.0.23"
root@iobroker:/opt/iobroker# pip install "marshmallow-objects==1.0.23" DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting marshmallow-objects==1.0.23 Downloading https://files.pythonhosted.org/packages/2d/e2/05eebaa3d7f54349547792f82710c59457d3dc19dffd5ab9c11cfed3a421/marshmallow_objects-1.0.23-py2.py3-none-any.whl Collecting marshmallow Downloading https://files.pythonhosted.org/packages/e3/07/c7a12d21619abeedf5fca7381f4cf3fa798a26e8d92ad66bc73f5fc58fc1/marshmallow-2.20.5-py2.py3-none-any.whl (50kB) |████████████████████████████████| 51kB 475kB/s Installing collected packages: marshmallow, marshmallow-objects Successfully installed marshmallow-2.20.5 marshmallow-objects-1.0.23
rm -r /opt/iobroker/node_modules/iobroker.xbox
root@iobroker:/opt/iobroker# rm -r /opt/iobroker/node_modules/iobroker.xbox root@iobroker:/opt/iobroker#
npm i iobroker.xbox --unsafe-perm --production --prefix /opt/iobroker
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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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_t)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_t)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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^ In file included from ../src/bufferutil.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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>*) const’: ../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>*)’ isdeprecated: 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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/bufferutil.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ bufferutil.target.mk:105: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/bufferutil/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193: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.4.59+ 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.17.0 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok > utf-8-validate@1.1.0 install /opt/iobroker/node_modules/utf-8-validate > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/utf-8-validate/build“ wird betreten 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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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; ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.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); ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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); ^~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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, ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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_t)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_t)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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ /home/iobroker/.cache/node-gyp/10.17.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( ^~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^ /home/iobroker/.cache/node-gyp/10.17.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>*)’ isdeprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^ In file included from ../src/validation.cc:8:0: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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>*) const’: ../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>*)’ isdeprecated: 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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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 /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26:0, from ../src/validation.cc:7: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.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, ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/10.17.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: /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ validation.target.mk:105: die Regel für Ziel „Release/obj.target/validation/src/validation.o“ scheiterte make: *** [Release/obj.target/validation/src/validation.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/utf-8-validate/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193: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.4.59+ 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.17.0 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok > iobroker.xbox@0.5.12 install /opt/iobroker/node_modules/iobroker.xbox > npip install No python_modules directory; installing pip locally if needed. Successfully completed pip check. Collecting xbox-smartglass-rest>=0.9.8 Using cached https://files.pythonhosted.org/packages/4d/4f/f035df8a2ec5742b9e772071e006ea21aae3fc3bd0963753cfc1045d6fda/xbox_smartglass_rest-0.9.8-py2.py3-none-any.whl Collecting xbox-smartglass-stump>=0.9.5 Using cached https://files.pythonhosted.org/packages/34/f0/a75667f67ce6251b96a6989b8169eb9f2e25407ce2b0888e544b8caa98fe/xbox_smartglass_stump-0.9.5-py2.py3-none-any.whl Collecting xbox-webapi>=1.1.7 Using cached https://files.pythonhosted.org/packages/2d/bf/aaf24cc78184393c5c2472e822c0e145b793e346a8085bee02e89a3428ba/xbox_webapi-1.1.7-py2.py3-none-any.whl Collecting Flask Using cached https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl Collecting xbox-smartglass-core>=1.0.12 Using cached https://files.pythonhosted.org/packages/13/c8/2ffce1ddabe5b73422c7c46e808e4b02dbbc9362d2ecd2aee2a65e6e30a5/xbox_smartglass_core-1.0.12-py2.py3-none-any.whl Collecting marshmallow-objects Using cached https://files.pythonhosted.org/packages/4d/1c/fe15bc370707e8f8db09ab0edead45ab413b75795a8be523ca6482152183/marshmallow_objects-2.0.0-py2.py3-none-any.whl Collecting requests Using cached https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/c5/d2/ab/a54fb5ea53ac3badba098160e8452fa126a51febda80440ded/demjson-2.2.4-cp35-none-any.whl Processing /home/iobroker/.cache/pip/wheels/49/b5/ad/7355506059779337473b8eeb49384c9c0a9d45d34c8211a96d/urwid-2.1.0-cp35-cp35m-linux_x86_64.whl Collecting appdirs Using cached https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl Collecting Jinja2>=2.10.1 Using cached https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl Collecting itsdangerous>=0.24 Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl Collecting click>=5.1 Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl Collecting Werkzeug>=0.15 Using cached https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl Collecting gevent==1.3.7 Using cached https://files.pythonhosted.org/packages/87/c4/9afb40b4a8b9186787d477aa6ebcfa17ead40ecbf83d5a1ed53dadd4f6ef/gevent-1.3.7-cp35-cp35m-manylinux1_x86_64.whl Processing /home/iobroker/.cache/pip/wheels/13/cd/02/acabe4bfa9899d53c3e3b13675610d2e2dcb9ae110359d4f61/construct-2.9.41-cp35-none-any.whl Collecting cryptography==2.3.1 Using cached https://files.pythonhosted.org/packages/59/32/92cade62c645756a83598edf56289e9b19aae5370642a7ce690cd06bc72f/cryptography-2.3.1-cp34-abi3-manylinux1_x86_64.whl Collecting aenum==2.1.2; python_version <= "3.5" Using cached https://files.pythonhosted.org/packages/0d/46/5b6a6c13fee40f9dfaba84de1394bfe082c0c7d95952ba0ffbd56ce3a3f7/aenum-2.1.2-py3-none-any.whl Processing /home/iobroker/.cache/pip/wheels/0a/5f/3c/e0ffceb6554711f12a7101384f29ec13b85136dfcf1f692b8f/dpkt-1.9.1-cp35-none-any.whl Collecting marshmallow>=3.0.0 Using cached https://files.pythonhosted.org/packages/6e/76/01224f14737627166b94eb3bf0e334372c014edca781e39db320ce977755/marshmallow-3.3.0-py2.py3-none-any.whl Collecting chardet<3.1.0,>=3.0.2 Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl Collecting certifi>=2017.4.17 Using cached https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Using cached https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl Collecting idna<2.9,>=2.5 Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl Collecting MarkupSafe>=0.23 Using cached https://files.pythonhosted.org/packages/6e/57/d40124076756c19ff2269678de7ae25a14ebbb3f6314eb5ce9477f191350/MarkupSafe-1.1.1-cp35-cp35m-manylinux1_x86_64.whl Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" Using cached https://files.pythonhosted.org/packages/2e/65/27f35497cc0102a792390d056e793e064da95fc9eae45d75ae0ba49c0a0d/greenlet-0.4.15-cp35-cp35m-manylinux1_x86_64.whl Collecting asn1crypto>=0.21.0 Using cached https://files.pythonhosted.org/packages/e9/51/1db4a60049fb7390959be586b6eb743098e6cea3f6b2d3ed9e17fec62ba2/asn1crypto-1.3.0-py2.py3-none-any.whl Collecting six>=1.4.1 Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl Collecting cffi!=1.11.3,>=1.7 Using cached https://files.pythonhosted.org/packages/a8/8d/986e0c4e2aa3b24db56a0affc50d1a379150e3c4da45d51d549dc2697d53/cffi-1.13.2-cp35-cp35m-manylinux1_x86_64.whl Processing /home/iobroker/.cache/pip/wheels/f2/9a/90/de94f8556265ddc9d9c8b271b0f63e57b26fb1d67a45564511/pycparser-2.19-py2.py3-none-any.whl ERROR: xbox-smartglass-core 1.0.12 has requirement urwid==2.0.1, but you'll have urwid 2.1.0 which is incompatible. Installing collected packages: marshmallow, marshmallow-objects, chardet, certifi, urllib3, idna, requests, demjson, urwid, appdirs, xbox-webapi, greenlet, gevent, construct, asn1crypto, six, pycparser, cffi, cryptography, aenum, dpkt, xbox-smartglass-core, xbox-smartglass-stump, MarkupSafe, Jinja2, itsdangerous, click, Werkzeug, Flask, xbox-smartglass-rest Successfully installed Flask-1.1.1 Jinja2-2.10.3 MarkupSafe-1.1.1 Werkzeug-0.16.0 aenum-2.1.2 appdirs-1.4.3 asn1crypto-1.3.0 certifi-2019.11.28 cffi-1.13.2 chardet-3.0.4 click-7.0 construct-2.9.41 cryptography-2.3.1 demjson-2.2.4 dpkt-1.9.1 gevent-1.3.7 greenlet-0.4.15 idna-2.8 itsdangerous-1.1.0 marshmallow-3.3.0 marshmallow-objects-2.0.0 pycparser-2.19 requests-2.22.0 six-1.14.0 urllib3-1.25.7 urwid-2.1.0 xbox-smartglass-core-1.0.12 xbox-smartglass-rest-0.9.8 xbox-smartglass-stump-0.9.5 xbox-webapi-1.1.7 npm WARN ELOOP: too many symbolic links encountered, stat '/opt/iobroker/node_modules/iobroker.type-detector' 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 bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (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":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 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.xbox@0.5.12 added 3 packages from 3 contributors in 69.941s
Adapter gelb
xbox.0 2020-01-18 01:44:23.875 warn (11600) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:44:23.874 debug (11600) Could not parse body xbox.0 2020-01-18 01:44:22.872 warn (11600) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:44:22.872 debug (11600) Could not parse body xbox.0 2020-01-18 01:44:22.852 debug (11600) [CHECK] Auth is not established xbox.0 2020-01-18 01:44:22.850 warn (11600) [CONNECT] Ping response, but provided LiveID has not been discovered until now xbox.0 2020-01-18 01:44:22.849 debug (11600) [CONNECT] Check connection xbox.0 2020-01-18 01:44:22.847 error (11600) [DISCOVER] <=== connect ECONNREFUSED 127.0.0.1:5557 xbox.0 2020-01-18 01:44:22.843 debug (11600) [DISCOVER] Searching for consoles xbox.0 2020-01-18 01:44:22.838 debug (11600) [PING] Xbox online xbox.0 2020-01-18 01:44:21.870 warn (11600) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:44:21.869 debug (11600) Could not parse body xbox.0 2020-01-18 01:44:20.866 warn (11600) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:44:20.865 debug (11600) Could not parse body xbox.0 2020-01-18 01:44:19.862 warn (11600) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:44:19.862 debug (11600) Could not parse body xbox.0 2020-01-18 01:44:18.859 warn (11600) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:44:18.859 debug (11600) Could not parse body xbox.0 2020-01-18 01:44:17.855 warn (11600) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:44:17.854 debug (11600) Could not parse body xbox.0 2020-01-18 01:44:16.851 warn (11600) [LOGIN] Connection refused, will try again xbox.0 2020-01-18 01:44:16.850 debug (11600) Could not parse body xbox.0 2020-01-18 01:44:16.840 debug (11600) [LOGOUT] <=== Failed to logout: undefined xbox.0 2020-01-18 01:44:12.016 error (11600) [START] Restarting adapter in 30 seconds xbox.0 2020-01-18 01:44:12.015 error (11600) [START] Failed starting REST server: /bin/sh: 1: /opt/iobroker/node_modules/iobroker.xbox/lib/../node_modules/nopy/src/nopy.js: not found Traceback (most recent call last): File "/opt/iobrok xbox.0 2020-01-18 01:44:11.076 debug (11600) system.adapter.admin.0: logging true xbox.0 2020-01-18 01:44:10.252 info (11600) [START] Starting REST server xbox.0 2020-01-18 01:44:10.251 debug (11600) [START] IP address is 10.0.1.83 xbox.0 2020-01-18 01:44:10.194 info (11600) starting. Version 0.5.12 in /opt/iobroker/node_modules/iobroker.xbox, node: v10.17.0 xbox.0 2020-01-18 01:44:07.537 debug (11600) States connected to redis: 0.0.0.0:9000 xbox.0 2020-01-18 01:44:07.483 debug (11600) statesDB connected xbox.0 2020-01-18 01:44:07.482 debug (11600) States create PubSub Client xbox.0 2020-01-18 01:44:07.473 debug (11600) Objects connected to redis: 0.0.0.0:9001 xbox.0 2020-01-18 01:44:07.471 debug (11600) Redis States: Use Redis connection: 0.0.0.0:9000 xbox.0 2020-01-18 01:44:07.469 debug (11600) objectDB connected xbox.0 2020-01-18 01:44:07.457 debug (11600) Objects client initialize lua scripts xbox.0 2020-01-18 01:44:07.456 debug (11600) Objects create PubSub Client xbox.0 2020-01-18 01:44:07.448 debug (11600) Objects client ready ... initialize now xbox.0 2020-01-18 01:44:07.415 debug (11600) Redis Objects: Use Redis connection: 0.0.0.0:9001
-
@Negalein brauche das install log mal von Anfang an. Habe bei mir mal noch mal geupdated von alter Version, da kommen die ganzen C Geschichten gar nicht. Dachte das war schon damals so.
Lass es am besten mal in ein File schreiben da es ja sonst abgeschnitten wird
npm i iobroker.xbox --unsafe-perm --prefix /opt/iobroker --production &> xbox-logfile
. Und mir das File dann mal hochladen o. Inhalt posten.