Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehlermeldungen im log bei node10 update

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Fehlermeldungen im log bei node10 update

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      e-s last edited by e-s

      Hallo, seit dem ich mein System auf den aktuellen Stand gebracht habe, wird bei jeder npm Aktion eine Fehlermeldung ausgeworfen, hier zum Beispiel der Install von shelly:

      $ ./iobroker add shelly  --host ubuntuserver
      NPM version: 6.9.0
      npm install iobroker.shelly@3.0.5 --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] Error 1
      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.15.0-51-generic
      
      gyp ERR! command "/usr/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 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.ubuntuserver install adapter shelly
      npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.shelly"
      npm
       
      notice
       created a lockfile as package-lock.json. You should commit this file.
      got /opt/iobroker/node_modules/iobroker.shelly/admin
      upload [2] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/words.js words.js application/javascript
      upload [1] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/shelly.png shelly.png image/png
      upload [0] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/index_m.html index_m.html text/html
      host.ubuntuserver object system.adapter.shelly created
      host.ubuntuserver create instance shelly
      host.ubuntuserver object shelly.0.info.connection created
      host.ubuntuserver object shelly.0.info created
      host.ubuntuserver object system.adapter.shelly.0.outputCount created
      host.ubuntuserver object system.adapter.shelly.0.inputCount created
      host.ubuntuserver object system.adapter.shelly.0.uptime created
      host.ubuntuserver object system.adapter.shelly.0.memRss created
      host.ubuntuserver object system.adapter.shelly.0.memHeapTotal created
      host.ubuntuserver object system.adapter.shelly.0.memHeapUsed created
      host.ubuntuserver object system.adapter.shelly.0.cputime created
      host.ubuntuserver object system.adapter.shelly.0.cpu created
      host.ubuntuserver object system.adapter.shelly.0.connected created
      host.ubuntuserver object system.adapter.shelly.0.alive created
      host.ubuntuserver object system.adapter.shelly.0 created
      process exited with code 0
      

      Hier meine Sys-Infos:

      ubuntuserver
      
      Betriebssystem    linux
      Architektur    x64
      CPUs    2
      Geschwindigkeit    1500 MHz
      Modell    AMD Turion(tm) II Neo N40L Dual-Core Processor
      RAM    3.73 GB
      System Betriebszeit    16 T. 05:29:55
      Node.js    v10.16.0
      NPM    6.9.0
      

      Habe nach Anleitung npm und node aktualisiert, anschließend fangen die Probleme im log an.
      Prinzipiell sind mir aber in der Benutzung von iobroker keine sonstigen Fehler aufgefallen.
      Aber ich mag keine Fehlermeldungen 🙂
      Habe dann alles ausprobiert was ich so in den Anleitungen gefunden habe, also alle Module löschen, bis zu alles zu löschen und iobroker-data zurückspielen. Ausserdem habe ich dgram manuell nachinstalliert. Aber alles blieb gleich, selbst bein einer frischen Installation gibt es die Fehlermeldungen.
      Kann mir das nicht mehr erklären, wenn meine Daten zurückgespielt wurden, dann lief npm rebuild nie durch, nur bei der frischen Install. npm audit bringt mir auch immer eine Meldung mit der ich nichts anfangen, npm audit fix läuft auch nur bei frischer install durch, aber auch da mit Fehlern am schluss:

      132 silly install unix-dgram@0.2.3
      133 info lifecycle unix-dgram@0.2.3~install: unix-dgram@0.2.3
      134 verbose lifecycle unix-dgram@0.2.3~install: unsafe-perm in lifecycle true
      135 verbose lifecycle unix-dgram@0.2.3~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/iobroker/node_modules/unix-dgram/node_modules/.bin:/opt/iobroker/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
      136 verbose lifecycle unix-dgram@0.2.3~install: CWD: /opt/iobroker/node_modules/unix-dgram
      137 silly lifecycle unix-dgram@0.2.3~install: Args: [ '-c', 'node-gyp rebuild' ]
      138 timing audit submit Completed in 1639ms
      139 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 1638ms
      140 timing audit body Completed in 2ms
      141 silly lifecycle unix-dgram@0.2.3~install: Returned: code: 1  signal: null
      142 info lifecycle unix-dgram@0.2.3~install: Failed to exec install script
      143 timing action:install Completed in 2797ms
      144 silly doSerial postinstall 32
      145 timing action:postinstall Completed in 1ms
      146 verbose unlock done using /media/HDD/.npm/_locks/staging-66d2468782e8ffc7.lock for /opt/iobroker/node_modules/.staging
      147 timing stage:executeActions Completed in 3066ms
      148 timing stage:rollbackFailedOptional Completed in 51ms
      149 silly install runPostinstallTopLevelLifecycles
      150 silly build iobroker.inst@2.0.3
      151 info linkStuff iobroker.inst@2.0.3
      152 silly linkStuff iobroker.inst@2.0.3 has /opt as its parent node_modules
      153 silly install iobroker.inst@2.0.3
      154 info lifecycle iobroker.inst@2.0.3~install: iobroker.inst@2.0.3
      155 verbose lifecycle iobroker.inst@2.0.3~install: unsafe-perm in lifecycle true
      156 verbose lifecycle iobroker.inst@2.0.3~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/iobroker/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
      157 verbose lifecycle iobroker.inst@2.0.3~install: CWD: /opt/iobroker
      158 silly lifecycle iobroker.inst@2.0.3~install: Args: [ '-c', 'node lib/checkVersions.js' ]
      159 silly lifecycle iobroker.inst@2.0.3~install: Returned: code: 0  signal: null
      160 silly postinstall iobroker.inst@2.0.3
      161 info lifecycle iobroker.inst@2.0.3~postinstall: iobroker.inst@2.0.3
      162 verbose lifecycle iobroker.inst@2.0.3~postinstall: unsafe-perm in lifecycle true
      163 verbose lifecycle iobroker.inst@2.0.3~postinstall: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/iobroker/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
      164 verbose lifecycle iobroker.inst@2.0.3~postinstall: CWD: /opt/iobroker
      165 silly lifecycle iobroker.inst@2.0.3~postinstall: Args: [ '-c', 'node lib/install.js' ]
      166 silly lifecycle iobroker.inst@2.0.3~postinstall: Returned: code: 100  signal: null
      167 info lifecycle iobroker.inst@2.0.3~postinstall: Failed to exec postinstall script
      168 verbose stack Error: iobroker.inst@2.0.3 postinstall: `node lib/install.js`
      168 verbose stack Exit status 100
      168 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
      168 verbose stack     at EventEmitter.emit (events.js:198:13)
      168 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      168 verbose stack     at ChildProcess.emit (events.js:198:13)
      168 verbose stack     at maybeClose (internal/child_process.js:982:16)
      168 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      169 verbose pkgid iobroker.inst@2.0.3
      170 verbose cwd /opt/iobroker
      171 verbose Linux 4.15.0-51-generic
      172 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "install"
      173 verbose node v10.16.0
      174 verbose npm  v6.9.0
      175 error code ELIFECYCLE
      176 error errno 100
      177 error iobroker.inst@2.0.3 postinstall: `node lib/install.js`
      177 error Exit status 100
      178 error Failed at the iobroker.inst@2.0.3 postinstall script.
      178 error This is probably not a problem with npm. There is likely additional logging output above.
      179 verbose exit [ 100, true ]
      
      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/local/bin/npm', 'audit' ]
      2 info using npm@6.9.0
      3 info using node@v10.16.0
      4 verbose npm-session 6fbd4fa9556d6967
      5 verbose stack Error: Errors were found in your package-lock.json, run  npm install  to fix them.
      5 verbose stack     Invalid: lock file's iobroker.admin@3.6.2 does not satisfy iobroker.admin@^3.6.3
      5 verbose stack     Invalid: lock file's iobroker.js-controller@1.5.11 does not satisfy iobroker.js-controller@^1.5.12
      5 verbose stack     at lockVerify.then (/usr/local/lib/node_modules/npm/lib/audit.js:184:19)
      6 verbose cwd /opt/iobroker
      7 verbose Linux 4.15.0-51-generic
      8 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "audit"
      9 verbose node v10.16.0
      10 verbose npm  v6.9.0
      11 error code ELOCKVERIFY
      12 error Errors were found in your package-lock.json, run  npm install  to fix them.
      12 error     Invalid: lock file's iobroker.admin@3.6.2 does not satisfy iobroker.admin@^3.6.3
      12 error     Invalid: lock file's iobroker.js-controller@1.5.11 does not satisfy iobroker.js-controller@^1.5.12
      13 verbose exit [ 1, true ]
      

      Suche ich nach einem Fehler, den es gar nicht gibt?

      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

      963
      Online

      31.9k
      Users

      80.2k
      Topics

      1.3m
      Posts

      node10 fehler log
      1
      1
      154
      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