Failing installing node-red-contrib-nube-logic 1.0.4

Hi there.

I've been trying install node-red-contrib-nube-logic by the "manage palette" set menu. But i get many errors.

npm V 6.13.4
node V 12.14.1
Raspbian GNU/Linux 10 (buster)

This is the node red error log:


-----------------------------------------------------------
2020-01-15T20:33:31.784Z installieren : node-red-contrib-nube-logic 1.0.4

2020-01-15T20:33:31.894Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-nube-logic@1.0.4
2020-01-15T20:33:41.300Z [out] 
2020-01-15T20:33:41.300Z [out] > time@0.11.4 install /home/pi/.node-red/node_modules/time
2020-01-15T20:33:41.300Z [out] > node-gyp rebuild
2020-01-15T20:33:41.300Z [out] 
2020-01-15T20:33:43.613Z [out] make: Verzeichnis „/home/pi/.node-red/node_modules/time/build“ wird betreten
2020-01-15T20:33:43.618Z [out]   CXX(target) Release/obj.target/time/src/time.o
2020-01-15T20:33:46.593Z [err] In file included from ../src/time.cc:5:
2020-01-15T20:33:46.593Z [err] ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
2020-01-15T20:33:46.593Z [err] ../../nan/nan.h:2298: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]
2020-01-15T20:33:46.593Z [err]      , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
2020-01-15T20:33:46.593Z [err]                                                               ^
2020-01-15T20:33:46.675Z [err] ../src/time.cc: At global scope:
2020-01-15T20:33:46.675Z [err] ../src/time.cc:12:20: error: ‘Handle’ has not been declared
2020-01-15T20:33:46.675Z [err]    static void Init(Handle<Object> target) {
2020-01-15T20:33:46.675Z [err]                     ^~~~~~
2020-01-15T20:33:46.675Z [err] ../src/time.cc:12:26: error: expected ‘,’ or ‘...’ before ‘<’ token
2020-01-15T20:33:46.675Z [err]    static void Init(Handle<Object> target) {
2020-01-15T20:33:46.675Z [err]                           ^
2020-01-15T20:33:46.675Z [err] ../src/time.cc: In static member function ‘static void Time::Init(int)’:
2020-01-15T20:33:46.675Z [err] ../src/time.cc:16:20: error: ‘target’ was not declared in this scope
2020-01-15T20:33:46.675Z [err]      Nan::SetMethod(target, "time", Time_);
2020-01-15T20:33:46.675Z [err]                     ^~~~~~
2020-01-15T20:33:46.687Z [err] ../src/time.cc:16:20: note: suggested alternative: ‘tzset’
2020-01-15T20:33:46.687Z [err]      Nan::SetMethod(target, "time", Time_);
2020-01-15T20:33:46.687Z [err]                     ^~~~~~
2020-01-15T20:33:46.687Z [err]                     tzset
2020-01-15T20:33:46.703Z [err] ../src/time.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Time::Localtime(Nan::NAN_METHOD_ARGS_TYPE)’:
2020-01-15T20:33:46.703Z [err] ../src/time.cc:65:64: error: no matching function for call to ‘v8::Value::IntegerValue()’
2020-01-15T20:33:46.703Z [err]      time_t rawtime = static_cast<time_t>(info[0]->IntegerValue());
2020-01-15T20:33:46.703Z [err]                                                                 ^
2020-01-15T20:33:46.704Z [err] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
2020-01-15T20:33:46.704Z [err]                  from ../../nan/nan.h:54,
2020-01-15T20:33:46.704Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.704Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2609:40: note: candidate: ‘v8::Maybe<long long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
2020-01-15T20:33:46.704Z [err]    V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
2020-01-15T20:33:46.704Z [err]                                         ^~~~~~~~~~~~
2020-01-15T20:33:46.704Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2609:40: note:   candidate expects 1 argument, 0 provided
2020-01-15T20:33:46.727Z [err] ../src/time.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Time::Mktime(Nan::NAN_METHOD_ARGS_TYPE)’:
2020-01-15T20:33:46.727Z [err] ../src/time.cc:119:103: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-01-15T20:33:46.727Z [err]      tmstr.tm_sec   = Nan::Get(arg, Nan::New("seconds").ToLocalChecked()).ToLocalChecked()->Int32Value();
2020-01-15T20:33:46.727Z [err]                                                                                                        ^
2020-01-15T20:33:46.727Z [err] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
2020-01-15T20:33:46.727Z [err]                  from ../../nan/nan.h:54,
2020-01-15T20:33:46.727Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.727Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2020-01-15T20:33:46.727Z [err]    V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2020-01-15T20:33:46.727Z [err]                                         ^~~~~~~~~~
2020-01-15T20:33:46.727Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
2020-01-15T20:33:46.727Z [err] ../src/time.cc:120:103: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-01-15T20:33:46.727Z [err]      tmstr.tm_min   = Nan::Get(arg, Nan::New("minutes").ToLocalChecked()).ToLocalChecked()->Int32Value();
2020-01-15T20:33:46.727Z [err]                                                                                                        ^
2020-01-15T20:33:46.727Z [err] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
2020-01-15T20:33:46.727Z [err]                  from ../../nan/nan.h:54,
2020-01-15T20:33:46.727Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.727Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2020-01-15T20:33:46.727Z [err]    V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2020-01-15T20:33:46.727Z [err]                                         ^~~~~~~~~~
2020-01-15T20:33:46.727Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
2020-01-15T20:33:46.728Z [err] ../src/time.cc:121:101: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-01-15T20:33:46.728Z [err]      tmstr.tm_hour  = Nan::Get(arg, Nan::New("hours").ToLocalChecked()).ToLocalChecked()->Int32Value();
2020-01-15T20:33:46.728Z [err]                                                                                                      ^
2020-01-15T20:33:46.728Z [err] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
2020-01-15T20:33:46.728Z [err]                  from ../../nan/nan.h:54,
2020-01-15T20:33:46.728Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.728Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2020-01-15T20:33:46.728Z [err]    V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2020-01-15T20:33:46.728Z [err]                                         ^~~~~~~~~~
2020-01-15T20:33:46.728Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
2020-01-15T20:33:46.734Z [err] ../src/time.cc:122:106: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-01-15T20:33:46.734Z [err]      tmstr.tm_mday  = Nan::Get(arg, Nan::New("dayOfMonth").ToLocalChecked()).ToLocalChecked()->Int32Value();
2020-01-15T20:33:46.734Z [err]                                                                                                           ^
2020-01-15T20:33:46.734Z [err] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
2020-01-15T20:33:46.734Z [err]                  from ../../nan/nan.h:54,
2020-01-15T20:33:46.734Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.734Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2020-01-15T20:33:46.734Z [err]    V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2020-01-15T20:33:46.734Z [err]                                         ^~~~~~~~~~
2020-01-15T20:33:46.734Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
2020-01-15T20:33:46.734Z [err] ../src/time.cc:123:101: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-01-15T20:33:46.734Z [err]      tmstr.tm_mon   = Nan::Get(arg, Nan::New("month").ToLocalChecked()).ToLocalChecked()->Int32Value();
2020-01-15T20:33:46.734Z [err]                                                                                                      ^
2020-01-15T20:33:46.734Z [err] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
2020-01-15T20:33:46.734Z [err]                  from ../../nan/nan.h:54,
2020-01-15T20:33:46.734Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.734Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2020-01-15T20:33:46.734Z [err]    V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2020-01-15T20:33:46.734Z [err]                                         ^~~~~~~~~~
2020-01-15T20:33:46.734Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
2020-01-15T20:33:46.734Z [err] ../src/time.cc:124:100: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-01-15T20:33:46.734Z [err]      tmstr.tm_year  = Nan::Get(arg, Nan::New("year").ToLocalChecked()).ToLocalChecked()->Int32Value();
2020-01-15T20:33:46.734Z [err]                                                                                                     ^
2020-01-15T20:33:46.734Z [err] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
2020-01-15T20:33:46.734Z [err]                  from ../../nan/nan.h:54,
2020-01-15T20:33:46.734Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.734Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2020-01-15T20:33:46.734Z [err]    V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2020-01-15T20:33:46.734Z [err]                                         ^~~~~~~~~~
2020-01-15T20:33:46.734Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
2020-01-15T20:33:46.734Z [err] ../src/time.cc:125:113: error: no matching function for call to ‘v8::Value::Int32Value()’
2020-01-15T20:33:46.734Z [err]      tmstr.tm_isdst = Nan::Get(arg, Nan::New("isDaylightSavings").ToLocalChecked()).ToLocalChecked()->Int32Value();
2020-01-15T20:33:46.734Z [err]                                                                                                                  ^
2020-01-15T20:33:46.734Z [err] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
2020-01-15T20:33:46.734Z [err]                  from ../../nan/nan.h:54,
2020-01-15T20:33:46.734Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.734Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note: candidate: ‘v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const’
2020-01-15T20:33:46.734Z [err]    V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2020-01-15T20:33:46.734Z [err]                                         ^~~~~~~~~~
2020-01-15T20:33:46.734Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
2020-01-15T20:33:46.734Z [err] ../src/time.cc: At global scope:
2020-01-15T20:33:46.734Z [err] ../src/time.cc:134:21: error: variable or field ‘init’ declared void
2020-01-15T20:33:46.734Z [err]    static void init (Handle<Object> target) {
2020-01-15T20:33:46.734Z [err]                      ^~~~~~
2020-01-15T20:33:46.734Z [err] ../src/time.cc:134:21: error: ‘Handle’ was not declared in this scope
2020-01-15T20:33:46.736Z [err] ../src/time.cc:134:21: note: suggested alternative: ‘rand_r’
2020-01-15T20:33:46.736Z [err]    static void init (Handle<Object> target) {
2020-01-15T20:33:46.736Z [err]                      ^~~~~~
2020-01-15T20:33:46.736Z [err]                      rand_r
2020-01-15T20:33:46.737Z [err] ../src/time.cc:134:34: error: expected primary-expression before ‘>’ token
2020-01-15T20:33:46.737Z [err]    static void init (Handle<Object> target) {
2020-01-15T20:33:46.737Z [err]                                   ^
2020-01-15T20:33:46.737Z [err] ../src/time.cc:134:36: error: ‘target’ was not declared in this scope
2020-01-15T20:33:46.737Z [err]    static void init (Handle<Object> target) {
2020-01-15T20:33:46.737Z [err]                                     ^~~~~~
2020-01-15T20:33:46.742Z [err] ../src/time.cc:134:36: note: suggested alternative: ‘tzset’
2020-01-15T20:33:46.742Z [err]    static void init (Handle<Object> target) {
2020-01-15T20:33:46.742Z [err]                                     ^~~~~~
2020-01-15T20:33:46.742Z [err]                                     tzset
2020-01-15T20:33:46.743Z [err] In file included from ../../nan/nan.h:54,
2020-01-15T20:33:46.743Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.743Z [err] ../src/time.cc:137:21: error: ‘init’ was not declared in this scope
2020-01-15T20:33:46.743Z [err]    NODE_MODULE(time, init)
2020-01-15T20:33:46.743Z [err]                      ^~~~
2020-01-15T20:33:46.743Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
2020-01-15T20:33:46.743Z [err]        (node::addon_register_func) (regfunc),                          \
2020-01-15T20:33:46.743Z [err]                                     ^~~~~~~
2020-01-15T20:33:46.743Z [err] ../src/time.cc:137:3: note: in expansion of macro ‘NODE_MODULE’
2020-01-15T20:33:46.743Z [err]    NODE_MODULE(time, init)
2020-01-15T20:33:46.743Z [err]    ^~~~~~~~~~~
2020-01-15T20:33:46.746Z [err] ../src/time.cc:137:21: note: suggested alternative: ‘int’
2020-01-15T20:33:46.746Z [err]    NODE_MODULE(time, init)
2020-01-15T20:33:46.746Z [err]                      ^~~~
2020-01-15T20:33:46.746Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
2020-01-15T20:33:46.746Z [err]        (node::addon_register_func) (regfunc),                          \
2020-01-15T20:33:46.746Z [err]                                     ^~~~~~~
2020-01-15T20:33:46.746Z [err] ../src/time.cc:137:3: note: in expansion of macro ‘NODE_MODULE’
2020-01-15T20:33:46.746Z [err]    NODE_MODULE(time, init)
2020-01-15T20:33:46.746Z [err]    ^~~~~~~~~~~
2020-01-15T20:33:46.859Z [err] In file included from /home/pi/.cache/node-gyp/12.14.1/include/node/node.h:63,
2020-01-15T20:33:46.859Z [err]                  from ../../nan/nan.h:54,
2020-01-15T20:33:46.859Z [err]                  from ../src/time.cc:5:
2020-01-15T20:33:46.859Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
2020-01-15T20:33:46.859Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/node_object_wrap.h:84:78:   required from here
2020-01-15T20:33:46.859Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:10004:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
2020-01-15T20:33:46.859Z [err]                 reinterpret_cast<Callback>(callback), type);
2020-01-15T20:33:46.859Z [err]                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-01-15T20:33:46.912Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
2020-01-15T20:33:46.912Z [err] ../../nan/nan_object_wrap.h:65:61:   required from here
2020-01-15T20:33:46.912Z [err] /home/pi/.cache/node-gyp/12.14.1/include/node/v8.h:10004:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
2020-01-15T20:33:47.135Z [err] make: *** [time.target.mk:109: Release/obj.target/time/src/time.o] Fehler 1
2020-01-15T20:33:47.135Z [out] make: Verzeichnis „/home/pi/.node-red/node_modules/time/build“ wird verlassen
2020-01-15T20:33:47.139Z [err] gyp
2020-01-15T20:33:47.140Z [err]  ERR!
2020-01-15T20:33:47.141Z [err]  build error 
2020-01-15T20:33:47.146Z [err] gyp
2020-01-15T20:33:47.146Z [err]  ERR! stack Error: `make` failed with exit code: 2
2020-01-15T20:33:47.146Z [err] gyp 
2020-01-15T20:33:47.146Z [err] ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2020-01-15T20:33:47.146Z [err] gyp
2020-01-15T20:33:47.146Z [err]  ERR! stack     at ChildProcess.emit (events.js:223:5)
2020-01-15T20:33:47.146Z [err] gyp 
2020-01-15T20:33:47.147Z [err] ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
2020-01-15T20:33:47.147Z [err] gyp 
2020-01-15T20:33:47.148Z [err] ERR! System Linux 4.19.75-v7l+
2020-01-15T20:33:47.148Z [err] gyp
2020-01-15T20:33:47.148Z [err]  ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-01-15T20:33:47.148Z [err] gyp
2020-01-15T20:33:47.148Z [err]  ERR! cwd /home/pi/.node-red/node_modules/time
2020-01-15T20:33:47.148Z [err] gyp ERR! 
2020-01-15T20:33:47.148Z [err] node -v v12.14.1
2020-01-15T20:33:47.148Z [err] gyp
2020-01-15T20:33:47.148Z [err]  ERR! node-gyp -v v5.0.5
2020-01-15T20:33:47.149Z [err] gyp ERR! 
2020-01-15T20:33:47.149Z [err] not ok 
2020-01-15T20:33:47.674Z [err] npm
2020-01-15T20:33:47.674Z [err]  ERR! code ELIFECYCLE
2020-01-15T20:33:47.674Z [err] npm ERR! errno
2020-01-15T20:33:47.675Z [err]  1
2020-01-15T20:33:47.677Z [err] npm 
2020-01-15T20:33:47.677Z [err] ERR! time@0.11.4 install: `node-gyp rebuild`
2020-01-15T20:33:47.677Z [err] npm ERR! Exit status 1
2020-01-15T20:33:47.677Z [err] npm ERR! 
2020-01-15T20:33:47.677Z [err] npm ERR! Failed at the time@0.11.4 install script.
2020-01-15T20:33:47.677Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-01-15T20:33:47.697Z [err] 
2020-01-15T20:33:47.697Z [err] npm ERR! A complete log of this run can be found in:
2020-01-15T20:33:47.697Z [err] npm
2020-01-15T20:33:47.697Z [err]  ERR!     /home/pi/.npm/_logs/2020-01-15T20_33_47_682Z-debug.log
2020-01-15T20:33:47.713Z rc=1

In this case I did not find anything on google...
has anybody an idea were the problem is?
Sorry i am a newbie it's very hard for me.

Greatings Micha

I think this is probably an issue with the version of node.js. I see that you are using 12.x but it doesn't install on 10.x either, which is a bit odd as the node has been recently updated. I suggest raising an issue on the
node's github page.

Thanks for your help, this gave me the idea to set up the operating system again and NOT to update it for the time being.
Then I installed the node-red-contrib-nube-logic and what can I say ... it works!
At this moment I am creating a backup of the "fresh" SD card.
Then I will update everything and see what happens.

Thank you again
Greetings Micha

How did you install node-red. There is a recommended script and normally I would say use that. However that may well install node.js version 10 or 12.
Which version of node.js is installed?
node -v

I use the Raspberry Pi desktop image from raspberrypi.org. Node-Red is already pre-installed. Node.js is AFTER update v12.14.1.
After the update it still works but very buggy.

Here the new error log:

Starting as a systemd service.
16 Jan 21:17:12 - [info]
Willkommen bei Node-RED!
===================
16 Jan 21:17:12 - [info] Node-RED Version: v1.0.3
16 Jan 21:17:12 - [info] Node.js  Version: v12.14.1
16 Jan 21:17:12 - [info] Linux 4.19.75-v7l+ arm LE
16 Jan 21:17:13 - [info] Paletten-Nodes werden geladen
16 Jan 21:17:16 - [info] Dashboard version 2.19.3 started at /ui
16 Jan 21:17:16 - [warn] ------------------------------------------------------
16 Jan 21:17:16 - [warn] [node-red-contrib-nube-logic/delay-on-off] Error: The module '/home/pi/.node-red/node_modules/time/build/Release/time.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
16 Jan 21:17:16 - [warn] [ttb-node-red-counter/counter] Type already registered
16 Jan 21:17:16 - [warn] ------------------------------------------------------
16 Jan 21:17:16 - [info] Einstellungsdatei: /home/pi/.node-red/settings.js
16 Jan 21:17:16 - [info] Kontextspeicher: 'default' [ module=memory]
16 Jan 21:17:16 - [info] Benutzerverzeichnis: /home/pi/.node-red
16 Jan 21:17:16 - [warn] Projekte inaktiviert: editorTheme.projects.enabled=false
16 Jan 21:17:16 - [info] Flow-Datei: /home/pi/.node-red/flows_raspberrypi.json
16 Jan 21:17:16 - [info] Neue flow-Datei wird erstellt
nodered.service: Main process exited, code=killed, status=11/SEGV
nodered.service: Failed with result 'signal'.
nodered.service: Service RestartSec=100ms expired, scheduling restart.
nodered.service: Scheduled restart job, restart counter is at 1.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.

If using the system caused a major version update of node.js (which it seems it did) then you have to go into the .node-red folder and run
npm rebuild
so that any compiled modules are rebuilt. Unfortunately then I guess you will end up with the same problem you originally had.
Normally after updating node.js you would have to re-install node red so it is also rebuilt, but I imagine the system update did that automatically. It is in order to avoid this sort of problem that the install script I linked to is provided. That won't help you with your original problem though, the node needs to be updated. Have you submitted an issue against the node?

Did you notice the time module wasn't installed?

I would have bin in your .node-red directory and run

npm install time

Then reinstalled node-red-contrib-nube-logic 1.0.4

The Command npm rebuild brings the following Error log:

root@raspberrypi:/home/pi/.node-red# dir
lib  node_modules  package.json  package-lock.json  settings.js
root@raspberrypi:/home/pi/.node-red# npm rebuild

> i2c-bus@5.1.0 install /home/pi/.node-red/node_modules/i2c-bus
> node-gyp rebuild

gyp WARN EACCES current user ("pi") does not have permission to access the dev dir "/root/.cache/node-gyp/12.14.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/i2c-bus/.node-gyp"
make: Verzeichnis „/home/pi/.node-red/node_modules/i2c-bus/build“ wird betreten
  CXX(target) Release/obj.target/i2c/src/i2c.o
  SOLINK_MODULE(target) Release/obj.target/i2c.node
  COPY Release/i2c.node
make: Verzeichnis „/home/pi/.node-red/node_modules/i2c-bus/build“ wird verlassen

> node-dht-sensor@0.4.0 install /home/pi/.node-red/node_modules/node-dht-sensor
> node-gyp configure

gyp WARN EACCES current user ("pi") does not have permission to access the dev dir "/root/.cache/node-gyp/12.14.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/node-dht-sensor/.node-gyp"

> node-dht-sensor@0.4.0 postinstall /home/pi/.node-red/node_modules/node-dht-sensor
> node-gyp build

make: Verzeichnis „/home/pi/.node-red/node_modules/node-dht-sensor/build“ wird betreten
make: *** Keine Regel vorhanden, um das Ziel „../.node-gyp/12.14.1/include/node/common.gypi“, 
  benötigt von „Makefile“, zu erstellen.  Schluss.
make: Verzeichnis „/home/pi/.node-red/node_modules/node-dht-sensor/build“ wird verlassen
gyp 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:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:223:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.75-v7l+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build"
gyp ERR! cwd /home/pi/.node-red/node_modules/node-dht-sensor
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-dht-sensor@0.4.0 postinstall: `node-gyp build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-dht-sensor@0.4.0 postinstall 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/2020-01-17T16_28_13_688Z-debug.log

Meanwhile i have submit the issue at Github.

Why are you logged in as root? Don't do that. Run it as the usual user, presumably pi.
Though having run in that users directory as root you may well have polluted the directories with files owned by root.

Thank you for your answer! No i didn't notice that ...
When i execute npm install time this Error log comes:

pi/.node-red# npm install time

> time@0.11.4 install /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time
> node-gyp rebuild

gyp WARN EACCES current user ("pi") does not have permission to access the dev dir "/root/.cache/node-gyp/12.14.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp"
make: Verzeichnis „/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/build“ wird betreten
  CXX(target) Release/obj.target/time/src/time.o
In file included from ../src/time.cc:5:
../../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../../nan/nan.h:2298: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)
                                                              ^
../src/time.cc: At global scope:
../src/time.cc:12:20: error: ‘Handle’ has not been declared
   static void Init(Handle<Object> target) {
                    ^~~~~~
../src/time.cc:12:26: error: expected ‘,’ or ‘...’ before ‘<’ token
   static void Init(Handle<Object> target) {
                          ^
../src/time.cc: In static member function ‘static void Time::Init(int)’:
../src/time.cc:16:20: error: ‘target’ was not declared in this scope
     Nan::SetMethod(target, "time", Time_);
                    ^~~~~~
../src/time.cc:16:20: note: suggested alternative: ‘tzset’
     Nan::SetMethod(target, "time", Time_);
                    ^~~~~~
                    tzset
../src/time.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Time::Localtime(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/time.cc:65:64: error: no matching function for call to ‘v8::Value::IntegerValue()’
     time_t rawtime = static_cast<time_t>(info[0]->IntegerValue());
                                                                ^
In file included from /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2609:40: note: candidate: ‘v8::Maybe<long long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’
   V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
                                        ^~~~~~~~~~~~
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2609:40: note:   candidate expects 1 argument, 0 provided
../src/time.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Time::Mktime(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/time.cc:119:103: error: no matching function for call to ‘v8::Value::Int32Value()’
     tmstr.tm_sec   = Nan::Get(arg, Nan::New("seconds").ToLocalChecked()).ToLocalChecked()->Int32Value();
                                                                                                       ^
In file included from /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613: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/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
../src/time.cc:120:103: error: no matching function for call to ‘v8::Value::Int32Value()’
     tmstr.tm_min   = Nan::Get(arg, Nan::New("minutes").ToLocalChecked()).ToLocalChecked()->Int32Value();
                                                                                                       ^
In file included from /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613: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/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
../src/time.cc:121:101: error: no matching function for call to ‘v8::Value::Int32Value()’
     tmstr.tm_hour  = Nan::Get(arg, Nan::New("hours").ToLocalChecked()).ToLocalChecked()->Int32Value();
                                                                                                     ^
In file included from /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613: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/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
../src/time.cc:122:106: error: no matching function for call to ‘v8::Value::Int32Value()’
     tmstr.tm_mday  = Nan::Get(arg, Nan::New("dayOfMonth").ToLocalChecked()).ToLocalChecked()->Int32Value();
                                                                                                          ^
In file included from /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613: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/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
../src/time.cc:123:101: error: no matching function for call to ‘v8::Value::Int32Value()’
     tmstr.tm_mon   = Nan::Get(arg, Nan::New("month").ToLocalChecked()).ToLocalChecked()->Int32Value();
                                                                                                     ^
In file included from /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613: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/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
../src/time.cc:124:100: error: no matching function for call to ‘v8::Value::Int32Value()’
     tmstr.tm_year  = Nan::Get(arg, Nan::New("year").ToLocalChecked()).ToLocalChecked()->Int32Value();
                                                                                                    ^
In file included from /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613: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/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
../src/time.cc:125:113: error: no matching function for call to ‘v8::Value::Int32Value()’
     tmstr.tm_isdst = Nan::Get(arg, Nan::New("isDaylightSavings").ToLocalChecked()).ToLocalChecked()->Int32Value();
                                                                                                                 ^
In file included from /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613: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/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:2613:40: note:   candidate expects 1 argument, 0 provided
../src/time.cc: At global scope:
../src/time.cc:134:21: error: variable or field ‘init’ declared void
   static void init (Handle<Object> target) {
                     ^~~~~~
../src/time.cc:134:21: error: ‘Handle’ was not declared in this scope
../src/time.cc:134:21: note: suggested alternative: ‘rand_r’
   static void init (Handle<Object> target) {
                     ^~~~~~
                     rand_r
../src/time.cc:134:34: error: expected primary-expression before ‘>’ token
   static void init (Handle<Object> target) {
                                  ^
../src/time.cc:134:36: error: ‘target’ was not declared in this scope
   static void init (Handle<Object> target) {
                                    ^~~~~~
../src/time.cc:134:36: note: suggested alternative: ‘tzset’
   static void init (Handle<Object> target) {
                                    ^~~~~~
                                    tzset
In file included from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
../src/time.cc:137:21: error: ‘init’ was not declared in this scope
   NODE_MODULE(time, init)
                     ^~~~
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
       (node::addon_register_func) (regfunc),                          \
                                    ^~~~~~~
../src/time.cc:137:3: note: in expansion of macro ‘NODE_MODULE’
   NODE_MODULE(time, init)
   ^~~~~~~~~~~
../src/time.cc:137:21: note: suggested alternative: ‘int’
   NODE_MODULE(time, init)
                     ^~~~
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:560:36: note: in definition of macro ‘NODE_MODULE_X’
       (node::addon_register_func) (regfunc),                          \
                                    ^~~~~~~
../src/time.cc:137:3: note: in expansion of macro ‘NODE_MODULE’
   NODE_MODULE(time, init)
   ^~~~~~~~~~~
In file included from /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node.h:63,
                 from ../../../../nan/nan.h:54,
                 from ../src/time.cc:5:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/node_object_wrap.h:84:78:   required from here
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:10004:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../../../nan/nan_object_wrap.h:65:61:   required from here
/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/.node-gyp/12.14.1/include/node/v8.h:10004:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
make: *** [time.target.mk:109: Release/obj.target/time/src/time.o] Fehler 1
make: Verzeichnis „/home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time/build“ wird verlassen
gyp 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:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:223:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.75-v7l+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/.node-red/node_modules/node-red-contrib-nube-logic/node_modules/time
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! time@0.11.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the time@0.11.4 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/2020-01-17T22_24_02_279Z-debug.log

I think tomorrow I will do a Raspbian lite clean install again and follow the script suggested by Colin when installing Node-Red.
Maybe that helps ...

Ahh Ok.
Tomorrow i do a Raspian LITE clean install and make it right....

The joke is that the logic nodes are still working somehow
albeit with error messages.
Let's see what happens after reinstalling again ...

It looks like you are confusing the root directory with the /home/pi directory

Nod red installs on the raspberry pi as the pi user who's home directory is /home/pi.

Node red for the pi user is in /home/pi/.node-red

When working with NPM you must be careful as to the directory you are in since it will try to install based on the directory you are in.

You may have left lots of litter in your filesystem if you hadn't payed attention to this. I learned the hard way but hove many many year to know how to find and clean this up.

Lets see how you can answer where and how you were issuing the commands.

There should not be a /.node-red in general and lets see what you have before we start deleting stuff.

Post an "ls -a /" and "ls -a /home/pi" so we can see the extent.

Ok these are the results:

pi@raspberrypi:~ $ ls -a /
.   bin   dev  home  lost+found  mnt  proc  run   srv  tmp  var
..  boot  etc  lib   media       opt  root  sbin  sys  usr


pi@raspberrypi:~ $ ls -a /home/pi
.              bcm2835-1.62.tar.gz  .gnupg     Pictures   .vnc
..             .cache               .local     .pki       .Xauthority
.bash_history  .config              MagPi      .profile   .xsession-errors
.bash_logout   Desktop              Music      Public     .xsession-errors.old
.bashrc        Documents            .node-red  Templates
bcm2835-1.62   Downloads            .npm       Videos

That suggests you have never run node-red as the user pi. How are you running node-red?
[Edit] No it doesn't, I misinterpreted what I was looking at on the phone.

The Raspberry is connected to my LAN i control it in this case with my PC using VNC.
Raspian Desktop automatically starts with user "Pi"
Afterwards i select Node-Red over Desktop Menu.
Then it started in Terminal window as a system service. Now i can programming Node-Red with my PC using Internet-Browser ("IP-adress":1880)

Start node-red in a terminal after stopping the service. If you installed using the recommended script you can stop it using node-red-stop. Then start it using node-red. Post the log that you see in the terminal.


pi@raspberrypi:~ $ node-red-stop

Stop Node-RED
 
Use   node-red-start   to start Node-RED again
 
pi@raspberrypi:~ $ node-red
18 Jan 14:55:13 - [info] 

Willkommen bei Node-RED!
===================

18 Jan 14:55:13 - [info] Node-RED Version: v1.0.3
18 Jan 14:55:13 - [info] Node.js  Version: v12.14.1
18 Jan 14:55:13 - [info] Linux 4.19.75-v7l+ arm LE
18 Jan 14:55:14 - [info] Paletten-Nodes werden geladen
18 Jan 14:55:15 - [info] Dashboard version 2.19.3 started at /ui
18 Jan 14:55:16 - [warn] ------------------------------------------------------
18 Jan 14:55:16 - [warn] [node-red-contrib-nube-logic/delay-on-off] Error: Could not locate the bindings file. Tried:
 → /home/pi/.node-red/node_modules/time/build/time.node
 → /home/pi/.node-red/node_modules/time/build/Debug/time.node
 → /home/pi/.node-red/node_modules/time/build/Release/time.node
 → /home/pi/.node-red/node_modules/time/out/Debug/time.node
 → /home/pi/.node-red/node_modules/time/Debug/time.node
 → /home/pi/.node-red/node_modules/time/out/Release/time.node
 → /home/pi/.node-red/node_modules/time/Release/time.node
 → /home/pi/.node-red/node_modules/time/build/default/time.node
 → /home/pi/.node-red/node_modules/time/compiled/12.14.1/linux/arm/time.node
 → /home/pi/.node-red/node_modules/time/addon-build/release/install-root/time.node
 → /home/pi/.node-red/node_modules/time/addon-build/debug/install-root/time.node
 → /home/pi/.node-red/node_modules/time/addon-build/default/install-root/time.node
 → /home/pi/.node-red/node_modules/time/lib/binding/node-v72-linux-arm/time.node (line:3)
18 Jan 14:55:16 - [warn] [ttb-node-red-counter/counter] Type already registered
18 Jan 14:55:16 - [warn] ------------------------------------------------------
18 Jan 14:55:16 - [info] Einstellungsdatei: /home/pi/.node-red/settings.js
18 Jan 14:55:16 - [info] Kontextspeicher: 'default' [ module=memory]
18 Jan 14:55:16 - [info] Benutzerverzeichnis: /home/pi/.node-red
18 Jan 14:55:16 - [warn] Projekte inaktiviert: editorTheme.projects.enabled=false
18 Jan 14:55:16 - [info] Flow-Datei: /home/pi/.node-red/flows_raspberrypi.json
18 Jan 14:55:16 - [warn] 

---------------------------------------------------------------------
Die Datei mit den Datenflowberechtigungsnachweisen wird mit einem vom System generierten Schlüssel verschlüsselt.

Wenn der vom System generierte Schlüssel aus irgendeinem Grund verloren geht, werden Ihre Berechtigungsnachweise
Die Datei kann nicht wiederhergestellt werden. Sie müssen sie löschen und erneut eingeben.
Ihre Berechtigungsnachweise.

Sie sollten Ihren eigenen Schlüssel mit Hilfe der Option 'credentialSecret' in
Ihre Einstellungsdatei. Node-RED wird dann Ihre Berechtigungsnachweise erneut verschlüsseln.
Datei mit dem ausgewählten Schlüssel beim nächsten Deployen einer Änderung verwenden.
---------------------------------------------------------------------

18 Jan 14:55:16 - [info] Flows starten
CTOR: MessageCounterNode
INFO! 5 | seconds | true
timeToNextTick: 4891
18 Jan 14:55:16 - [info] [Bme280:32ecb4b8.a2a854] Initializing on bus1 addr:118
18 Jan 14:55:16 - [info] Flows gestartet
18 Jan 14:55:16 - [info] Server wird jetzt auf http://127.0.0.1:1880/ ausgeführt.
Found BMx280 chip ID 0x60 on bus i2c-1, address 0x76
18 Jan 14:55:16 - [info] [BME280:32ecb4b8.a2a854] Sensor BME280 initialized.
2020-01-18T13:55:21.005Z
INFO: 5 | seconds | true

Did we not decide earlier that the node may not be not be compatible with nodejs 10 and 12? You said you had it working before you updated the system, what version of nodejs was that?

I just tested it again with a new installation without update on a second SD card.
The result of "node -v"
V 10.15.2
Then the logic node could be installed without any problems and works.

If I now update the System to node.js v12.14.1(I dont do this at the moment on this second SD-Card)
it still works somehow but with error messages. But in principle it works.
However, if you have a updated system with node.js V 12.14.1 BEFORE installed "node-red-contrib-nube-logic". It cannot be installed at all...

Was it only nodejs you updated? It does not install on 10.x for me so I suspect it is something more subtle. Have you reported an issue against the node?