Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [How-to] Node.js für ioBroker richtig updaten

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
installationlinuxnodenode.jsnodejswindows
1.1k Beiträge 106 Kommentatoren 738.3k Aufrufe 112 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • crunchipC crunchip

    @apollon77 auf was bezogen? Alte Alexa2Version?
    Ichhatte von Git installiert, da ja nach der Neukonfiguration des Rechners, die stable 1.1.3 installiert wird.

    apollon77A Offline
    apollon77A Offline
    apollon77
    schrieb am zuletzt editiert von
    #99

    @crunchip und danach auch Instanz neu gestartet? Am besten im log prüfen das auch die 2.2 gestartet wird.

    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
    crunchipC 1 Antwort Letzte Antwort
    0
    • apollon77A apollon77

      @crunchip und danach auch Instanz neu gestartet? Am besten im log prüfen das auch die 2.2 gestartet wird.

      crunchipC Abwesend
      crunchipC Abwesend
      crunchip
      Forum Testing Most Active
      schrieb am zuletzt editiert von
      #100

      @apollon77 ah, jetzt komm ich mit, das war deine Antwort auf mein post mit den ssml beheben.
      Erkennt man leider nicht, worauf du geantwortet hast und ich zwischenzeitlich noch mehrere Post´s /Fragen hatte.

      Deshalb

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

      auf was bezogen? Alte Alexa2Version?

      umgestiegen von Proxmox auf Unraid

      apollon77A 1 Antwort Letzte Antwort
      0
      • crunchipC crunchip

        @apollon77 ah, jetzt komm ich mit, das war deine Antwort auf mein post mit den ssml beheben.
        Erkennt man leider nicht, worauf du geantwortet hast und ich zwischenzeitlich noch mehrere Post´s /Fragen hatte.

        Deshalb

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

        auf was bezogen? Alte Alexa2Version?

        apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #101

        @crunchip schau mal im post neben dem Namen. Da sieht man ob es eine Antwort ist auf eine früher frage mit dem Link zurück 😉

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        crunchipC 1 Antwort Letzte Antwort
        0
        • apollon77A apollon77

          @crunchip schau mal im post neben dem Namen. Da sieht man ob es eine Antwort ist auf eine früher frage mit dem Link zurück 😉

          crunchipC Abwesend
          crunchipC Abwesend
          crunchip
          Forum Testing Most Active
          schrieb am zuletzt editiert von
          #102

          @apollon77 man man man, der Weisse Balken🤦
          327387c9-b168-4104-a636-1915447e7164-image.png

          umgestiegen von Proxmox auf Unraid

          apollon77A 1 Antwort Letzte Antwort
          0
          • MicM Offline
            MicM Offline
            Mic
            Developer
            schrieb am zuletzt editiert von
            #103

            Hi,

            danke für die Anleitung. Nach Upgrade von 8 auf 10 und Ausführung von "npm rebuild" bekomme ich folgende Errors:

            npm ERR! path /opt/iobroker/node_modules/acme-dns-01-cli/package.json
            npm ERR! code ENOENT
            npm ERR! errno -2
            npm ERR! syscall open
            npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/acme-dns-01-cli/package.json'
            npm ERR! enoent This is related to npm not being able to find a file.
            npm ERR! enoent
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /root/.npm/_logs/2019-06-10T18_25_43_977Z-debug.log
            

            Welcher "Adapter" ist denn "acme-dns-01-cli" bzw. was kann ich hier tun?
            Habe jetzt meinen Proxmox-Snapshot wieder zurück gesetzt.

            Danke,
            Mic

            StabilostickS 1 Antwort Letzte Antwort
            0
            • crunchipC crunchip

              @Stabilostick jep, hatte schon gegoogelt und gelesen, das es was mit den GPIO´s zu tun hat.
              Das hatte ich gemacht,

              root@IoBroker:/opt/iobroker# npm i epoll
              
              > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                CXX(target) Release/obj.target/epoll/src/epoll.o
              In file included from ../../nan/nan.h:192:0,
                               from ../src/epoll.cc:15:
              ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Loca                                 l<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
              ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                 return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                             ^~~~~~~~
              In file included from ../src/epoll.cc:15:0:
              ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :Function>, int, v8::Local<v8::Value>*)’:
              ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                       v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                          ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.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/epoll.cc:15:0:
              ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :String>, int, v8::Local<v8::Value>*)’:
              ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_cont                                 ext) [-Wdeprecated-declarations]
                       v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                            ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.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/epoll.cc:15:0:
              ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*,                                  int, v8::Local<v8::Value>*)’:
              ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wde                                 precated-declarations]
                       v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                            ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.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/epoll.cc:15:0:
              ../../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’:
              ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                   ));
                   ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                   __attribute__((deprecated(message))) declarator
                                                        ^~~~~~~~~~
              ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD                                 _ARGS_TYPE)’:
              ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                          ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                 ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
              ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                             ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                    ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
              ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Remove(info[0]->Int32Value());
                                                             ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
              make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
              make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
              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:2                                 62: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" "rebui                                 ld"
              gyp ERR! cwd /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
              gyp ERR! node -v v10.16.0
              gyp ERR! node-gyp -v v3.8.0
              gyp ERR! not ok
              
              > epoll@2.0.9 install /opt/iobroker/node_modules/epoll
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird betreten
                CXX(target) Release/obj.target/epoll/src/epoll.o
                SOLINK_MODULE(target) Release/obj.target/epoll.node
                COPY Release/epoll.node
              make: Verzeichnis „/opt/iobroker/node_modules/epoll/build“ wird verlassen
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
              
              + epoll@2.0.9
              updated 1 package and audited 48196 packages in 63.253s
              found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                run `npm audit fix` to fix them, or `npm audit` for details
              root@IoBroker:/opt/iobroker#
              
              

              auch ein
              npm i unix-dgram

              root@IoBroker:/opt/iobroker# npm i unix-dgram
              
              > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                CXX(target) Release/obj.target/epoll/src/epoll.o
              In file included from ../../nan/nan.h:192:0,
                               from ../src/epoll.cc:15:
              ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Loca                                 l<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
              ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                 return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                             ^~~~~~~~
              In file included from ../src/epoll.cc:15:0:
              ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :Function>, int, v8::Local<v8::Value>*)’:
              ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                       v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                          ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.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/epoll.cc:15:0:
              ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8:                                 :String>, int, v8::Local<v8::Value>*)’:
              ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_cont                                 ext) [-Wdeprecated-declarations]
                       v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                            ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.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/epoll.cc:15:0:
              ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*,                                  int, v8::Local<v8::Value>*)’:
              ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wde                                 precated-declarations]
                       v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                            ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.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/epoll.cc:15:0:
              ../../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’:
              ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Obj                                 ect>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_co                                 ntext) [-Wdeprecated-declarations]
                   ));
                   ^
              In file included from ../src/epoll.cc:12:0:
              /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                               NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                ^
              /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                   __attribute__((deprecated(message))) declarator
                                                        ^~~~~~~~~~
              ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD                                 _ARGS_TYPE)’:
              ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                          ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                 ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
              ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                             ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                    ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_MET                                 HOD_ARGS_TYPE)’:
              ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version                                  [-Wdeprecated-declarations]
                 int err = epoll->Remove(info[0]->Int32Value());
                                                             ^
              In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                               from ../src/epoll.cc:11:
              /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                 V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                            ^
              /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                 declarator __attribute__((deprecated(message)))
                 ^~~~~~~~~~
              epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
              make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
              make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
              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:2                                 62: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" "rebui                                 ld"
              gyp ERR! cwd /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
              gyp ERR! node -v v10.16.0
              gyp ERR! node-gyp -v v3.8.0
              gyp ERR! not ok
              
              > unix-dgram@2.0.3 install /opt/iobroker/node_modules/unix-dgram
              > node-gyp rebuild
              
              make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                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: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
              
              + unix-dgram@2.0.3
              updated 1 package and audited 48196 packages in 67.015s
              found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                run `npm audit fix` to fix them, or `npm audit` for details
              
              
              StabilostickS Offline
              StabilostickS Offline
              Stabilostick
              schrieb am zuletzt editiert von Stabilostick
              #104

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

              Trotz der vielen Warnungen und des einen Fehlers: Die Logs sagen, dass sowohl die neue Version von epoll als auch unix-dgram erfolgreich installiert wurden. npm versucht, bei jedem Build auch die vorhergegangenen fehlgeschlagenen Builds wieder. Von daher die Meldungen. Wenn Du nachsiehst, wirst Du feststellen, dass sie sich z.B. auf epoll@0.xxx beziehen.

              Währe mal eine Idee, das zu deinstallieren. Also npm r epoll@0.xxx mit Deiner alten Version.

              1 Antwort Letzte Antwort
              0
              • MicM Mic

                Hi,

                danke für die Anleitung. Nach Upgrade von 8 auf 10 und Ausführung von "npm rebuild" bekomme ich folgende Errors:

                npm ERR! path /opt/iobroker/node_modules/acme-dns-01-cli/package.json
                npm ERR! code ENOENT
                npm ERR! errno -2
                npm ERR! syscall open
                npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/acme-dns-01-cli/package.json'
                npm ERR! enoent This is related to npm not being able to find a file.
                npm ERR! enoent
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /root/.npm/_logs/2019-06-10T18_25_43_977Z-debug.log
                

                Welcher "Adapter" ist denn "acme-dns-01-cli" bzw. was kann ich hier tun?
                Habe jetzt meinen Proxmox-Snapshot wieder zurück gesetzt.

                Danke,
                Mic

                StabilostickS Offline
                StabilostickS Offline
                Stabilostick
                schrieb am zuletzt editiert von
                #105

                @Mic

                Schaue im Snapshot nach, ob die Datei node_modules/acme-dns-01-cli/package.json tatsächlich fehlt oder vielleicht ein Rechteproblem vorliegt.

                Fehlt die Datei, kannst das Modul ggf. mit npm i acme-dns-01-cli neu installieren.

                crunchipC MicM 2 Antworten Letzte Antwort
                0
                • StabilostickS Stabilostick

                  @Mic

                  Schaue im Snapshot nach, ob die Datei node_modules/acme-dns-01-cli/package.json tatsächlich fehlt oder vielleicht ein Rechteproblem vorliegt.

                  Fehlt die Datei, kannst das Modul ggf. mit npm i acme-dns-01-cli neu installieren.

                  crunchipC Abwesend
                  crunchipC Abwesend
                  crunchip
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #106

                  @Stabilostick

                  npm r epoll@0.1.22
                  

                  ergab folgendes

                  > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                  > node-gyp rebuild
                  
                  make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                    CXX(target) Release/obj.target/epoll/src/epoll.o
                  In file included from ../../nan/nan.h:192:0,
                                   from ../src/epoll.cc:15:
                  ../../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)’:
                  ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                     return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                 ^~~~~~~~
                  In file included from ../src/epoll.cc:15:0:
                  ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                  ../../nan/nan.h:835: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 ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.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/epoll.cc:15:0:
                  ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                  ../../nan/nan.h:850: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 ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.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/epoll.cc:15:0:
                  ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                  ../../nan/nan.h:865: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 ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.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/epoll.cc:15:0:
                  ../../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’:
                  ../../nan/nan.h:1479: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 ../src/epoll.cc:12:0:
                  /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                   NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                    ^
                  /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                       __attribute__((deprecated(message))) declarator
                                                            ^~~~~~~~~~
                  ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                              ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                     ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                 ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                        ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
                  ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                     int err = epoll->Remove(info[0]->Int32Value());
                                                                 ^
                  In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                   from ../src/epoll.cc:11:
                  /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                     V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                ^
                  /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                     declarator __attribute__((deprecated(message)))
                     ^~~~~~~~~~
                  epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
                  make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                  make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
                  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/rpi-gpio/node_modules/epoll
                  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: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  
                  audited 51142 packages in 60.877s
                  found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                    run `npm audit fix` to fix them, or `npm audit` for details
                  
                  

                  umgestiegen von Proxmox auf Unraid

                  StabilostickS 1 Antwort Letzte Antwort
                  0
                  • crunchipC crunchip

                    @Stabilostick

                    npm r epoll@0.1.22
                    

                    ergab folgendes

                    > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                    > node-gyp rebuild
                    
                    make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                      CXX(target) Release/obj.target/epoll/src/epoll.o
                    In file included from ../../nan/nan.h:192:0,
                                     from ../src/epoll.cc:15:
                    ../../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)’:
                    ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                       return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                   ^~~~~~~~
                    In file included from ../src/epoll.cc:15:0:
                    ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                    ../../nan/nan.h:835: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 ../src/epoll.cc:12:0:
                    /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^
                    /root/.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/epoll.cc:15:0:
                    ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                    ../../nan/nan.h:850: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 ../src/epoll.cc:12:0:
                    /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^
                    /root/.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/epoll.cc:15:0:
                    ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                    ../../nan/nan.h:865: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 ../src/epoll.cc:12:0:
                    /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^
                    /root/.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/epoll.cc:15:0:
                    ../../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’:
                    ../../nan/nan.h:1479: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 ../src/epoll.cc:12:0:
                    /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                      ^
                    /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                         __attribute__((deprecated(message))) declarator
                                                              ^~~~~~~~~~
                    ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                ^
                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                     from ../src/epoll.cc:11:
                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^
                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                       ^
                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                     from ../src/epoll.cc:11:
                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^
                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                   ^
                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                     from ../src/epoll.cc:11:
                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^
                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                          ^
                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                     from ../src/epoll.cc:11:
                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^
                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       int err = epoll->Remove(info[0]->Int32Value());
                                                                   ^
                    In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                     from ../src/epoll.cc:11:
                    /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                  ^
                    /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
                    make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                    make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
                    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/rpi-gpio/node_modules/epoll
                    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: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    
                    audited 51142 packages in 60.877s
                    found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                      run `npm audit fix` to fix them, or `npm audit` for details
                    
                    
                    StabilostickS Offline
                    StabilostickS Offline
                    Stabilostick
                    schrieb am zuletzt editiert von
                    #107

                    @crunchip

                    Mea culpa, mein Fehler. Das „r“ war falsch. Sollte ein „u“ für uninstall sein.

                    crunchipC 1 Antwort Letzte Antwort
                    0
                    • StabilostickS Stabilostick

                      @crunchip

                      Mea culpa, mein Fehler. Das „r“ war falsch. Sollte ein „u“ für uninstall sein.

                      crunchipC Abwesend
                      crunchipC Abwesend
                      crunchip
                      Forum Testing Most Active
                      schrieb am zuletzt editiert von crunchip
                      #108

                      @Stabilostick wenn man blind vertraut 😁
                      bist du sicher mit dem "u"😂
                      das klappt nicht

                      root@IoBroker:/opt/iobroker# npm u epoll@0.1.22
                      
                      Usage: npm <command>
                      
                      where <command> is one of:
                          access, adduser, audit, bin, bugs, c, cache, ci, cit,
                          clean-install, clean-install-test, completion, config,
                          create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                          edit, explore, get, help, help-search, hook, i, init,
                          install, install-ci-test, install-test, it, link, list, ln,
                          login, logout, ls, org, outdated, owner, pack, ping, prefix,
                          profile, prune, publish, rb, rebuild, repo, restart, root,
                          run, run-script, s, se, search, set, shrinkwrap, star,
                          stars, start, stop, t, team, test, token, tst, un,
                          uninstall, unpublish, unstar, up, update, v, version, view,
                          whoami
                      
                      npm <command> -h  quick help on <command>
                      npm -l            display full usage info
                      npm help <term>   search for help on <term>
                      npm help npm      involved overview
                      
                      Specify configs in the ini-formatted file:
                          /root/.npmrc
                      or on the command line via: npm <command> --key value
                      Config info can be viewed via: npm help config
                      
                      npm@6.9.0 /usr/lib/node_modules/npm
                      
                      

                      man darf halt nicht immer so faul sein und manche Wörter einfach ausschreiben

                      die Ausgabe

                      root@IoBroker:/opt/iobroker# npm uninstall epoll@0.1.22
                      
                      > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                      > node-gyp rebuild
                      
                      make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird betreten
                        CXX(target) Release/obj.target/epoll/src/epoll.o
                      In file included from ../../nan/nan.h:192:0,
                                       from ../src/epoll.cc:15:
                      ../../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)’:
                      ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
                         return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
                                     ^~~~~~~~
                      In file included from ../src/epoll.cc:15:0:
                      ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
                      ../../nan/nan.h:835: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 ../src/epoll.cc:12:0:
                      /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^
                      /root/.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/epoll.cc:15:0:
                      ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
                      ../../nan/nan.h:850: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 ../src/epoll.cc:12:0:
                      /root/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^
                      /root/.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/epoll.cc:15:0:
                      ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
                      ../../nan/nan.h:865: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 ../src/epoll.cc:12:0:
                      /root/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^
                      /root/.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/epoll.cc:15:0:
                      ../../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’:
                      ../../nan/nan.h:1479: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 ../src/epoll.cc:12:0:
                      /root/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                        ^
                      /root/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
                           __attribute__((deprecated(message))) declarator
                                                                ^~~~~~~~~~
                      ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                  ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                       from ../src/epoll.cc:11:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                         ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                       from ../src/epoll.cc:11:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                     ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                       from ../src/epoll.cc:11:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                            ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                       from ../src/epoll.cc:11:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
                      ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                         int err = epoll->Remove(info[0]->Int32Value());
                                                                     ^
                      In file included from /root/.node-gyp/10.16.0/include/node/v8.h:26:0,
                                       from ../src/epoll.cc:11:
                      /root/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
                         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                    ^
                      /root/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                         declarator __attribute__((deprecated(message)))
                         ^~~~~~~~~~
                      epoll.target.mk:103: die Regel für Ziel „Release/obj.target/epoll/src/epoll.o“ scheiterte
                      make: *** [Release/obj.target/epoll/src/epoll.o] Fehler 1
                      make: Verzeichnis „/opt/iobroker/node_modules/rpi-gpio/node_modules/epoll/build“ wird verlassen
                      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/rpi-gpio/node_modules/epoll
                      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: epoll@0.1.22 (node_modules/rpi-gpio/node_modules/epoll):
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: epoll@0.1.22 install: `node-gyp rebuild`
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                      
                      audited 51142 packages in 67.966s
                      found 141 vulnerabilities (73 low, 5 moderate, 63 high)
                        run `npm audit fix` to fix them, or `npm audit` for details
                      
                      

                      umgestiegen von Proxmox auf Unraid

                      1 Antwort Letzte Antwort
                      0
                      • StabilostickS Stabilostick

                        @Mic

                        Schaue im Snapshot nach, ob die Datei node_modules/acme-dns-01-cli/package.json tatsächlich fehlt oder vielleicht ein Rechteproblem vorliegt.

                        Fehlt die Datei, kannst das Modul ggf. mit npm i acme-dns-01-cli neu installieren.

                        MicM Offline
                        MicM Offline
                        Mic
                        Developer
                        schrieb am zuletzt editiert von Mic
                        #109

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

                        npm i acme-dns-01-cli

                        Danke.
                        Das Verzeichnis "/opt/iobroker/node_modules/acme-dns-01-cli/" existiert gar nicht. Nach Updaten durch "npm i acme-dns-01-cli" folgende Ausgabe:

                        npm WARN saveError ENOENT: no such file or directory, open '/root/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
                        npm WARN root No description
                        npm WARN root No repository field.
                        npm WARN root No README data
                        npm WARN root No license field.
                        
                        + acme-dns-01-cli@3.0.7
                        updated 1 package and audited 643 packages in 2.32s
                        found 0 vulnerabilities
                        

                        Auch danach wird das Verzeichnis "/opt/iobroker/node_modules/acme-dns-01-cli/" nicht erstellt.

                        Stattdessen liegt das Verzeichnis hier: "/root/node_modules/acme-dns-01-cli", Inhalt:

                        index.js
                        LICENSE
                        package.json
                        README.md
                        
                        StabilostickS 2 Antworten Letzte Antwort
                        0
                        • MicM Mic

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

                          npm i acme-dns-01-cli

                          Danke.
                          Das Verzeichnis "/opt/iobroker/node_modules/acme-dns-01-cli/" existiert gar nicht. Nach Updaten durch "npm i acme-dns-01-cli" folgende Ausgabe:

                          npm WARN saveError ENOENT: no such file or directory, open '/root/package.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
                          npm WARN root No description
                          npm WARN root No repository field.
                          npm WARN root No README data
                          npm WARN root No license field.
                          
                          + acme-dns-01-cli@3.0.7
                          updated 1 package and audited 643 packages in 2.32s
                          found 0 vulnerabilities
                          

                          Auch danach wird das Verzeichnis "/opt/iobroker/node_modules/acme-dns-01-cli/" nicht erstellt.

                          Stattdessen liegt das Verzeichnis hier: "/root/node_modules/acme-dns-01-cli", Inhalt:

                          index.js
                          LICENSE
                          package.json
                          README.md
                          
                          StabilostickS Offline
                          StabilostickS Offline
                          Stabilostick
                          schrieb am zuletzt editiert von Stabilostick
                          #110

                          @crunchip

                          so, wieder am Rechner... Jetzt kann ich nachsehen. Also das aktuelle rpi-gpio Modul hat die folgenden Abhängigkeiten:

                          "dependencies": {
                             "async-retry": "^1.2.1",
                             "debug": "^3.1.0",
                             "epoll": "^2.0.3"
                          }
                          

                          Da ist ein Node 10-kompatibles epoll referenziert. Und so sieht es mit der Node 10-Kompatibilität von rpi-gpio allgemein aus (https://github.com/JamesBarwell/rpi-gpio.js) :

                          rpi-gpio 1.x is no longer supported. Please use 2.x unless you need to run with an old version of node.
                          node version 	rpi-gpio 1.x 	rpi-gpio 2.x +
                          0.10 	 	Yes 	 	No
                          0.12 	 	Yes 	 	No
                          4 	 	Yes 	 	Yes
                          6 	 	Yes 	 	Yes
                          8 	 	Yes 	 	Yes
                          10 	 	No 	 	Yes
                          

                          Falls der Auslöser für die Verwendung von rpi-gpio der rpi2-Adapter ist - der hat u.a. diese Abhängigkeit:

                          "optionalDependencies": {
                              "rpi-gpio": "^1.0.0"
                          },
                          

                          Das heißt, das Modul rpi-gpio kann auch in höheren Verionen als 1.0.0 für rpi2 eingesetzt werden.

                          Mit

                          npm ls rpi-gpio
                          

                          siehst Du, wo das Modul in welcher Version steckt. Was wird da angezeigt?

                          PS: Der chicken-Way ist, sich die Einstellungen des rpi2-Adapter zu notieren, alles Instanzen und den Adapter zu löschen, und ihn anschließend neu zu installieren und zu konfigurieren. Da kommen dann die neuen Versionen der Module mit. 😋

                          crunchipC 1 Antwort Letzte Antwort
                          1
                          • MicM Mic

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

                            npm i acme-dns-01-cli

                            Danke.
                            Das Verzeichnis "/opt/iobroker/node_modules/acme-dns-01-cli/" existiert gar nicht. Nach Updaten durch "npm i acme-dns-01-cli" folgende Ausgabe:

                            npm WARN saveError ENOENT: no such file or directory, open '/root/package.json'
                            npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
                            npm WARN root No description
                            npm WARN root No repository field.
                            npm WARN root No README data
                            npm WARN root No license field.
                            
                            + acme-dns-01-cli@3.0.7
                            updated 1 package and audited 643 packages in 2.32s
                            found 0 vulnerabilities
                            

                            Auch danach wird das Verzeichnis "/opt/iobroker/node_modules/acme-dns-01-cli/" nicht erstellt.

                            Stattdessen liegt das Verzeichnis hier: "/root/node_modules/acme-dns-01-cli", Inhalt:

                            index.js
                            LICENSE
                            package.json
                            README.md
                            
                            StabilostickS Offline
                            StabilostickS Offline
                            Stabilostick
                            schrieb am zuletzt editiert von Stabilostick
                            #111

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

                            Ah, Du bist einer welcher, der die Sicherheit seines Systems täglich aufs neue herausfordert, indem Du als root-User arbeitest. 😈

                            npm i acme-dns-01-cli

                            Hattest Du das im ioBroker-Ordner (z.B. /opt/iobroker) ausgeführt?

                            Wegen root-User: Versuche es ggf. einmal mit dem ioBroker-Fixer, der einige Berechtigungen und Einstellungen korrigiert:

                            curl -sL https://iobroker.net/fix.sh | bash -
                            
                            MicM 1 Antwort Letzte Antwort
                            1
                            • StabilostickS Stabilostick

                              @crunchip

                              so, wieder am Rechner... Jetzt kann ich nachsehen. Also das aktuelle rpi-gpio Modul hat die folgenden Abhängigkeiten:

                              "dependencies": {
                                 "async-retry": "^1.2.1",
                                 "debug": "^3.1.0",
                                 "epoll": "^2.0.3"
                              }
                              

                              Da ist ein Node 10-kompatibles epoll referenziert. Und so sieht es mit der Node 10-Kompatibilität von rpi-gpio allgemein aus (https://github.com/JamesBarwell/rpi-gpio.js) :

                              rpi-gpio 1.x is no longer supported. Please use 2.x unless you need to run with an old version of node.
                              node version 	rpi-gpio 1.x 	rpi-gpio 2.x +
                              0.10 	 	Yes 	 	No
                              0.12 	 	Yes 	 	No
                              4 	 	Yes 	 	Yes
                              6 	 	Yes 	 	Yes
                              8 	 	Yes 	 	Yes
                              10 	 	No 	 	Yes
                              

                              Falls der Auslöser für die Verwendung von rpi-gpio der rpi2-Adapter ist - der hat u.a. diese Abhängigkeit:

                              "optionalDependencies": {
                                  "rpi-gpio": "^1.0.0"
                              },
                              

                              Das heißt, das Modul rpi-gpio kann auch in höheren Verionen als 1.0.0 für rpi2 eingesetzt werden.

                              Mit

                              npm ls rpi-gpio
                              

                              siehst Du, wo das Modul in welcher Version steckt. Was wird da angezeigt?

                              PS: Der chicken-Way ist, sich die Einstellungen des rpi2-Adapter zu notieren, alles Instanzen und den Adapter zu löschen, und ihn anschließend neu zu installieren und zu konfigurieren. Da kommen dann die neuen Versionen der Module mit. 😋

                              crunchipC Abwesend
                              crunchipC Abwesend
                              crunchip
                              Forum Testing Most Active
                              schrieb am zuletzt editiert von
                              #112

                              @Stabilostick

                              root@IoBroker:/opt/iobroker# npm ls rpi-gpio
                              iobroker.inst@2.0.3 /opt/iobroker
                              └─┬ iobroker.rpi2@1.0.0
                               └── rpi-gpio@1.0.0
                              
                              

                              dann wäre ja die einfachste Lösung, ich deinstalliere den Adapter, da er momentan nicht mehr in Gebrauch ist.
                              Dieser war noch aus der Raspberry Zeit und Multihostbetrieb.

                              umgestiegen von Proxmox auf Unraid

                              StabilostickS smartboartS S 3 Antworten Letzte Antwort
                              0
                              • crunchipC crunchip

                                @Stabilostick

                                root@IoBroker:/opt/iobroker# npm ls rpi-gpio
                                iobroker.inst@2.0.3 /opt/iobroker
                                └─┬ iobroker.rpi2@1.0.0
                                 └── rpi-gpio@1.0.0
                                
                                

                                dann wäre ja die einfachste Lösung, ich deinstalliere den Adapter, da er momentan nicht mehr in Gebrauch ist.
                                Dieser war noch aus der Raspberry Zeit und Multihostbetrieb.

                                StabilostickS Offline
                                StabilostickS Offline
                                Stabilostick
                                schrieb am zuletzt editiert von Stabilostick
                                #113

                                @crunchip

                                Ja.

                                crunchipC 1 Antwort Letzte Antwort
                                0
                                • StabilostickS Stabilostick

                                  @crunchip

                                  Ja.

                                  crunchipC Abwesend
                                  crunchipC Abwesend
                                  crunchip
                                  Forum Testing Most Active
                                  schrieb am zuletzt editiert von
                                  #114

                                  @Stabilostick erledigt, dann bin ich mal gespannt, bei kommenden Updates/Installationen, ob diesbezüglich noch Fehlermeldungen/Warnungen auftauchen.
                                  Besten Dank erstmal für die Ausführliche Info.
                                  dann steht jetzt noch die Suche nach dem fast 3fachen Netzwerk Traffic aus.
                                  kann aber ehrlich gesagt, nicht wirklich viel mit iftop anfangen.
                                  werd ich mal ein wenig lesen und probieren

                                  umgestiegen von Proxmox auf Unraid

                                  1 Antwort Letzte Antwort
                                  0
                                  • K Offline
                                    K Offline
                                    klassisch
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #115

                                    Interessanter Thread, den ich leider erst jetzt gesehen habe.
                                    Hatte im Verlauf des letzten Jahres auch das Gefühl, den Überblick über die node.js und npm Versionen komplett verloren zu haben. Und ich hatte auch den Eindruck, daß einige Anfragen dazu unbeantwortet blieben, was auch aufgrund der Kombinatorik verständlich ist. Aber eine auf Dauer potentiell gefährliche Situation.
                                    Den Ansatz mit getesteten und stimmigen Updatepakten bzw. Installern finde ich prima.
                                    Der Windows-Installer hat mir schon sehr geholfen. Lief glatt durch und jetzt habe ich einen ioBroker auf einer leistungsfähigen, zeitgemäßen und ausbaufähigen Plattform.
                                    Prima auch, wenn man damit künftig auf neuere funktionierende Pakete upgraden kann.

                                    1 Antwort Letzte Antwort
                                    1
                                    • O Offline
                                      O Offline
                                      Olivbus
                                      schrieb am zuletzt editiert von
                                      #116

                                      Bei mir kommt am Ende nach dem Update auf Node 10.x und nmp rebuild diese Fehlermeldung. Der Iobroker läuft aber problemlos (alles grün). Besteht Handlungsbedarf? Ich würde mich über ein kurzes Statement freuen, weil ich noch ganz neu hier bin.

                                      npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/a                                                                                                                                                              dapter-core/package.json
                                      npm ERR! code ENOENT
                                      npm ERR! errno -2
                                      npm ERR! syscall open
                                      npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu                                                                                                                                                              les/iobroker.admin/node_modules/@iobroker/adapter-core/package.json'
                                      npm ERR! enoent This is related to npm not being able to find a file.
                                      npm ERR! enoent
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/pi/.npm/_logs/2019-06-11T18_03_36_675Z-debug.log
                                      
                                      
                                      O 1 Antwort Letzte Antwort
                                      0
                                      • O Olivbus

                                        Bei mir kommt am Ende nach dem Update auf Node 10.x und nmp rebuild diese Fehlermeldung. Der Iobroker läuft aber problemlos (alles grün). Besteht Handlungsbedarf? Ich würde mich über ein kurzes Statement freuen, weil ich noch ganz neu hier bin.

                                        npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/a                                                                                                                                                              dapter-core/package.json
                                        npm ERR! code ENOENT
                                        npm ERR! errno -2
                                        npm ERR! syscall open
                                        npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu                                                                                                                                                              les/iobroker.admin/node_modules/@iobroker/adapter-core/package.json'
                                        npm ERR! enoent This is related to npm not being able to find a file.
                                        npm ERR! enoent
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/pi/.npm/_logs/2019-06-11T18_03_36_675Z-debug.log
                                        
                                        
                                        O Offline
                                        O Offline
                                        Olivbus
                                        schrieb am zuletzt editiert von Olivbus
                                        #117

                                        @Olivbus Irgendwie wird nicht alles übernommen im Code, deshalb hier nochmal als Text

                                        npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/a dapter-core/package.json
                                        npm ERR! code ENOENT
                                        npm ERR! errno -2
                                        npm ERR! syscall open
                                        npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu les/iobroker.admin/node_modules/@iobroker/adapter-core/package.json'
                                        npm ERR! enoent This is related to npm not being able to find a file.
                                        npm ERR! enoent

                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR! /home/pi/.npm/_logs/2019-06-11T18_03_36_675Z-debug.log

                                        O apollon77A 2 Antworten Letzte Antwort
                                        0
                                        • O Olivbus

                                          @Olivbus Irgendwie wird nicht alles übernommen im Code, deshalb hier nochmal als Text

                                          npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/@iobroker/a dapter-core/package.json
                                          npm ERR! code ENOENT
                                          npm ERR! errno -2
                                          npm ERR! syscall open
                                          npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu les/iobroker.admin/node_modules/@iobroker/adapter-core/package.json'
                                          npm ERR! enoent This is related to npm not being able to find a file.
                                          npm ERR! enoent

                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR! /home/pi/.npm/_logs/2019-06-11T18_03_36_675Z-debug.log

                                          O Offline
                                          O Offline
                                          Olivbus
                                          schrieb am zuletzt editiert von
                                          #118

                                          @Olivbus
                                          Hier noch meine Systemdaten:
                                          Betriebssystem:linux
                                          Architektur:arm
                                          CPUs:4
                                          Geschwindigkeit:600 MHz
                                          Modell:ARMv7 Processor rev 4 (v7l)
                                          RAM:927.22 MB
                                          Node.js: v10.16.0
                                          NPM: 6.9.0
                                          Anzahl der Adapter:243
                                          Festplatte Größe:14.53 GB
                                          Festplatte frei:12.09 GB
                                          Aktive Instanzen:20
                                          Hostname:ioBroker-RasPi
                                          js controller: 1.5.11

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          339

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe