NEWS
Smartmeter Adapter Probleme mit Hirche IR-Lesekopf
-
@janni01 bitte keine Screenshots sondern Text in code-tags!
und von sudo hatte niemand was gesagt
-
@janni01 bitte keine Screenshots sondern Text in code-tags!
und von sudo hatte niemand was gesagt
@homoran Hallo @homoran den ich den iobroker unter root installiert habe bin ich von ausgegangen das ich den Rest auch unter gleichen Rechte zu installieren habe.
Nichtdestotrotz :pi@pi:~ $ cd /opt/iobroker/node_modules/@serialport pi@pi:/opt/iobroker/node_modules/@serialport $ sudo npm install --production npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) up to date in 32.212s 30 packages are looking for funding run `npm fund` for details pi@pi:/opt/iobroker/node_modules/@serialport $ sudo npm install -g serialport > @serialport/bindings@9.2.1 install /usr/lib/node_modules/serialport/node_modules/@serialport/bindings > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild prebuild-install WARN install EACCES: permission denied, access '/root/.npm' gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/12.22.6" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/serialport/node_modules/@serialport/bindings/build' gyp ERR! System Linux 5.10.60-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/serialport/node_modules/@serialport/bindings gyp ERR! node -v v12.22.6 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @serialport/bindings@9.2.1 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-09-03T06_25_42_785Z-debug.log pi@pi:/opt/iobroker/node_modules/@serialport $ npm install --production npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) up to date in 26.089s 30 packages are looking for funding run `npm fund` for details pi@pi:/opt/iobroker/node_modules/@serialport $MOD-Edit: Code in code-tags gesetzt!
-
@homoran Hallo @homoran den ich den iobroker unter root installiert habe bin ich von ausgegangen das ich den Rest auch unter gleichen Rechte zu installieren habe.
Nichtdestotrotz :pi@pi:~ $ cd /opt/iobroker/node_modules/@serialport pi@pi:/opt/iobroker/node_modules/@serialport $ sudo npm install --production npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) up to date in 32.212s 30 packages are looking for funding run `npm fund` for details pi@pi:/opt/iobroker/node_modules/@serialport $ sudo npm install -g serialport > @serialport/bindings@9.2.1 install /usr/lib/node_modules/serialport/node_modules/@serialport/bindings > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild prebuild-install WARN install EACCES: permission denied, access '/root/.npm' gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/12.22.6" gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp" gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/serialport/node_modules/@serialport/bindings/build' gyp ERR! System Linux 5.10.60-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/lib/node_modules/serialport/node_modules/@serialport/bindings gyp ERR! node -v v12.22.6 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @serialport/bindings@9.2.1 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @serialport/bindings@9.2.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-09-03T06_25_42_785Z-debug.log pi@pi:/opt/iobroker/node_modules/@serialport $ npm install --production npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) up to date in 26.089s 30 packages are looking for funding run `npm fund` for details pi@pi:/opt/iobroker/node_modules/@serialport $MOD-Edit: Code in code-tags gesetzt!
-
@janni01 sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
den ich den iobroker unter root installiert habe bin ich von ausgegangen das ich den Rest auch unter gleichen Rechte zu installieren habe.
iobroker läuft unter dem user iobroker.
und der kommt nicht an Dateien, die root gehören.und wenn schon root, was soll dann sudo?
ich fürchte deine Installation ist rechtmäßig ggf. nicht korrekt.
Laß mal den Fixer drüber laufenwenn ich das richtig entziffere hast du wieder sudo genommen
npm Befehle dürfen nie mit einem einfachen sudo ausgeführt werden -
@janni01 sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
den ich den iobroker unter root installiert habe bin ich von ausgegangen das ich den Rest auch unter gleichen Rechte zu installieren habe.
iobroker läuft unter dem user iobroker.
und der kommt nicht an Dateien, die root gehören.und wenn schon root, was soll dann sudo?
ich fürchte deine Installation ist rechtmäßig ggf. nicht korrekt.
Laß mal den Fixer drüber laufenwenn ich das richtig entziffere hast du wieder sudo genommen
npm Befehle dürfen nie mit einem einfachen sudo ausgeführt werdenpi@pi:~ $ curl -fsL https://iobroker.net/fix.sh | bash - library: loaded Library version=2021-08-05 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2021-04-07 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Hit:3 https://deb.nodesource.com/node_12.x buster InRelease Hit:4 https://dl.yarnpkg.com/debian stable InRelease Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [380 kB] Err:4 https://dl.yarnpkg.com/debian stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E Fetched 428 kB in 13s (33.6 kB/s) Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E W: Some index files failed to download. They have been ignored, or old ones used instead. Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@pi:~ $ iobroker start pi@pi:~ $ npm install --production npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 481 packages in 23.268s 11 packages are looking for funding run `npm fund` for details found 3 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details pi@pi:~ $ -
pi@pi:~ $ curl -fsL https://iobroker.net/fix.sh | bash - library: loaded Library version=2021-08-05 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2021-04-07 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Hit:3 https://deb.nodesource.com/node_12.x buster InRelease Hit:4 https://dl.yarnpkg.com/debian stable InRelease Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [380 kB] Err:4 https://dl.yarnpkg.com/debian stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E Fetched 428 kB in 13s (33.6 kB/s) Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E W: Some index files failed to download. They have been ignored, or old ones used instead. Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@pi:~ $ iobroker start pi@pi:~ $ npm install --production npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 481 packages in 23.268s 11 packages are looking for funding run `npm fund` for details found 3 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details pi@pi:~ $@janni01 sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
pi@pi:~ $ iobroker start
pi@pi:~ $ npm install --production
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'Was machst du gerade bzw. was versuchst du dort mit dem Befehl npm install --production im Hauptverzeichniss ??
-
@janni01 sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
pi@pi:~ $ iobroker start
pi@pi:~ $ npm install --production
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'Was machst du gerade bzw. was versuchst du dort mit dem Befehl npm install --production im Hauptverzeichniss ??
@glasfaser Das was mir geraten wurde. Nochmal zum eigentlichen Problem die Liste mit den Seriellen Prots wird nciht aufgebaut im Smartmeter. Die IR-Leseköpfe sind an den USB -Anschlüssen angeschlossen und erkannt.
pi@pi:~ $ lsusb Bus 001 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family] Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family] Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pi@pi:~ $ ls -l /dev/serial/by-id/* lrwxrwxrwx 1 root root 13 Sep 3 06:17 /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0070-if00-port0 -> ../../ttyUSB1 lrwxrwxrwx 1 root root 13 Sep 3 06:17 /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0077-if00-port0 -> ../../ttyUSB0Diese Liste wird im smartmeter nicht abgebildet. Warum?
-
@glasfaser Das was mir geraten wurde. Nochmal zum eigentlichen Problem die Liste mit den Seriellen Prots wird nciht aufgebaut im Smartmeter. Die IR-Leseköpfe sind an den USB -Anschlüssen angeschlossen und erkannt.
pi@pi:~ $ lsusb Bus 001 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family] Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family] Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pi@pi:~ $ ls -l /dev/serial/by-id/* lrwxrwxrwx 1 root root 13 Sep 3 06:17 /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0070-if00-port0 -> ../../ttyUSB1 lrwxrwxrwx 1 root root 13 Sep 3 06:17 /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0077-if00-port0 -> ../../ttyUSB0Diese Liste wird im smartmeter nicht abgebildet. Warum?
@janni01 sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
@glasfaser Das was mir geraten wurde.
Aber nicht im Hauptverzeichniss den Befehl npm install --production durchführen !
Nochmal zum eigentlichen Problem die Liste mit den Seriellen Prots wird nciht aufgebaut im Smartmeter.
Ja , da sind wir gerade drann ... was erscheint im Log , wieder die gleichen Fehlermeldungen !?
-
@janni01 sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
@glasfaser Das was mir geraten wurde.
Aber nicht im Hauptverzeichniss den Befehl npm install --production durchführen !
Nochmal zum eigentlichen Problem die Liste mit den Seriellen Prots wird nciht aufgebaut im Smartmeter.
Ja , da sind wir gerade drann ... was erscheint im Log , wieder die gleichen Fehlermeldungen !?
pi@pi:/opt/iobroker/node_modules/@serialport $ npm install --production > diskusage@0.2.6 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/diskusage > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/diskusage/build' CXX(target) Release/obj.target/diskusage/src/main.o ../src/main.cpp: In function ‘v8::Local<v8::Object> ConvertDiskUsage(const DiskUsage&)’: ../src/main.cpp:9:124: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New<v8::String>("available").ToLocalChecked(), Nan::New<v8::Number>(static_cast<double>(usage.available))); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../../../../nan/nan.h:58, from ../src/main.cpp:3: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/main.cpp:10:114: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New<v8::String>("free").ToLocalChecked(), Nan::New<v8::Number>(static_cast<double>(usage.free))); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../../../../nan/nan.h:58, from ../src/main.cpp:3: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/main.cpp:11:116: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New<v8::String>("total").ToLocalChecked(), Nan::New<v8::Number>(static_cast<double>(usage.total))); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../../../../nan/nan.h:58, from ../src/main.cpp:3: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/main.cpp:26:71: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0])); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../../../../nan/nan.h:58, from ../src/main.cpp:3: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3135:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ Utf8Value(Isolate* isolate, Local<v8::Value> obj); ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided ../src/main.cpp: At global scope: ../src/main.cpp:37:15: error: variable or field ‘Init’ declared void void Init(v8::Handle<v8::Object> exports) ^~~~~~ ../src/main.cpp:37:15: error: ‘Handle’ is not a member of ‘v8’ ../src/main.cpp:37:32: error: expected primary-expression before ‘>’ token void Init(v8::Handle<v8::Object> exports) ^ ../src/main.cpp:37:34: error: ‘exports’ was not declared in this scope void Init(v8::Handle<v8::Object> exports) ^~~~~~~ In file included from ../../../../nan/nan.h:58, from ../src/main.cpp:3: ../src/main.cpp:42:24: error: ‘Init’ was not declared in this scope NODE_MODULE(diskusage, Init) ^~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’ (node::addon_register_func) (regfunc), \ ^~~~~~~ ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(diskusage, Init) ^~~~~~~~~~~ ../src/main.cpp:42:24: note: suggested alternative: NODE_MODULE(diskusage, Init) ^~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’ (node::addon_register_func) (regfunc), \ ^~~~~~~ ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(diskusage, Init) ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:229:18: note: ‘node::Init’ NODE_EXTERN void Init(int* argc, ^~~~ In file included from ../src/main.cpp:3: ../src/main.cpp:21:19: warning: ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)’ defined but not used [-Wunused-function] static NAN_METHOD(GetDiskUsage) ^~~~~~~~~~~~ ../../../../nan/nan.h:1570:33: note: in definition of macro ‘NAN_METHOD’ Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info) ^~~~ make: *** [diskusage.target.mk:112: Release/obj.target/diskusage/src/main.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/diskusage/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 5.10.60-v7+ 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/iobroker.js-controller/node_modules/diskusage gyp ERR! node -v v12.22.6 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok > unix-dgram@0.2.3 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build' CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../node_modules/nan/nan.h:190, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’: ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../node_modules/nan/nan_converters.h:59, from ../node_modules/nan/nan.h:195, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’: ../node_modules/nan/nan_converters_43_inl.h:15:45: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations] return val->To ## TYPE(GetCurrentContext()); \ ^ ../node_modules/nan/nan_converters_43_inl.h:18:1: note: in expansion of macro ‘X’ X(Boolean) ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2664:59: note: declared here V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean( ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_converters.h:59, from ../node_modules/nan/nan.h:195, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’: ../node_modules/nan/nan_converters_43_inl.h:31:48: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations] return val->NAME ## Value(GetCurrentContext()); \ ^ ../node_modules/nan/nan_converters_43_inl.h:34:1: note: in expansion of macro ‘X’ X(bool, Boolean) ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2702:51: note: declared here V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:196, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’: ../node_modules/nan/nan_implementation_12_inl.h:109:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’ , obj)); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:4275:31: note: candidate: ‘static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)’ static MaybeLocal<Function> New( ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:4275:31: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’ In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:196, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’: ../node_modules/nan/nan_implementation_12_inl.h:345:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’ return v8::StringObject::New(value).As<v8::StringObject>(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:5531:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’ static Local<Value> New(Isolate* isolate, Local<String> value); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:5531:23: note: candidate expects 2 arguments, 1 provided In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:196, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_implementation_12_inl.h:345:58: error: expected primary-expression before ‘>’ token return v8::StringObject::New(value).As<v8::StringObject>(); ^ ../node_modules/nan/nan_implementation_12_inl.h:345:60: error: expected primary-expression before ‘)’ token return v8::StringObject::New(value).As<v8::StringObject>(); ^ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:183:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:102:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:183:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:102:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:176:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:102:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:176:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:102:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’: ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:169:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:102:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:169:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:102:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: ../node_modules/nan/nan.h:890:53: error: no matching function for call to ‘v8::Value::ToString()’ v8::Local<v8::String> string = from->ToString(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( ^~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2668:44: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ Local<String> ToString(Isolate* isolate) const); ^~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2684:31: note: candidate expects 1 argument, 0 provided Local<String> ToString(Isolate* isolate) const); ^~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:900:74: error: no matching function for call to ‘v8::String::WriteUtf8(char*&, int, int, const int&)’ length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘bool Nan::Callback::operator==(const Nan::Callback&) const’: ../node_modules/nan/nan.h:1371:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local<v8::Value> a = New(handle)->Get(kCallbackIndex); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3557:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:1372:67: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local<v8::Value> b = New(other.handle)->Get(kCallbackIndex); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3557:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Function> Nan::Callback::GetFunction() const’: ../node_modules/nan/nan.h:1403:56: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(handle)->Get(kCallbackIndex) ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3557:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘bool Nan::Callback::IsEmpty() const’: ../node_modules/nan/nan.h:1409:43: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return New(handle)->Get(kCallbackIndex)->IsUndefined(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3557:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’: ../node_modules/nan/nan.h:1447:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations] Get(kCallbackIndex).As<v8::Function>(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3557:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:183:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:102:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:183:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:102:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’: ../node_modules/nan/nan.h:1518:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(New(key).ToLocalChecked(), value); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’: ../node_modules/nan/nan.h:1524:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(key, value); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’: ../node_modules/nan/nan.h:1530:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(index, value); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3508:22: note: declared here bool Set(uint32_t index, Local<Value> value)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’: ../node_modules/nan/nan.h:1536:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Get(New(key).ToLocalChecked())); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’: ../node_modules/nan/nan.h:1542:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(key)); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’: ../node_modules/nan/nan.h:1547:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(index)); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3557:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5: ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’: ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from /usr/include/c++/8/cassert:44, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node_object_wrap.h:26, from ../node_modules/nan/nan.h:49, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’: ../node_modules/nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ assert(persistent().IsNearDeath()); ^~~~~~~~~~~ In file included from ../node_modules/nan/nan.h:2192, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’: ../node_modules/nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations] persistent().MarkIndependent(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:570:22: note: declared here V8_INLINE void MarkIndependent()); ^~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from /usr/include/c++/8/cassert:44, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node_object_wrap.h:26, from ../node_modules/nan/nan.h:49, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’: ../node_modules/nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’ assert(wrap->handle_.IsNearDeath()); ^~~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:189:37: error: no matching function for call to ‘v8::Value::Int32Value()’ domain = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:190:37: error: no matching function for call to ‘v8::Value::Int32Value()’ type = info[1]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:191:37: error: no matching function for call to ‘v8::Value::Int32Value()’ protocol = info[2]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:230:28: error: no matching function for call to ‘v8::Value::Int32Value()’ fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:231:33: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ String::Utf8Value path(info[1]); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3135:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ Utf8Value(Isolate* isolate, Local<v8::Value> obj); ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:258:28: error: no matching function for call to ‘v8::Value::Int32Value()’ fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:259:27: error: no matching function for call to ‘v8::Value::ToObject()’ buf = info[1]->ToObject(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( ^~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’ Local<Object> ToObject(Isolate* isolate) const); ^~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided Local<Object> ToObject(Isolate* isolate) const); ^~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:260:33: error: no matching function for call to ‘v8::Value::Uint32Value()’ offset = info[2]->Uint32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:261:33: error: no matching function for call to ‘v8::Value::Uint32Value()’ length = info[3]->Uint32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2707:41: note: candidate: ‘v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value( ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:262:33: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ String::Utf8Value path(info[4]); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3135:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ Utf8Value(Isolate* isolate, Local<v8::Value> obj); ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:302:28: error: no matching function for call to ‘v8::Value::Int32Value()’ fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:303:27: error: no matching function for call to ‘v8::Value::ToObject()’ buf = info[1]->ToObject(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2672:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject( ^~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2686:31: note: candidate: ‘v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const’ Local<Object> ToObject(Isolate* isolate) const); ^~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided Local<Object> ToObject(Isolate* isolate) const); ^~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:340:28: error: no matching function for call to ‘v8::Value::Int32Value()’ fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:341:33: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ String::Utf8Value path(info[1]); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3135:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’ Utf8Value(Isolate* isolate, Local<v8::Value> obj); ^~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/unix_dgram.cc:361:28: error: no matching function for call to ‘v8::Value::Int32Value()’ fd = info[0]->Int32Value(); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const; ^~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc: In function ‘void {anonymous}::Initialize(v8::Local<v8::Object>)’: ../src/unix_dgram.cc:395:70: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] target->Set(Nan::New("AF_UNIX").ToLocalChecked(), Nan::New(AF_UNIX)); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:396:76: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] target->Set(Nan::New("SOCK_DGRAM").ToLocalChecked(), Nan::New(SOCK_DGRAM)); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8-internal.h:14, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:399:63: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ Nan::New<FunctionTemplate>(Socket)->GetFunction()); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:402:61: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ Nan::New<FunctionTemplate>(Bind)->GetFunction()); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:405:63: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ Nan::New<FunctionTemplate>(SendTo)->GetFunction()); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:408:61: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ Nan::New<FunctionTemplate>(Send)->GetFunction()); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:411:64: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ Nan::New<FunctionTemplate>(Connect)->GetFunction()); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:414:62: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ Nan::New<FunctionTemplate>(Close)->GetFunction()); ^ In file included from /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:67, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~~~~~~~~~ /home/iobroker/.cache/node-gyp/12.22.6/include/node/v8.h:6126:46: note: candidate expects 1 argument, 0 provided In file included from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: ../src/unix_dgram.cc: At global scope: /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/iobroker/.cache/node-gyp/12.22.6/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(unix_dgram, Initialize) ^~~~~~~~~~~ make: *** [unix_dgram.target.mk:109: Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 5.10.60-v7+ 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/iobroker.js-controller/node_modules/unix-dgram gyp ERR! node -v v12.22.6 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm WARN winston-syslog@2.4.4 requires a peer of winston@^3.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.6 (node_modules/iobroker.js-controller/node_modules/diskusage): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.6 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/iobroker.js-controller/node_modules/unix-dgram): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 up to date in 54.051s 26 packages are looking for funding run `npm fund` for details pi@pi:/opt/iobroker/node_modules/@serialport $ -
@janni01 sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
@glasfaser Das was mir geraten wurde.
Aber nicht im Hauptverzeichniss den Befehl npm install --production durchführen !
Nochmal zum eigentlichen Problem die Liste mit den Seriellen Prots wird nciht aufgebaut im Smartmeter.
Ja , da sind wir gerade drann ... was erscheint im Log , wieder die gleichen Fehlermeldungen !?
@glasfaser sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
was erscheint im Log , wieder die gleichen Fehlermeldungen !?Damit meinte ich das Log beim smartmeteradapter
-
@glasfaser sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
was erscheint im Log , wieder die gleichen Fehlermeldungen !?Damit meinte ich das Log beim smartmeteradapter
Last login: Fri Sep 3 10:49:41 2021 pi@pi:~ $ iobroker status iobroker is running Objects type: file States type: file pi@pi:~ $ich bekomme zwar die Rückmeldung status running die admin Konsole ist jetzt nicht aufrufbar.
-
@janni01 sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
die admin Konsole ist jetzt nicht aufrufbar.
?? was machst du
was sagt
iobroker list adapters iobroker list instancespi@pi:~ $ iobroker list adapters system.adapter.admin : admin - v5.1.23 system.adapter.discovery : discovery - v2.7.0 system.adapter.net-tools : net-tools - v0.1.7 system.adapter.ping : ping - v1.5.0 system.adapter.tr-064 : tr-064 - v4.2.14 system.adapter.web : web - v3.4.7 system.adapter.history : history - v1.9.13 system.adapter.javascript : javascript - v5.2.8 system.adapter.info : info - v1.9.8 system.adapter.smartmeter : smartmeter - v3.2.1 system.adapter.iot : iot - v1.8.22 system.adapter.rflink : rflink - v2.1.6 system.adapter.cul : cul - v1.3.5 system.adapter.deconz : deconz - v1.3.19 pi@pi:~ $ iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup - enabled system.adapter.discovery.0 : discovery - enabled system.adapter.history.0 : history - enabled system.adapter.smartmeter.0 : smartmeter - enabled + instance is alive pi@pi:~ $ -
pi@pi:~ $ iobroker list adapters system.adapter.admin : admin - v5.1.23 system.adapter.discovery : discovery - v2.7.0 system.adapter.net-tools : net-tools - v0.1.7 system.adapter.ping : ping - v1.5.0 system.adapter.tr-064 : tr-064 - v4.2.14 system.adapter.web : web - v3.4.7 system.adapter.history : history - v1.9.13 system.adapter.javascript : javascript - v5.2.8 system.adapter.info : info - v1.9.8 system.adapter.smartmeter : smartmeter - v3.2.1 system.adapter.iot : iot - v1.8.22 system.adapter.rflink : rflink - v2.1.6 system.adapter.cul : cul - v1.3.5 system.adapter.deconz : deconz - v1.3.19 pi@pi:~ $ iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup - enabled system.adapter.discovery.0 : discovery - enabled system.adapter.history.0 : history - enabled system.adapter.smartmeter.0 : smartmeter - enabled + instance is alive pi@pi:~ $ -
pi@pi:~ $ curl -fsL https://iobroker.net/fix.sh | bash - library: loaded Library version=2021-08-05 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2021-04-07 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB] Hit:3 https://deb.nodesource.com/node_12.x buster InRelease Hit:4 https://dl.yarnpkg.com/debian stable InRelease Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [380 kB] Err:4 https://dl.yarnpkg.com/debian stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E Fetched 428 kB in 13s (33.6 kB/s) Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E W: Some index files failed to download. They have been ignored, or old ones used instead. Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@pi:~ $ iobroker start pi@pi:~ $ npm install --production npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 481 packages in 23.268s 11 packages are looking for funding run `npm fund` for details found 3 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details pi@pi:~ $@janni01 sagte in Smartmeter Adapter Probleme mit Hirche IR-Lesekopf:
https://dl.yarnpkg.com/debian stable InRelease
Wo kommt das Repo her? Das hat da imho auch nix zu suchen.
-
Hallo ich habe auf de raspberry ppi 2 IR-Leseköpfe von Hirche, wenn ich den Smartmeter im Iobroker installiere erkennt er nicht die Leseköpfe. erzeugt nicht die Dropdown Liste und bringt nur Fehler im Protokoll.

Danke vorab für die Hilfe..
-
Ich habe auch diesen Sensor in der USB Version und das schaut bei mir so aus:

So läuft das schon seit einiger Zeit einwandfrei.
-
@c1olli ich verstehe nicht warum die Schnittstelle nicht dargestellt wird bei mir?
Hast du die Leseköpfe auch auf eine raspi3 mit SD card?
-
@janni01
USB Lesekopf von Hitchi, RPi 4 und SD Card.
Den USB Anschluß konnte ich im entsprechendem Menü (Serielles Gerät: Name) per dropdown auswählen - er wurde nicht gleich automatisch angezeigt. -
@c1olli eben er baut bei mir nicht mal die Liste auf. Da steht es wird gesucht und dann kommt nichts.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden
