Install problem node-red-contrib-dmxusbpro

when i try to install node-red-contrib-dmxusbpro, i get an error and the node is not installed.
I use an Rpi3B with Raspian Stretch and NodeRed in the latest version.

The entry in the logfile:
"-----------------------------------------------------------
2020-04-23T07:44:26.605Z installieren : node-red-contrib-dmxusbpro 1.0.4

2020-04-23T07:44:26.572Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-dmxusbpro@1.0.4
2020-04-23T07:44:56.018Z [out]
2020-04-23T07:44:56.018Z [out] > serialport@6.2.2 install /root/.node-red/node_modules/node-red-contrib-dmxusbpro/node_modules/serialport
2020-04-23T07:44:56.018Z [out] > prebuild-install || node-gyp rebuild
2020-04-23T07:44:56.018Z [out]
2020-04-23T07:45:17.469Z [err] prebuild-install
2020-04-23T07:45:17.470Z [err] WARN install No prebuilt binaries found (target=12.16.2 runtime=node arch=arm platform=linux)
2020-04-23T07:45:20.058Z [out] make: Verzeichnis „/root/.node-red/node_modules/node-red-contrib-dmxusbpro/node_modules/serialport/build“ wird betreten
2020-04-23T07:45:20.065Z [out] CXX(target) Release/obj.target/serialport/src/serialport.o
2020-04-23T07:45:23.996Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
2020-04-23T07:45:23.996Z [err] ../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
2020-04-23T07:45:23.996Z [err] v8::String::Utf8Value path(info[0]->ToString());
2020-04-23T07:45:23.996Z [err] ^
2020-04-23T07:45:23.996Z [err] ../src/serialport.cpp:41:48: note: candidates are:
2020-04-23T07:45:23.998Z [err] In file included from /root/.cache/node-gyp/12.16.2/include/node/node.h:67:0,
2020-04-23T07:45:23.998Z [err] from ../../../../nan/nan.h:56,
2020-04-23T07:45:23.998Z [err] from ../src/./serialport.h:6,
2020-04-23T07:45:23.998Z [err] from ../src/serialport.cpp:1:
2020-04-23T07:45:23.998Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2668:44: note: v8::MaybeLocalv8::String v8::Value::ToString(v8::Localv8::Context) const
2020-04-23T07:45:23.998Z [err] V8_WARN_UNUSED_RESULT MaybeLocal ToString(
2020-04-23T07:45:23.998Z [err] ^
2020-04-23T07:45:23.998Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2668:44: note: candidate expects 1 argument, 0 provided
2020-04-23T07:45:23.998Z [err] In file included from /root/.cache/node-gyp/12.16.2/include/node/v8-internal.h:14:0,
2020-04-23T07:45:23.998Z [err] from /root/.cache/node-gyp/12.16.2/include/node/v8.h:27,
2020-04-23T07:45:23.998Z [err] from /root/.cache/node-gyp/12.16.2/include/node/node.h:67,
2020-04-23T07:45:23.998Z [err] from ../../../../nan/nan.h:56,
2020-04-23T07:45:23.998Z [err] from ../src/./serialport.h:6,
2020-04-23T07:45:23.998Z [err] from ../src/serialport.cpp:1:
2020-04-23T07:45:23.998Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2684:31: note: v8::Localv8::String v8::Value::ToString(v8::Isolate*) const
2020-04-23T07:45:23.998Z [err] Local ToString(Isolate* isolate) const);
2020-04-23T07:45:23.998Z [err] ^
2020-04-23T07:45:23.998Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
2020-04-23T07:45:23.998Z [err] declarator attribute((deprecated(message)))
2020-04-23T07:45:23.998Z [err] ^
2020-04-23T07:45:23.998Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2684:31: note: candidate expects 1 argument, 0 provided
2020-04-23T07:45:23.998Z [err] Local ToString(Isolate* isolate) const);
2020-04-23T07:45:23.998Z [err] ^
2020-04-23T07:45:23.998Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
2020-04-23T07:45:23.998Z [err] declarator attribute((deprecated(message)))
2020-04-23T07:45:23.998Z [err] ^
2020-04-23T07:45:23.999Z [err] ../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’
2020-04-23T07:45:23.999Z [err] v8::Localv8::Object options = info[1]->ToObject();
2020-04-23T07:45:23.999Z [err] ^
2020-04-23T07:45:23.999Z [err] ../src/serialport.cpp:48:53: note: candidates are:
2020-04-23T07:45:23.999Z [err] In file included from /root/.cache/node-gyp/12.16.2/include/node/node.h:67:0,
2020-04-23T07:45:23.999Z [err] from ../../../../nan/nan.h:56,
2020-04-23T07:45:23.999Z [err] from ../src/./serialport.h:6,
2020-04-23T07:45:23.999Z [err] from ../src/serialport.cpp:1:
2020-04-23T07:45:23.999Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2672:44: note: v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const
2020-04-23T07:45:23.999Z [err] V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
2020-04-23T07:45:23.999Z [err] ^
2020-04-23T07:45:23.999Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided
2020-04-23T07:45:23.999Z [err] In file included from /root/.cache/node-gyp/12.16.2/include/node/v8-internal.h:14:0,
2020-04-23T07:45:23.999Z [err] from /root/.cache/node-gyp/12.16.2/include/node/v8.h:27,
2020-04-23T07:45:23.999Z [err] from /root/.cache/node-gyp/12.16.2/include/node/node.h:67,
2020-04-23T07:45:23.999Z [err] from ../../../../nan/nan.h:56,
2020-04-23T07:45:23.999Z [err] from ../src/./serialport.h:6,
2020-04-23T07:45:23.999Z [err] from ../src/serialport.cpp:1:
2020-04-23T07:45:23.999Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2686:31: note: v8::Localv8::Object v8::Value::ToObject(v8::Isolate*) const
2020-04-23T07:45:23.999Z [err] Local ToObject(Isolate* isolate) const);
2020-04-23T07:45:23.999Z [err] ^
2020-04-23T07:45:23.999Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
2020-04-23T07:45:23.999Z [err] declarator attribute((deprecated(message)))
2020-04-23T07:45:23.999Z [err] ^
2020-04-23T07:45:23.999Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided
2020-04-23T07:45:23.999Z [err] Local ToObject(Isolate* isolate) const);
2020-04-23T07:45:23.999Z [err] ^
2020-04-23T07:45:23.999Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
2020-04-23T07:45:23.999Z [err] declarator attribute((deprecated(message)))
2020-04-23T07:45:23.999Z [err] ^
2020-04-23T07:45:24.011Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
2020-04-23T07:45:24.011Z [err] ../src/serialport.cpp:95:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated (declared at ../../../../nan/nan.h:1742) [-Wdeprecated-declarations]
2020-04-23T07:45:24.011Z [err] data->callback.Call(2, argv);
2020-04-23T07:45:24.011Z [err] ^
2020-04-23T07:45:24.013Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
2020-04-23T07:45:24.013Z [err] ../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’
2020-04-23T07:45:24.013Z [err] v8::Localv8::Object options = info[1]->ToObject();
2020-04-23T07:45:24.013Z [err] ^
2020-04-23T07:45:24.013Z [err] ../src/serialport.cpp:113:53: note: candidates are:
2020-04-23T07:45:24.013Z [err] In file included from /root/.cache/node-gyp/12.16.2/include/node/node.h:67:0,
2020-04-23T07:45:24.013Z [err] from ../../../../nan/nan.h:56,
2020-04-23T07:45:24.013Z [err] from ../src/./serialport.h:6,
2020-04-23T07:45:24.013Z [err] from ../src/serialport.cpp:1:
2020-04-23T07:45:24.013Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2672:44: note: v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const
2020-04-23T07:45:24.013Z [err] V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
2020-04-23T07:45:24.013Z [err] ^
2020-04-23T07:45:24.013Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided
2020-04-23T07:45:24.013Z [err] In file included from /root/.cache/node-gyp/12.16.2/include/node/v8-internal.h:14:0,
2020-04-23T07:45:24.013Z [err] from /root/.cache/node-gyp/12.16.2/include/node/v8.h:27,
2020-04-23T07:45:24.013Z [err] from /root/.cache/node-gyp/12.16.2/include/node/node.h:67,
2020-04-23T07:45:24.013Z [err] from ../../../../nan/nan.h:56,
2020-04-23T07:45:24.013Z [err] from ../src/./serialport.h:6,
2020-04-23T07:45:24.013Z [err] from ../src/serialport.cpp:1:
2020-04-23T07:45:24.013Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2686:31: note: v8::Localv8::Object v8::Value::ToObject(v8::Isolate
) const
2020-04-23T07:45:24.013Z [err] Local ToObject(Isolate* isolate) const);
2020-04-23T07:45:24.013Z [err] ^
2020-04-23T07:45:24.013Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
2020-04-23T07:45:24.013Z [err] declarator attribute((deprecated(message)))
2020-04-23T07:45:24.013Z [err] ^
2020-04-23T07:45:24.013Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided
2020-04-23T07:45:24.013Z [err] Local ToObject(Isolate* isolate) const);
2020-04-23T07:45:24.013Z [err] ^
2020-04-23T07:45:24.013Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
2020-04-23T07:45:24.013Z [err] declarator attribute((deprecated(message)))
2020-04-23T07:45:24.013Z [err] ^
2020-04-23T07:45:24.018Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
2020-04-23T07:45:24.018Z [err] ../src/serialport.cpp:150:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated (declared at ../../../../nan/nan.h:1742) [-Wdeprecated-declarations]
2020-04-23T07:45:24.018Z [err] data->callback.Call(1, argv);
2020-04-23T07:45:24.018Z [err] ^
2020-04-23T07:45:24.022Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t
)’:
2020-04-23T07:45:24.022Z [err] ../src/serialport.cpp:188:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated (declared at ../../../../nan/nan.h:1742) [-Wdeprecated-declarations]
2020-04-23T07:45:24.022Z [err] data->callback.Call(1, argv);
2020-04-23T07:45:24.022Z [err] ^
2020-04-23T07:45:24.026Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t
)’:
2020-04-23T07:45:24.026Z [err] ../src/serialport.cpp:231:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated (declared at ../../../../nan/nan.h:1742) [-Wdeprecated-declarations]
2020-04-23T07:45:24.026Z [err] data->callback.Call(1, argv);
2020-04-23T07:45:24.026Z [err] ^
2020-04-23T07:45:24.027Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
2020-04-23T07:45:24.027Z [err] ../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’
2020-04-23T07:45:24.027Z [err] v8::Localv8::Object options = info[1]->ToObject();
2020-04-23T07:45:24.027Z [err] ^
2020-04-23T07:45:24.027Z [err] ../src/serialport.cpp:250:53: note: candidates are:
2020-04-23T07:45:24.028Z [err] In file included from /root/.cache/node-gyp/12.16.2/include/node/node.h:67:0,
2020-04-23T07:45:24.028Z [err] from ../../../../nan/nan.h:56,
2020-04-23T07:45:24.028Z [err] from ../src/./serialport.h:6,
2020-04-23T07:45:24.028Z [err] from ../src/serialport.cpp:1:
2020-04-23T07:45:24.028Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2672:44: note: v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const
2020-04-23T07:45:24.028Z [err] V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
2020-04-23T07:45:24.028Z [err] ^
2020-04-23T07:45:24.028Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2672:44: note: candidate expects 1 argument, 0 provided
2020-04-23T07:45:24.028Z [err] In file included from /root/.cache/node-gyp/12.16.2/include/node/v8-internal.h:14:0,
2020-04-23T07:45:24.028Z [err] from /root/.cache/node-gyp/12.16.2/include/node/v8.h:27,
2020-04-23T07:45:24.028Z [err] from /root/.cache/node-gyp/12.16.2/include/node/node.h:67,
2020-04-23T07:45:24.028Z [err] from ../../../../nan/nan.h:56,
2020-04-23T07:45:24.028Z [err] from ../src/./serialport.h:6,
2020-04-23T07:45:24.028Z [err] from ../src/serialport.cpp:1:
2020-04-23T07:45:24.028Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2686:31: note: v8::Localv8::Object v8::Value::ToObject(v8::Isolate
) const
2020-04-23T07:45:24.028Z [err] Local ToObject(Isolate* isolate) const);
2020-04-23T07:45:24.028Z [err] ^
2020-04-23T07:45:24.028Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
2020-04-23T07:45:24.028Z [err] declarator attribute((deprecated(message)))
2020-04-23T07:45:24.028Z [err] ^
2020-04-23T07:45:24.028Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8.h:2686:31: note: candidate expects 1 argument, 0 provided
2020-04-23T07:45:24.028Z [err] Local ToObject(Isolate* isolate) const);
2020-04-23T07:45:24.028Z [err] ^
2020-04-23T07:45:24.028Z [err] /root/.cache/node-gyp/12.16.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
2020-04-23T07:45:24.028Z [err] declarator attribute((deprecated(message)))
2020-04-23T07:45:24.028Z [err] ^
2020-04-23T07:45:24.032Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
2020-04-23T07:45:24.032Z [err] ../src/serialport.cpp:285:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated (declared at ../../../../nan/nan.h:1742) [-Wdeprecated-declarations]
2020-04-23T07:45:24.032Z [err] data->callback.Call(1, argv);
2020-04-23T07:45:24.032Z [err] ^
2020-04-23T07:45:24.041Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t
)’:
2020-04-23T07:45:24.041Z [err] ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.16.2/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
2020-04-23T07:45:24.041Z [err] results->Set(Nan::Newv8::String("cts").ToLocalChecked(), Nan::Newv8::Boolean(data->cts));
2020-04-23T07:45:24.041Z [err] ^
2020-04-23T07:45:24.042Z [err] ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.16.2/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
2020-04-23T07:45:24.042Z [err] results->Set(Nan::Newv8::String("dsr").ToLocalChecked(), Nan::Newv8::Boolean(data->dsr));
2020-04-23T07:45:24.042Z [err] ^
2020-04-23T07:45:24.044Z [err] ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.16.2/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
2020-04-23T07:45:24.044Z [err] results->Set(Nan::Newv8::String("dcd").ToLocalChecked(), Nan::Newv8::Boolean(data->dcd));
2020-04-23T07:45:24.044Z [err] ^
2020-04-23T07:45:24.044Z [err] ../src/serialport.cpp:336:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated (declared at ../../../../nan/nan.h:1742) [-Wdeprecated-declarations]
2020-04-23T07:45:24.044Z [err] data->callback.Call(2, argv);
2020-04-23T07:45:24.044Z [err] ^
2020-04-23T07:45:24.054Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t
)’:
2020-04-23T07:45:24.054Z [err] ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.16.2/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
2020-04-23T07:45:24.054Z [err] results->Set(Nan::Newv8::String("baudRate").ToLocalChecked(), Nan::Newv8::Integer(data->baudRate));
2020-04-23T07:45:24.054Z [err] ^
2020-04-23T07:45:24.055Z [err] ../src/serialport.cpp:383:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated (declared at ../../../../nan/nan.h:1742) [-Wdeprecated-declarations]
2020-04-23T07:45:24.055Z [err] data->callback.Call(2, argv);
2020-04-23T07:45:24.055Z [err] ^
2020-04-23T07:45:24.059Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t
)’:
2020-04-23T07:45:24.059Z [err] ../src/serialport.cpp:424:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value*) const’ is deprecated (declared at ../../../../nan/nan.h:1742) [-Wdeprecated-declarations]
2020-04-23T07:45:24.059Z [err] data->callback.Call(1, argv);
2020-04-23T07:45:24.059Z [err] ^
2020-04-23T07:45:24.061Z [err] ../src/serialport.cpp: At global scope:
2020-04-23T07:45:24.061Z [err] ../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void
2020-04-23T07:45:24.061Z [err] void init(v8::Handlev8::Object target) {
2020-04-23T07:45:24.061Z [err] ^
2020-04-23T07:45:24.061Z [err] ../src/serialport.cpp:460:13: error: ‘Handle’ is not a member of ‘v8’
2020-04-23T07:45:24.061Z [err] void init(v8::Handlev8::Object target) {
2020-04-23T07:45:24.061Z [err] ^
2020-04-23T07:45:24.062Z [err] ../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token
2020-04-23T07:45:24.062Z [err] void init(v8::Handlev8::Object target) {
2020-04-23T07:45:24.062Z [err] ^
2020-04-23T07:45:24.062Z [err] ../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope
2020-04-23T07:45:24.062Z [err] void init(v8::Handlev8::Object target) {
2020-04-23T07:45:24.062Z [err] ^
2020-04-23T07:45:24.062Z [err] In file included from ../../../../nan/nan.h:56:0,
2020-04-23T07:45:24.062Z [err] from ../src/./serialport.h:6,
2020-04-23T07:45:24.062Z [err] from ../src/serialport.cpp:1:
2020-04-23T07:45:24.062Z [err] ../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope
2020-04-23T07:45:24.062Z [err] NODE_MODULE(serialport, init);
2020-04-23T07:45:24.062Z [err] ^
2020-04-23T07:45:24.062Z [err] /root/.cache/node-gyp/12.16.2/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’
2020-04-23T07:45:24.062Z [err] (node::addon_register_func) (regfunc),
2020-04-23T07:45:24.062Z [err] ^
2020-04-23T07:45:24.062Z [err] ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
2020-04-23T07:45:24.062Z [err] NODE_MODULE(serialport, init);
2020-04-23T07:45:24.062Z [err] ^
2020-04-23T07:45:25.989Z [out] serialport.target.mk:112: die Regel für Ziel „Release/obj.target/serialport/src/serialport.o“ scheiterte
2020-04-23T07:45:25.990Z [out] make: Verzeichnis „/root/.node-red/node_modules/node-red-contrib-dmxusbpro/node_modules/serialport/build“ wird verlassen
2020-04-23T07:45:25.991Z [err] make: *** [Release/obj.target/serialport/src/serialport.o] Fehler 1
2020-04-23T07:45:25.997Z [err] gyp
2020-04-23T07:45:25.998Z [err]
2020-04-23T07:45:25.999Z [err] ERR! build error
2020-04-23T07:45:26.002Z [err] gyp
2020-04-23T07:45:26.003Z [err] ERR! stack
2020-04-23T07:45:26.003Z [err] Error: make failed with exit code: 2
2020-04-23T07:45:26.003Z [err] gyp ERR!
2020-04-23T07:45:26.004Z [err] stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2020-04-23T07:45:26.004Z [err] gyp
2020-04-23T07:45:26.004Z [err] ERR! stack
2020-04-23T07:45:26.004Z [err] at ChildProcess.emit (events.js:310:20)
2020-04-23T07:45:26.004Z [err] gyp ERR!
2020-04-23T07:45:26.005Z [err] stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2020-04-23T07:45:26.006Z [err] gyp
2020-04-23T07:45:26.006Z [err] ERR! System Linux 4.19.115-v7+
2020-04-23T07:45:26.007Z [err] gyp
2020-04-23T07:45:26.007Z [err] ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-04-23T07:45:26.008Z [err] gyp ERR!
2020-04-23T07:45:26.008Z [err] cwd /root/.node-red/node_modules/node-red-contrib-dmxusbpro/node_modules/serialport
2020-04-23T07:45:26.008Z [err] gyp
2020-04-23T07:45:26.008Z [err] ERR! node -v v12.16.2
2020-04-23T07:45:26.009Z [err] gyp ERR! node-gyp -v v5.1.0
2020-04-23T07:45:26.009Z [err] gyp ERR!
2020-04-23T07:45:26.010Z [err] not ok
2020-04-23T07:45:27.622Z [err] npm
2020-04-23T07:45:27.623Z [err] WARN node-red-project@0.0.1 No repository field.
2020-04-23T07:45:27.623Z [err] npm WARN
2020-04-23T07:45:27.623Z [err] node-red-project@0.0.1 No license field.
2020-04-23T07:45:27.625Z [err]
2020-04-23T07:45:27.699Z [err] npm
2020-04-23T07:45:27.699Z [err] ERR! code ELIFECYCLE
2020-04-23T07:45:27.699Z [err] npm ERR!
2020-04-23T07:45:27.700Z [err] errno 1
2020-04-23T07:45:27.700Z [err] npm
2020-04-23T07:45:27.700Z [err] ERR! serialport@6.2.2 install: prebuild-install || node-gyp rebuild
2020-04-23T07:45:27.700Z [err] npm
2020-04-23T07:45:27.700Z [err] ERR! Exit status 1
2020-04-23T07:45:27.701Z [err] npm ERR!
2020-04-23T07:45:27.705Z [err] npm ERR! Failed at the serialport@6.2.2 install script.
2020-04-23T07:45:27.705Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-04-23T07:45:27.816Z [err]
2020-04-23T07:45:27.817Z [err] npm ERR! A complete log of this run can be found in:
2020-04-23T07:45:27.817Z [err] npm ERR! /root/.npm/_logs/2020-04-23T07_45_27_769Z-debug.log
2020-04-23T07:45:27.836Z rc=1"

Hopefully someone can help me.

Are you running node-red as root? That really is not a good idea, though I don't know whether that would cause the problem you are seeing.
Did you install node-red using the recommended script from the docs? That would ensure you have a consistent set of tools.
https://nodered.org/docs/getting-started/raspberrypi

i don't believe that the "root running" cause the problem, on another raspi node-red is running as root as well and on this raspi i don't get any errors.

I have installed node-red using the script from the docs.

The node requires an old version of the serialport module (6.2.2) which will not build on your system (nor on mine). My guess is that is too old for version 12 of nodejs.
You could try reverting to nodejs 10 or 8, and if it works then raise an issue against the node. It is possible that it just needs its package.json hacked to allow it use the latest version of the serialport module.

Now I have changed the nodejs version to 10.20.1 and it works.

Thank you for your help

In that case add an issue to the node's github page, which is linked from the npmjs page. Then hopefully the author will fix it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.