NEWS
Installation maxcul schlägt fehl
-
Hallo Zusammen,
ich brauche bitte eure Hilfe.
habe den ganzen Abend vergeblich versucht, den maxcul Adapter zu installieren.
Um nicht das ganze log zu posten, hier der Beginn des Problems im Log:
node-pre-gyp info using node-pre-gyp@0.6.32 node-pre-gyp info using node@11.4.0 | linux | arm node-pre-gyp verb command install [] node-pre-gyp info check checked for "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" (not found) node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp)iobroker ist auf nem Raspberry installiert.
node -v
v6.15.1
nodejs -v
v6.15.1
Das Problem ist, das es den Pfad https://github.com/EmergingTechnologyAd … oad/4.0.7/ nicht gibt.
Wie mache ich der Installation klar, dass der Pfad falsch ist?
Sorry für evtl. dumme Frage, bin ein echter Noob.
Danke für eure Hilfe im voraus.
Andreas
-
Hier die folgenden vielen Zeilen.
Ich kann damit ehrlich gesagt nix anfangen.
Vielen Dank für die Hilfe.
<code>make: *** [Release/obj.target/serialport/src/serialport.o] Error 1 make: *** [Release/obj.target/serialport/src/serialport.o] Error 1gypgyp ERR! build error ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) gyp ERR! System Linux 4.9.35-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport gyp ERR! node -v v11.4.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) gyp ERR! System Linux 4.9.35-v7+gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport gyp ERR! node -v v11.4.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release' (1)node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:978:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5) node-pre-gyp ERR! System Linux 4.9.35-v7+ node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport node-pre-gyp ERR! node -v v11.4.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.32 node-pre-gyp ERR! not ok npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1npm ERR! npm ERR! Failed at the serialport@4.0.7 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! /home/iobroker/.npm/_logs/2018-12-19T20_33_11_691Z-debug.log host.raspberrypi install adapter maxcul NPM version: 6.4.1 npm install iobroker.maxcul --production --save --prefix "/opt/iobroker" (System call) node-pre-gyp info it worked if it ends with ok node-pre-gyp verb cli [ '/usr/local/bin/node',node-pre-gyp verb cli '/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/.bin/node-pre-gyp',node-pre-gyp verb cli 'install', node-pre-gyp verb cli '--fallback-to-build' ] node-pre-gyp info using node-pre-gyp@0.6.32 node-pre-gyp info using node@11.4.0 | linux | armnode-pre-gyp verb command install [] node-pre-gyp info check checked for "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" (not found)node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gznode-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp) node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp verb command build [ 'rebuild' ] node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp) node-pre-gyp http Connection closed while downloading tarball file node-pre-gyp verb command build [ 'rebuild' ] In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::value>)’: ../../../../nan/nan.h:1064:78: warning: ‘v8::Local <v8::string>v8::Value::ToString(v8::Isolate*) const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2537): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::string>string = from->ToString(v8::Isolate::GetCurrent()); ^ ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’ return getValueFromObject(options, key)->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:90:52: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::object>, std::string)’: ../src/serialport.cpp:94:54: warning: ‘v8::Local <v8::boolean>v8::Value::ToBoolean() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10242): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToBoolean()->BooleanValue(); ^ ../src/serialport.cpp:94:70: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2568): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToBoolean()->BooleanValue(); ^ ../src/serialport.cpp: In function ‘v8::Local <v8::string>getStringFromObj(v8::Local<v8::object>, std::string)’: ../src/serialport.cpp:98:53: warning: ‘v8::Local <v8::string>v8::Value::ToString() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10248): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToString(); ^ ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’: ../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’ return getValueFromObject(options, key)->ToNumber()->NumberValue(); ^ ../src/serialport.cpp:102:53: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2519:44: note: v8::MaybeLocal <v8::number>v8::Value::ToNumber(v8::Local<v8::context>) const V8_WARN_UNUSED_RESULT MaybeLocal <number>ToNumber( ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2519:44: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2536:31: note: v8::Local <v8::number>v8::Value::ToNumber(v8::Isolate*) const Local <number>ToNumber(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2536:31: note: candidate expects 1 argument, 0 provided Local <number>ToNumber(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:111:48: warning: ‘v8::Local <v8::string>v8::Value::ToString() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10248): Use maybe version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ ../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::value>)’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2991): Use Isolate version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ ../src/serialport.cpp:118:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>options = info[1]->ToObject(); ^ ../src/serialport.cpp:141:100: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>platformOptions = getValueFromObject(options, "platformOptions")->ToObject(); ^ In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../../../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::value>)’: ../../../../nan/nan.h:1064:78: warning: ‘v8::Local <v8::string>v8::Value::ToString(v8::Isolate*) const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2537): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::string>string = from->ToString(v8::Isolate::GetCurrent()); ^ ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = argv[1]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:174:31: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp:180:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:193:29: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp:200:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>options = info[1]->ToObject(); ^ ../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’ baton->baudRate = Nan::Get(options, Nan::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:217:116: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:240:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:252:29: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp:259:52: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>buffer = info[1]->ToObject(); ^ ../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’:../src/serialport.cpp:339:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’ baton->fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:369:32: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:403:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:../src/serialport.cpp:465:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:480:29: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:516:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:528:29: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp:535:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>options = info[1]->ToObject(); ^ ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:573:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:585:29: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:617:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:90:52: error: no matching function for call to ‘v8::Value::ToInt32()’ return getValueFromObject(options, key)->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:90:52: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘bool getBoolFromObject(v8::Local<v8::object>, std::string)’: ../src/serialport.cpp:94:54: warning: ‘v8::Local <v8::boolean>v8::Value::ToBoolean() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10242): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToBoolean()->BooleanValue(); ^ ../src/serialport.cpp:94:70: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2568): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToBoolean()->BooleanValue(); ^ ../src/serialport.cpp: In function ‘v8::Local <v8::string>getStringFromObj(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:98:53: warning: ‘v8::Local <v8::string>v8::Value::ToString() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10248): Use maybe version [-Wdeprecated-declarations] return getValueFromObject(options, key)->ToString(); ^ ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’: ../src/serialport.cpp:102:53: error: no matching function for call to ‘v8::Value::ToNumber()’ return getValueFromObject(options, key)->ToNumber()->NumberValue(); ^ ../src/serialport.cpp:102:53: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2519:44: note: v8::MaybeLocal <v8::number>v8::Value::ToNumber(v8::Local<v8::context>) const V8_WARN_UNUSED_RESULT MaybeLocal <number>ToNumber( ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2519:44: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2536:31: note: v8::Local <v8::number>v8::Value::ToNumber(v8::Isolate*) const Local <number>ToNumber(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2536:31: note: candidate expects 1 argument, 0 provided Local <number>ToNumber(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:111:48: warning: ‘v8::Local <v8::string>v8::Value::ToString() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10248): Use maybe version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ ../src/serialport.cpp:111:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::value>)’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2991): Use Isolate version [-Wdeprecated-declarations] v8::String::Utf8Value path(info[0]->ToString()); ^ ../src/serialport.cpp:118:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>options = info[1]->ToObject(); ^ ../src/serialport.cpp:141:100: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>platformOptions = getValueFromObject(options, "platformOptions")->ToObject(); ^ ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = argv[1]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:174:31: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp:180:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:193:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:193:29: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp:200:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>options = info[1]->ToObject(); ^ ../src/serialport.cpp:217:116: error: no matching function for call to ‘v8::Value::ToInt32()’ baton->baudRate = Nan::Get(options, Nan::New<v8::string>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:217:116: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’: ../src/serialport.cpp:240:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/serialport.cpp:252:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:252:29: note: candidates are: In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp:259:52: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>buffer = info[1]->ToObject(); ^ ../src/serialport.cpp: In function ‘void EIO_AfterWrite(uv_work_t*)’:../src/serialport.cpp:339:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’ baton->fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:369:32: note: candidates are:In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’: ../src/serialport.cpp:403:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:../src/serialport.cpp:465:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:480:29: note: candidates are:In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:516:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:528:29: note: candidates are:In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp:535:53: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated (declared at /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:10254): Use maybe version [-Wdeprecated-declarations] v8::Local <v8::object>options = info[1]->ToObject(); ^ ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:573:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’ int fd = info[0]->ToInt32()->Int32Value(); ^ ../src/serialport.cpp:585:29: note: candidates are:In file included from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63:0, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: 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/.node-gyp/11.4.0/include/node/v8.h:2531:43: note: candidate expects 1 argument, 0 provided In file included from /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/11.4.0/include/node/node.h:63, from ../../../../nan/nan.h:52, from ../src/./serialport.h:7, from ../src/serialport.cpp:1: /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: v8::Local <v8::int32>v8::Value::ToInt32(v8::Isolate*) const Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8.h:2544:30: note: candidate expects 1 argument, 0 provided Local <int32>ToInt32(Isolate* isolate) const); ^ /home/iobroker/.node-gyp/11.4.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^ ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:91:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’: ../src/serialport.cpp:617:30: warning: ‘v8::Local <v8::value>Nan::Callback::Call(int, v8::Local<v8::value>*) const’ is deprecated (declared at ../../../../nan/nan.h:1655) [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:103:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:91:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::object>, std::string)’:../src/serialport.cpp:103:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [Release/obj.target/serialport/src/serialport.o] Error 1 gyp make: *** [Release/obj.target/serialport/src/serialport.o] Error 1 ERR! build error gypgyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)</v8::object></v8::object></v8::object></v8::value></v8::value></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::string></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::object></v8::object></v8::object></v8::object></v8::value></v8::string></number></number></v8::number></number></v8::context></v8::number></v8::object></v8::string></v8::object></v8::string></v8::boolean></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::object></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::string></v8::object></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::value></v8::value></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::string></v8::string></v8::value></v8::object></v8::object></v8::object></v8::object></v8::value></v8::string></number></number></v8::number></number></v8::context></v8::number></v8::object></v8::string></v8::object></v8::string></v8::boolean></v8::object></int32></int32></v8::int32></context></int32></v8::context></v8::int32></v8::object></v8::string></v8::string></v8::value></anonymous></code> -
Über die console kommt dann folgendes:
root@raspberrypi:/opt/iobroker# npm install iobroker.maxcul > serialport@4.0.7 install /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport > node-pre-gyp install --fallback-to-build node-pre-gyp info it worked if it ends with ok node-pre-gyp verb cli [ '/usr/local/bin/node', node-pre-gyp verb cli '/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/.bin/node-pre-gyp', node-pre-gyp verb cli 'install', node-pre-gyp verb cli '--fallback-to-build' ] node-pre-gyp info using node-pre-gyp@0.6.32 node-pre-gyp info using node@11.4.0 | linux | arm node-pre-gyp verb command install [] node-pre-gyp info check checked for "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" (not found) node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp) node-pre-gyp http EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build' node-pre-gyp verb command build [ 'rebuild' ] node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp) node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp verb command build [ 'rebuild' ] node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v67-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@11.4.0 (node-v67 ABI) (falling back to source compile with node-gyp) node-pre-gyp http Connection closed while downloading tarball file node-pre-gyp verb command build [ 'rebuild' ] gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.4.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/.node-gyp" gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/.node-gyp' gyp ERR! System Linux 4.9.35-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport gyp ERR! node -v v11.4.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release' (1) node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:978:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5) node-pre-gyp ERR! System Linux 4.9.35-v7+ node-pre-gyp ERR! command "/usr/local/bin/node" "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport node-pre-gyp ERR! node -v v11.4.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.32 node-pre-gyp ERR! not ok Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release' (1) gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.4.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/.node-gyp" gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.maxcul' gyp ERR!gyp System Linux 4.9.35-v7+ WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.4.0" gypgyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/.node-gyp" ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport gyp ERR! node -v v11.4.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.maxcul' gyp ERR! System Linux 4.9.35-v7+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport/build/Release" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.maxcul/node_modules/serialport gyp ERR! node -v v11.4.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@4.0.7 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/2018-12-19T22_21_38_983Z-debug.log</anonymous>