Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • marcuskl
      marcuskl @MathiasJ last edited by marcuskl

      @MathiasJ

      Den Benutzer klotzma habe ich bei der Installation von Debian angelegt.

      Bei su klotzma kommt das hier:

      root@iobroker:~# su klotzma
      su: failed to execute bin/bash: Keine Berechtigung
      
      

      Jetzt kann ich mich nach ausführen deiner Befehle nicht mehr über SSH mit den user klotzma einloggen.
      In der Konsole kann ich mich auch nicht mehr mit klotzma anmelden, werde nach dem einloggen sofort wieder ausgeloggt.

      Sobald ich mich mit Putty jetzt mit klozma anmelde, wird Putty sofort geschlossen.

      Wie mache ich das jetzt wieder rückgängig ?

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

        welche befehle?
        ich habe Dir 2 verschiedene geschickt.

        1. Kasten oben, oder 2. Kasten unten?
          Wenn die die im 2. Kasten unten ausgeführt hast, hast Du den User klotzma deaktiviert.
        marcuskl 1 Reply Last reply Reply Quote 0
        • marcuskl
          marcuskl @MathiasJ last edited by

          @MathiasJ die im ersten Kasten.

          Ich habe nun den User dann komplett gelöscht und neu angelegt wieder und ihn sudo rechte gegeben mit dieser Anleitung hier

          1 Reply Last reply Reply Quote 0
          • JB_Sullivan
            JB_Sullivan last edited by

            Wie aktualisiert man eigentlich RICHTIG Node.js und npm bei einer Windows Installation die mit dem ioBroker Installer 2.1b durchgeführt wurde?

            Es gibt ja im ioBroker Verzeichnis den Ordner nodejs. Kann man den Inhalt einfach gegen eine höhere Version austauschen (Copy & Paste) oder muss man die höhere Version dort hinein installieren? Weil Standard mäßig wird node unter Windows ja in die Programm Ordner / (86) installiert.

            Ist auch bei dem ioBroker nodejs Ordner darauf zu achten welches BS (64/32bit) man dort hinein installiert / kopiert?

            npm muss dann anschließend ebenfalls aktualisiert werden? ( npm install -g npm@latest )

            1 Reply Last reply Reply Quote 0
            • Mic
              Mic Developer last edited by

              Vielen Dank für die Anleitung!

              Ich habe in meinem Produktiv-System (Debian unter Proxmox) letztens erfolgreich Update von node.js 10 auf 12.16.1 durchgeführt
              Zur Anleitung:
              Punkt 4, a) npm rebuild mäkelte Module in "/node_modules" an, hatte dann nach und nach diese manuell aktualisiert und jew. npm rebuild neu ausgeführt. Nach der dritten Aktualisierung hatte ich keine Lust mehr. Also dann einfach c) Reset aller Module in node_modules durchgeführt.
              Alle Adapter, Scripte usw. laufen sauber wie gewohnt 😎

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

                .....und ich warte immer noch auf Antwort des Programmierers wegen Bluetooth.
                Das Issue auf Github habe ich vor 2 Wochen schon erstellt. 😠
                Gruß,
                Mathias

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

                  Ich habe gestern IObroker VM auf meinem NUC installiert und das Backup eingespielt.
                  Der läuft jetzt die ganze Nacht ohne Störungen durch.
                  Eine Frage noch, die eigentlich nicht hier her gehört:
                  Gibt's sowas wie ein zurücksetzen oder Reset? Ich muß bald sowieso alles neu machen.
                  Gruß,
                  Mathias

                  apollon77 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @MathiasJ last edited by

                    @MathiasJ und warum fragst du hier wenn du schon weißt das es nicht hier her gehört?
                    Ein eigener thread wäre sinnvoll wenn du bei den cli Kommandos in der Doku nicht selbst fündig wirst.

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

                      So, eine neue SD Karte geflasht, IObroker installiert mit Node 12, IObroker.ble und IObroker.radar laufen immer noch nicht. Wie auf der damaligen Testinstallation läuft Bluetooth low energy nicht.
                      Siehe auch https://forum.iobroker.net/topic/23703/testinstallation-unter-node-12-6-0/33

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sneak-L8 @crunchip last edited by Sneak-L8

                        Hallo zusammen,

                        ich hänge auch gerade am Update des node.js auf den aktuellsten Stand. Und hänge am epoll-Fehler.

                        Habe schon

                        npm uninstall epoll@0.1.22
                        

                        gemacht und den Adapter deinstalliert und auch eine neue Vesion installiert. Hat baer nichts geholfen. Beim Blick auf die Abhängigkeiten:

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

                        @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.

                        bekomme ich leider einen Fehler:

                        pi@ioBroker-RasPi:/opt/iobroker $ npm ls rpi-gpio
                        iobroker.inst@1.3.1 /opt/iobroker
                        └── rpi-gpio@1.0.0  extraneous
                        
                        npm ERR! extraneous: rpi-gpio@1.0.0 /opt/iobroker/node_modules/rpi-gpio
                        

                        Ein weiterer "npm rebuild" zeigt, dass wohl mehrere Versionen von epoll installiert werdne sollen:

                        > epoll@2.0.9 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                        > node-gyp rebuild
                        
                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/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/iobroker.rpi2/node_modules/epoll/build“ wird verlassen
                        
                        > epoll@2.0.9 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                        > node-gyp rebuild
                        
                        make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/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/iobroker.rpi2/node_modules/epoll/build“ wird verlassen
                        
                        > epoll@0.1.22 install /opt/iobroker/node_modules/rpi-gpio/node_modules/epoll
                        > node-gyp rebuild
                        

                        Hat da jemand einen Tipp für mich?

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Sneak-L8 last edited by

                          @Sneak-L8 Auf welchem System? Debian?

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sneak-L8 last edited by

                            Ah, sorry, Raspi 3+ mit ioBroker-Image

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Sneak-L8 last edited by

                              @Sneak-L8

                              nodejs -v
                              node -v
                              npm -v
                              sudo apt update
                              apt policy nodejs
                              sudo apt upgrade
                              
                              1 Reply Last reply Reply Quote 0
                              • S
                                Sneak-L8 last edited by

                                Hab ich gerade durchgeführt und anschließend einen npm rebuild versucht. Immer noch der gleiche Fehler.

                                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:191: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.14.34-v7+
                                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.20.1
                                gyp ERR! node-gyp -v v5.1.0
                                gyp ERR! not ok
                                npm ERR! code ELIFECYCLE
                                npm ERR! errno 1
                                npm ERR! epoll@0.1.22 install: `node-gyp rebuild`
                                npm ERR! Exit status 1
                                npm ERR!
                                npm ERR! Failed at the epoll@0.1.22 install script.
                                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2020-04-13T20_33_28_983Z-debug.log
                                
                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @Sneak-L8 last edited by

                                  @Sneak-L8 Und bricht er das rebuild dort ab oder was ist die Ausgabe am Ende?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sneak-L8 last edited by Sneak-L8

                                    Ja, der Build wird an dieser Stelle mit Fehler beendet.

                                    Hier mal etwas mehr Log-Output:

                                    > node-pre-gyp install --fallback-to-build
                                    
                                    node-pre-gyp WARN Using request for node-pre-gyp https download
                                    [sqlite3] Success: "/opt/iobroker/node_modules/sqlite3/lib/binding/node-v64-linux-arm/node_sqlite3.node" already installed
                                    Pass --update-binary to reinstall or --build-from-source to recompile
                                    
                                    > epoll@2.0.9 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                                    > node-gyp rebuild
                                    
                                    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/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/iobroker.rpi2/node_modules/epoll/build“ wird verlassen
                                    
                                    > epoll@2.0.9 install /opt/iobroker/node_modules/iobroker.rpi2/node_modules/epoll
                                    > node-gyp rebuild
                                    
                                    make: Verzeichnis „/opt/iobroker/node_modules/iobroker.rpi2/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/iobroker.rpi2/node_modules/epoll/build“ wird verlassen
                                    
                                    > 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::Functio n>, 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:
                                    /home/iobroker/.cache/node-gyp/10.20.1/include/node/node.h:177:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /home/iobroker/.cache/node-gyp/10.20.1/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:
                                    /home/iobroker/.cache/node-gyp/10.20.1/include/node/node.h:170:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /home/iobroker/.cache/node-gyp/10.20.1/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:
                                    /home/iobroker/.cache/node-gyp/10.20.1/include/node/node.h:163:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /home/iobroker/.cache/node-gyp/10.20.1/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<v 8::Value>*) const’:
                                    ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Functio n>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
                                         ));
                                         ^
                                    In file included from ../src/epoll.cc:12:0:
                                    /home/iobroker/.cache/node-gyp/10.20.1/include/node/node.h:177:50: note: declared here
                                                     NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                                                      ^
                                    /home/iobroker/.cache/node-gyp/10.20.1/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-declaration  ]
                                       int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                ^
                                    In file included from /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /home/iobroker/.cache/node-gyp/10.20.1/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-declaration  ]
                                       int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                       ^
                                    In file included from /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /home/iobroker/.cache/node-gyp/10.20.1/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-declaration  ]
                                       int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                   ^
                                    In file included from /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /home/iobroker/.cache/node-gyp/10.20.1/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-declaration  ]
                                       int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                                                          ^
                                    In file included from /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /home/iobroker/.cache/node-gyp/10.20.1/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-declaration  ]
                                       int err = epoll->Remove(info[0]->Int32Value());
                                                                                   ^
                                    In file included from /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:26:0,
                                                     from ../src/epoll.cc:11:
                                    /home/iobroker/.cache/node-gyp/10.20.1/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /home/iobroker/.cache/node-gyp/10.20.1/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:191: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.14.34-v7+
                                    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.20.1
                                    gyp ERR! node-gyp -v v5.1.0
                                    gyp ERR! not ok
                                    npm ERR! code ELIFECYCLE
                                    npm ERR! errno 1
                                    npm ERR! epoll@0.1.22 install: `node-gyp rebuild`
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the epoll@0.1.22 install script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2020-04-14T06_54_15_971Z-debug.log
                                    pi@ioBroker-RasPi:/opt/iobroker $
                                    

                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @Sneak-L8 last edited by

                                      @Sneak-L8 Welche Version von rpi2 adapter hast Du installiert? Dein "epoll" ist asbach uralt und nicht mit nodejs 10 kompatibel ... update mal rpi2 Adapter

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Sneak-L8 @apollon77 last edited by Sneak-L8

                                        @apollon77 Der Adapter RPI2 hat die Version 1.1.1. Laut Änderungsprotokoll gibt es nur eine neuere Version 1.2.0, die die automatische Adapter-Prüfung aber nicht vorschlägt.
                                        Evtl. manuell drüber installieren? aber wie genau?

                                        Ich habe jetzt mal gesagt, bestimmte RPI2-Version installieren und die 1.1.1 gewählt. Danach habe ich erneut einen npm rebuild gemacht. Gleicher Fehler. Hab aber gesehen, dass der rebuild mit einem epoll 3.0.0 startet. Also irgendwie will er wohl auch noch die alte Version umwandeln. Aber warum?
                                        npm uninstall epoll@0.1.22 hatte ich schon mal versucht.

                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @Sneak-L8 last edited by

                                          @Sneak-L8 Dann mach mal npm ls im Verzeichnis node_modules/iobroker.rpi2 und Zeig mal die Ausgabe

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Sneak-L8 @apollon77 last edited by

                                            @apollon77 Bitte schön:

                                            pi@ioBroker-RasPi:/opt/iobroker/node_modules/iobroker.rpi2 $ npm ls
                                            iobroker.rpi2@1.1.1 /opt/iobroker/node_modules/iobroker.rpi2
                                            ├── UNMET DEPENDENCY @iobroker/adapter-core@^1.0.3
                                            ├─┬ rpi-gpio@2.1.5
                                            │ ├── UNMET DEPENDENCY async-retry@^1.2.1
                                            │ ├─┬ debug@3.2.6
                                            │ │ └── ms@2.1.2
                                            │ └─┬ epoll@2.0.10
                                            │   ├── UNMET DEPENDENCY bindings@^1.5.0
                                            │   └── UNMET DEPENDENCY nan@^2.14.0
                                            └── UNMET DEPENDENCY sync-exec@^0.6.2
                                            
                                            npm ERR! missing: @iobroker/adapter-core@^1.0.3, required by iobroker.rpi2@1.1.1
                                            npm ERR! missing: sync-exec@^0.6.2, required by iobroker.rpi2@1.1.1
                                            npm ERR! missing: async-retry@^1.2.1, required by rpi-gpio@2.1.5
                                            npm ERR! missing: bindings@^1.5.0, required by epoll@2.0.10
                                            npm ERR! missing: nan@^2.14.0, required by epoll@2.0.10
                                            
                                            apollon77 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            928
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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