Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [How-to] Node.js für ioBroker richtig updaten

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      watcherkb last edited by

      Ich hab nur Fehlermeldungen. Habe schon alles mögliche versucht. Fixer, alle Punkte von oben in der Beschreibung...

      $ ./iobroker add shuttercontrol  --host iobrokertest
      NPM version: 6.9.0
      npm install iobroker.shuttercontrol@0.3.1 --production --save --prefix "/opt/iobroker" (System call)
      In file included from ../node_modules/nan/nan.h:190:0,                 from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
      ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
         return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                     ^~~~~~~~
      
      In file included from ../src/unix_dgram.cc:5:0:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                  ^
      In file included from ../node_modules/nan/nan.h:47:0,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:0:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47:0,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:0:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47:0,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      
      In file included from ../src/unix_dgram.cc:5:0:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
      ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
           ));
           ^
      In file included from ../node_modules/nan/nan.h:47:0,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^
      /home/iobroker/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         domain      = info[0]->Int32Value();
                                           ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         type        = info[1]->Int32Value();
                                           ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         protocol    = info[2]->Int32Value();
                                           ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         buf = info[1]->ToObject();
                                 ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         offset = info[2]->Uint32Value();
                                       ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         length = info[3]->Uint32Value();
                                       ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[4]);
                                       ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         buf = info[1]->ToObject();
                                 ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0,
                       from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      
      make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
      gyp
       ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp ERR! System Linux 4.9.0-9-amd64
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
      gyp ERR! node -v v10.16.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok 
      
      npm
       
      WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      
      host.iobrokertest install adapter shuttercontrol
      npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.shuttercontrol"
      npm notice
       created a lockfile as package-lock.json. You should commit this file.
      npm WARN tslint@5.18.0 requires a peer of typescript@>=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev but none is installed. You must install peer dependencies yourself.npm WARN tsutils@2.29.0 requires a peer of typescript@>=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >= 3.0.0-dev || >= 3.1.0-dev but none is installed. You must install peer dependencies yourself.
      
      
      got /opt/iobroker/node_modules/iobroker.shuttercontrol/admin
      upload [4] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/words.js words.js application/javascript
      upload [3] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/tsconfig.json tsconfig.json application/json
      upload [2] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/style.css style.css text/css
      upload [1] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/shuttercontrol.png shuttercontrol.png image/png
      upload [0] shuttercontrol.admin /opt/iobroker/node_modules/iobroker.shuttercontrol/admin/index_m.html index_m.html text/html
      host.iobrokertest object system.adapter.shuttercontrol created
      host.iobrokertest create instance shuttercontrol
      host.iobrokertest object shuttercontrol.0.info.Azimut created
      host.iobrokertest object shuttercontrol.0.info.Elevation created
      host.iobrokertest object shuttercontrol.0.info.GoldenHourEnd created
      host.iobrokertest object shuttercontrol.0.info.GoldenHour created
      host.iobrokertest object shuttercontrol.0.info.Sunset created
      host.iobrokertest object shuttercontrol.0.info.Sunrise created
      host.iobrokertest object shuttercontrol.0.info.downTimeLiving created
      host.iobrokertest object shuttercontrol.0.info.downTimeSleep created
      host.iobrokertest object shuttercontrol.0.info.upTimeLiving created
      host.iobrokertest object shuttercontrol.0.info.upTimeSleep created
      host.iobrokertest object shuttercontrol.0.control.autoSleep created
      host.iobrokertest object shuttercontrol.0.control.autoLiving created
      host.iobrokertest object shuttercontrol.0.control.Holiday created
      host.iobrokertest object shuttercontrol.0.control created
      host.iobrokertest object shuttercontrol.0.info created
      host.iobrokertest object shuttercontrol.0.shutters.autoSun created
      host.iobrokertest object shuttercontrol.0.shutters.autoDown created
      host.iobrokertest object shuttercontrol.0.shutters.autoUp created
      host.iobrokertest object shuttercontrol.0.shutters created
      host.iobrokertest object system.adapter.shuttercontrol.0.outputCount created
      host.iobrokertest object system.adapter.shuttercontrol.0.inputCount created
      host.iobrokertest object system.adapter.shuttercontrol.0.uptime created
      host.iobrokertest object system.adapter.shuttercontrol.0.memRss created
      host.iobrokertest object system.adapter.shuttercontrol.0.memHeapTotal created
      host.iobrokertest object system.adapter.shuttercontrol.0.memHeapUsed created
      host.iobrokertest object system.adapter.shuttercontrol.0.cputime created
      host.iobrokertest object system.adapter.shuttercontrol.0.cpu created
      host.iobrokertest object system.adapter.shuttercontrol.0.connected created
      host.iobrokertest object system.adapter.shuttercontrol.0.alive created
      host.iobrokertest object system.adapter.shuttercontrol.0 created
      process exited with code 0
      
      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Auch hier unix_dgram:

        Bitte in diesem Thread Post #2 (die FAQ) Punkt #3 lesen ...

        Oder ignorieren wenn Du kein Syslog nutzt. Eine 1.5.13 vom controller wo die Meldung weg ist wird gerade vorbereitet

        1 Reply Last reply Reply Quote 0
        • Z
          zgadgeter last edited by zgadgeter

          Hallo,
          ich habe bei meinem node.js ein update gemacht auf v10.16.0. Das hat auch funktioniert.
          Danach sollte ich auch ein npm rebuild machen, aber da kamen Fehler auf, die ich nicht versteh. Ich habe auch danach den Anweisungen gefolgt und die weiteren Methoden probiert....aber mein zigbee funktioniert nicht mehr. Kann mir da jemand helfen? danke.
          Edit: ich habe jetzt die letzte Version von npm installiert...denke das Problem ist nicht mit npm? Alle Adapter funktionieren, nur Zigbee nicht mehr. Ich habe auch probiert eine extra Instanz von dem Zigbee Adapter zu installieren, das hat aber auch nicht funktioniert.

          Node.js
          v10.16.0
          NPM
          v6.10.1-next.1
          
          
          > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
          > node lib/checkVersions.js
          
          NPM version: 6.9.0
          
          > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
          > node lib/install.js
          
          lib/install.js is not being run as part of an installation - skipping...
          
          > usb@1.6.0 install /opt/iobroker/node_modules/iobroker.ble/node_modules/usb
          > prebuild-install --verbose || node-gyp rebuild
          
          prebuild-install info begin Prebuild-install version 5.3.0
          prebuild-install info looking for cached prebuild @ /home/tyrone/.npm/_prebuilds/f78b17-usb-v1.6.0-node-v64-linux-x64.tar.gz
          prebuild-install info found cached prebuild
          prebuild-install info unpacking @ /home/tyrone/.npm/_prebuilds/f78b17-usb-v1.6.0-node-v64-linux-x64.tar.gz
          prebuild-install WARN install EACCES: permission denied, open 'build/Release/usb_bindings.node'
          gyp ERR! clean error
          gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
          gyp ERR! System Linux 4.18.0-25-generic
          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 /opt/iobroker/node_modules/iobroker.ble/node_modules/usb
          gyp ERR! node -v v10.16.0
          gyp ERR! node-gyp -v v3.8.0
          gyp ERR! not ok
          npm ERR! code ELIFECYCLE
          npm ERR! errno 1
          npm ERR! usb@1.6.0 install: `prebuild-install --verbose || node-gyp rebuild`
          npm ERR! Exit status 1
          npm ERR!
          npm ERR! Failed at the usb@1.6.0 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/tyrone/.npm/_logs/2019-07-06T19_04_34_967Z-debug.log
          
          
          1 Reply Last reply Reply Quote 0
          • Z
            zgadgeter last edited by

            Oh, kann mir keiner hier helfen? Vielleicht bin ich im falschem Thema?

            Stabilostick 1 Reply Last reply Reply Quote 0
            • Stabilostick
              Stabilostick @zgadgeter last edited by Stabilostick

              @zgadgeter
              Führe als normaler User den ioBoker-Installationsfixer testhalber im iobroker-Ordner aus:

              curl -sL https://iobroker.net/fix.sh | bash -
              

              Bleibt das Problem bestehen?

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zgadgeter @Stabilostick last edited by zgadgeter

                @Stabilostick Hallo und danke fuer die Antwort. Habe ich gerade ausgefueht...leider keine Aenderung. Alle Adapter funktionieren, nur der Zigbee nicht, und der ist leider der wichtigste bei mir. Alle Komponenten sind weg. :(.
                Hast Du noch einen Tipp?
                danke nochmals.

                Stabilostick 1 Reply Last reply Reply Quote 0
                • Stabilostick
                  Stabilostick @zgadgeter last edited by

                  @zgadgeter
                  apropos keine Änderung... Der ‚rebuild‘-Fehler ist geblieben?

                  Z 1 Reply Last reply Reply Quote 0
                  • Stabilostick
                    Stabilostick last edited by Stabilostick

                    Folgende Info habe ich im ersten Artikel mit aufgenommen.

                    Hinweis: Falls die Version des js-controllers <= 1.5.12 ist, muss VOR dem Update in den Einstellungen der Admin-Instanz "Verschlüsselung (https) benutzen" ausgeschaltet werden. Das in ioBroker bis dahin integrierte Zertifikat kann zu Problemen beim Starten des Admin bei Node.js-Versionen >= 10 führen.

                    Fall jemand schon das Node.js-Update gemacht hat und der Admin nicht startet:

                    Einfach mit

                    iobroker add admin
                    

                    eine weitere Admin-Instanz installieren. Die ist dann ohne SSL erreichbar.

                    1 Reply Last reply Reply Quote 0
                    • Z
                      zgadgeter @Stabilostick last edited by

                      @Stabilostick

                      @Stabilostick said in [How-to] Node.js für ioBroker richtig updaten:

                      @zgadgeter
                      apropos keine Änderung... Der ‚rebuild‘-Fehler ist geblieben?

                      Hi, also ich habe rebuild laufen lassen, und es lange gelaufen mit vielen angaben. Also auf jeden Fall viel anders als zuvor.
                      Am Ende kam dann folgende Fehler. Nur, dann startete ich iobroker wieder, und die Adapter waren (fast) alle Rot. Nach und nach wurden die dann Gruen...auch der Zigbee. Beim öffnen vom zigbee kam eine Nachricht das ich den zuerst "saving" muss, und keine Geräte waren drin. Es gab aber nichts zu saven. Jetzt steht er nur auf Geld, und diese save Nachricht kommt immer bei aufmachen. Ich starte mal mein Iobroker von neu...

                      
                      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:262:23)
                      gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                      gyp ERR! System Linux 4.18.0-25-generic
                      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 /opt/iobroker/node_modules/unix-dgram
                      gyp ERR! node -v v10.16.0
                      gyp ERR! node-gyp -v v4.0.0
                      gyp ERR! not ok
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! unix-dgram@0.2.3 install: `node-gyp rebuild`
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the unix-dgram@0.2.3 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/tyrone/.npm/_logs/2019-07-07T19_47_38_330Z-debug.log
                      
                      
                      Stabilostick 1 Reply Last reply Reply Quote 0
                      • Stabilostick
                        Stabilostick @zgadgeter last edited by

                        @zgadgeter

                        Zu unix.dgram verweise ich auf Post #2 dieses threads (die FAQ dazu) Punkt 3

                        3.) npm rebuild Fehler mit "unix-dgram 0.2.3" (js-controller 1.x mit Node.js 10/12) ...

                        Am Ende "ignore" wenn Du kein syslog brauchst. Wir arbeiten an einer 1.5.13 wo das weg sein sollte

                        Z 1 Reply Last reply Reply Quote 0
                        • Z
                          zgadgeter @Stabilostick last edited by zgadgeter

                          @Stabilostick
                          Hi, gesagt getan, hier der output danach:
                          Dann habe ich npm rebuild ausgefuehrt, und der lief ohne (Probleme/errors durch, und auch schnell. Aber Zigbee will immer noch nicht, und beim klicken auf Zigbee immer noch folgendes auf dem Bild unten.
                          UPDATE: habe probiert einen zweiten Zigbee adapter zu installieren um zu sehen ob das besser funktioniert...Tut er nicht, selbes Ergebniss.
                          Brauche noch hilfe bitte 🙂

                          > unix-dgram@2.0.3 install /opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram
                          > node-gyp rebuild
                          
                          make: Entering directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build'
                            CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                            SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                            COPY Release/unix_dgram.node
                          make: Leaving directory '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build'
                          npm notice created a lockfile as package-lock.json. You should commit this file.
                          + unix-dgram@2.0.3
                          added 42 packages from 16 contributors and audited 61 packages in 11.054s
                          found 0 vulnerabilities
                          
                          

                          ced4e547-10a9-44e0-8a66-d44661a1acb3-image.png

                          Stabilostick 1 Reply Last reply Reply Quote 0
                          • MathiasJ
                            MathiasJ last edited by MathiasJ

                            Wenn dann mein Raspberry PI4 dann endlich kommen sollte, traue ich mich gleich, IObroker mit node 12 zu installieren.
                            Als Test erst mal........ und werde weiter berichten.
                            Habe ich mit dem Tinkerboard schon umgesetzt.: https://forum.iobroker.net/topic/23703/testinstallation-unter-node-12-6-0/2

                            1 Reply Last reply Reply Quote 1
                            • Stabilostick
                              Stabilostick @zgadgeter last edited by Stabilostick

                              @zgadgeter
                              Woher soll er bei der neu installierten Adapterinstanz, die nicht konfiguriert ist, eine Geräteliste bekommen?

                              Vielleicht musst Du alles neu pairen? Richtiger USB-Port? Irgendwelche zigbee-Fehler im Log?

                              Z 1 Reply Last reply Reply Quote 1
                              • Z
                                zgadgeter @Stabilostick last edited by

                                @Stabilostick
                                Wie gesagt, sobald ich den Adapter auf mache bekomme ich den Hinweise das ich den Adapter speichern und laufen lassen muss. Wie in dem Bild oben.
                                Ein Fehler im Log ist folgender:

                                Error while starting zigbee-shepherd!. Error: Error: No such file or directory, cannot open /dev/ttyACM0
                                

                                Ist ja ziemlich eindeutig. Ich habe dann nach USB ports gesucht mit:

                                ls -la /dev/serial/by-id/
                                

                                Dabei bekomme ich:

                                ls: cannot access '/dev/serial/by-id/': No such file or directory
                                
                                

                                Und nach pruefen fehlt tatsaechlich das "serial" Verzeichnis. Also gehe ich davon aus das irgendwie oder irgendwas dieses Geloescht hat....Egal, wie bekomme ich das zurueck so das Iobroker mein USB port und somit den Zigbee finden kann?

                                Stabilostick 1 Reply Last reply Reply Quote 0
                                • Stabilostick
                                  Stabilostick @zgadgeter last edited by Stabilostick

                                  @zgadgeter
                                  Dann wird wohl der zigbee-Stick von Deinem OS nicht richtig erkannt. Das hat aber weniger mit dem Node.js-Update zu tun. Welche HW? Welches Os? Was sagt der Befehl „lsusb“? Neuer Thread?

                                  Z 1 Reply Last reply Reply Quote 0
                                  • Z
                                    zgadgeter @Stabilostick last edited by

                                    @Stabilostick
                                    Der Rechner ist ein Nuc. OS is unten.
                                    Frage ist, kann ich das serial Verzeichnis von einem anderem Iobroker nehmen wo ich genau den selben stick nochmals habe, und der auch funktioniert? Da habe ich nach gesehen und habe den stick gefunden im serial Verzeichnis.

                                    Linux ubuntu_iobroker 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
                                    
                                    

                                    lsusb

                                    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                                    Bus 001 Device 008: ID 8087:0a2a Intel Corp.
                                    Bus 001 Device 007: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
                                    Bus 001 Device 006: ID 0a5c:2198 Broadcom Corp. Bluetooth 3.0 Device
                                    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                    
                                    
                                    Stabilostick 1 Reply Last reply Reply Quote 0
                                    • Stabilostick
                                      Stabilostick @zgadgeter last edited by Stabilostick

                                      @zgadgeter sagte in [How-to] Node.js für ioBroker richtig updaten:

                                      anderem Iobroker nehmen

                                      Master-Slave iobroker-Installation.

                                      Oder stecke den Stick in andere USB-Ports und schaue mit lsusb nach.

                                      Z 1 Reply Last reply Reply Quote 0
                                      • Z
                                        zgadgeter @Stabilostick last edited by

                                        @Stabilostick said in [How-to] Node.js für ioBroker richtig updaten:

                                        @zgadgeter sagte in [How-to] Node.js für ioBroker richtig updaten:

                                        anderem Iobroker nehmen

                                        Master-Slave iobroker-Installation.

                                        Oder stecke den Stick in andere USB-Ports und schaue mit lsusb nach.

                                        Nee, kann ich nicht...bin zur Zeit 200 km weg, login via VPN...
                                        Was ist mit dem Verzeichnis kopieren? Aber, in dem Verzeichnis "serial/byid" ist ein komisches file:

                                        ioBroker-Pi:/dev/serial/by-id $ ls -l
                                        insgesamt 0
                                        lrwxrwxrwx 1 root root 13 Jul  8 22:17 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E208A1-if00 -> ../../ttyACM0
                                        

                                        Laesst sich nicht kopieren?

                                        Stabilostick 1 Reply Last reply Reply Quote 0
                                        • Stabilostick
                                          Stabilostick @zgadgeter last edited by

                                          @zgadgeter
                                          Das ist der zigbee-Stick. Und er wird nach /dev/ttyACM0 umgeleitet (siehe Ende der Zeile).

                                          Z 1 Reply Last reply Reply Quote 0
                                          • Z
                                            zgadgeter @Stabilostick last edited by

                                            @Stabilostick said in [How-to] Node.js für ioBroker richtig updaten:

                                            @zgadgeter
                                            Das ist der zigbee-Stick. Und er wird nach /dev/ttyACM0 umgeleitet (siehe Ende der Zeile).

                                            ok, aber wie bekomme ich das ganze auf den anderen iobroker einfach kopiert?

                                            Stabilostick 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            844
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            619888
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo