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 ioBroker richtig updaten-2021/22 Edition

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

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

      @ecki945 da meckert nix tun. Ist doch alles ok.

      1 Reply Last reply Reply Quote 0
      • R
        Rockfox last edited by

        Hallo bekomme beim Laden der Node.js 14 folgendes (Fehler) angezeigt. Kann ich die Installation trotzdem anstoßen.

        /opt/iobroker $ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
        
        ## Installing the NodeSource Node.js 14.x repo...
        
        ## Populating apt-get cache...
        
        + apt-get update
        Holen:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
        Holen:2 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
        Ign:3 https://phoscon.de/apt/deconz buster InRelease                                                
        Holen:4 https://deb.nodesource.com/node_12.x buster InRelease [4.584 B]                       
        Fehl:5 https://phoscon.de/apt/deconz buster Release                       
          Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification.
        Holen:6 https://deb.nodesource.com/node_12.x buster/main armhf Packages [783 B]
        Paketlisten werden gelesen... Fertig
        E: Das Depot »https://phoscon.de/apt/deconz buster Release« enthält keine Release-Datei mehr.
        N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
        N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
        E: Für das Depot »http://raspbian.raspberrypi.org/raspbian buster InRelease« wurde der »Suite«-Wert von »stable« in »oldstable« geändert.
        N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Informationen benötigen.
        E: Für das Depot »http://archive.raspberrypi.org/debian buster InRelease« wurde der »Suite«-Wert von »testing« in »oldstable« geändert.
        N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Informationen benötigen.
        Error executing command, exiting
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Rockfox last edited by

          @rockfox

          sudo apt update
          sudo apt full-upgrade
          sudo reboot
          

          Rückfragen bejahen.

          R 1 Reply Last reply Reply Quote 1
          • R
            Rockfox @Thomas Braun last edited by

            @thomas-braun
            Danke

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Jan1 last edited by

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

              Der Doku kann man so folgen, wobei die mal erweiter werden müsste, mit dem Hinweis, das IOBroker Node mit installiert.

              das steht doch drin -in großem roten Kasten vorweg:

              mit dem aktuellen Installer von ioBroker (siehe unten) wird auf einem System ohne node.js automatisch die aktuell empfohlene Version von node.js mit installiert! Eine vorherige separate Installation von node.js ist somit nicht mehr nötig.

              AlCalzone 1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer @Homoran last edited by

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

                das steht doch drin

                <marquee><blink> ... </blink></marquee>
                

                Könnte nötig sein 🤣

                crunchip 1 Reply Last reply Reply Quote 1
                • Thomas Braun
                  Thomas Braun Most Active @Rockfox last edited by

                  @rockfox

                  Läuft das jetzt sauber durch? Inkl. phoscon-Repo?

                  sudo apt update
                  

                  wirft dir jetzt was genau um die Ohren?

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

                    Guten Morgen, ich verzweifel gerade an dem Problem welcher im Eingangspost beschrieben wurde (Serialport).

                    Gestern habe ich ein Update vom Sytem / Nodejs gemacht auf die aktuelle 14.x
                    Der Zigbee adapter hatte die gleiche Probleme, läuft jedoch inzwischen,

                    Sobald ich den Jeelink Adapter jedoch starte bekomme ich Fehlermeldungen im Log.

                    host.NUC
                    2022-03-20 11:24:39.556	error	instance system.adapter.jeelink.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                    host.NUC
                    2022-03-20 11:24:39.556	error	Caught by controller[0]: }
                    host.NUC
                    2022-03-20 11:24:39.556	error	Caught by controller[0]: ]
                    host.NUC
                    2022-03-20 11:24:39.556	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/lib/binding/node-v83-linux-x64/bindings.node'
                    host.NUC
                    2022-03-20 11:24:39.555	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.555	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.555	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.555	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/compiled/14.19.1/linux/x64/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.555	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/default/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.555	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/Release/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.554	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/out/Release/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.554	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/Debug/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.554	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/out/Debug/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.554	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.554	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/Debug/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.553	error	Caught by controller[0]: '/opt/iobroker/node_modules/@serialport/bindings/build/bindings.node',
                    host.NUC
                    2022-03-20 11:24:39.553	error	Caught by controller[0]: tries: [
                    host.NUC
                    2022-03-20 11:24:39.553	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) {
                    host.NUC
                    2022-03-20 11:24:39.553	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/index.js:14:22)
                    host.NUC
                    2022-03-20 11:24:39.553	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18)
                    host.NUC
                    2022-03-20 11:24:39.553	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19)
                    host.NUC
                    2022-03-20 11:24:39.552	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                    host.NUC
                    2022-03-20 11:24:39.552	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32)
                    host.NUC
                    2022-03-20 11:24:39.552	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                    host.NUC
                    2022-03-20 11:24:39.552	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14)
                    host.NUC
                    2022-03-20 11:24:39.552	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:1:36)
                    host.NUC
                    2022-03-20 11:24:39.552	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:126:9)
                    host.NUC
                    2022-03-20 11:24:39.551	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/lib/binding/node-v83-linux-x64/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.551	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/addon-build/default/install-root/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.551	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/addon-build/debug/install-root/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.551	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/addon-build/release/install-root/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.551	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/compiled/14.19.1/linux/x64/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.551	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/default/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.550	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/Release/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.550	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/out/Release/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.550	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/Debug/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.550	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/out/Debug/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.550	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.550	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/Debug/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.549	error	Caught by controller[0]: → /opt/iobroker/node_modules/@serialport/bindings/build/bindings.node
                    host.NUC
                    2022-03-20 11:24:39.549	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
                    host.NUC
                    2022-03-20 11:24:39.549	error	Caught by controller[0]: ^
                    host.NUC
                    2022-03-20 11:24:39.549	error	Caught by controller[0]: throw err;
                    host.NUC
                    2022-03-20 11:24:39.548	error	Caught by controller[0]: /opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:135
                    

                    ein "npm install --production" funktioniert jedoch auch nicht

                    porty@NUC:~$ cd /opt/iobroker/node_modules/@serialport/bindings
                    porty@NUC:/opt/iobroker/node_modules/@serialport/bindings$ npm install --production
                    [sudo] Passwort für porty:
                    
                    > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/@serialport/bindings
                    > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
                    
                    prebuild-install WARN install No prebuilt binaries found (target=14.19.1 runtime=node arch=x64 libc= platform=linux)
                    make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird betreten
                     CXX(target) Release/obj.target/bindings/src/serialport.o
                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                      uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                                        ^~~~~~~~~~~~~
                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                      uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                                          ^~~~~~~~~~~~~~~
                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                      uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                                         ^~~~~~~~~~~~~~
                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                      uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                                         ^~~~~~~~~~~~~~
                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                      uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                                       ^~~~~~~~~~~~
                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                      uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                                       ^~~~~~~~~~~~
                    ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                    ../src/serialport.cpp:329:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
                        results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
                                                                                                                   ^
                    In file included from /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:67,
                                    from ../node_modules/nan/nan.h:58,
                                    from ../src/./serialport.h:6,
                                    from ../src/serialport.cpp:1:
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
                      V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                        ^~~
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3670:37: note:   candidate expects 3 arguments, 2 provided
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
                      V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                        ^~~
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3673:37: note:   candidate expects 3 arguments, 2 provided
                    ../src/serialport.cpp:330:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
                        results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
                                                                                                                   ^
                    In file included from /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:67,
                                    from ../node_modules/nan/nan.h:58,
                                    from ../src/./serialport.h:6,
                                    from ../src/serialport.cpp:1:
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
                      V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                        ^~~
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3670:37: note:   candidate expects 3 arguments, 2 provided
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
                      V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                        ^~~
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3673:37: note:   candidate expects 3 arguments, 2 provided
                    ../src/serialport.cpp:331:96: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::FactoryBase<v8::Boolean>::return_t)’
                        results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
                                                                                                                   ^
                    In file included from /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:67,
                                    from ../node_modules/nan/nan.h:58,
                                    from ../src/./serialport.h:6,
                                    from ../src/serialport.cpp:1:
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
                      V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                        ^~~
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3670:37: note:   candidate expects 3 arguments, 2 provided
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
                      V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                        ^~~
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3673:37: note:   candidate expects 3 arguments, 2 provided
                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                      uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                               ^~~~~~~~~~~~~~~~~~~~
                    ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                    ../src/serialport.cpp:378:106: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, Nan::imp::IntegerFactory<v8::Integer>::return_t)’
                        results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
                                                                                                                             ^
                    In file included from /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:67,
                                    from ../node_modules/nan/nan.h:58,
                                    from ../src/./serialport.h:6,
                                    from ../src/serialport.cpp:1:
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
                      V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
                                                        ^~~
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3670:37: note:   candidate expects 3 arguments, 2 provided
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
                      V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
                                                        ^~~
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/v8.h:3673:37: note:   candidate expects 3 arguments, 2 provided
                    ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                      uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                                         ^~~~~~~~~~~~~~
                    ../src/serialport.cpp: At global scope:
                    ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
                    SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                               ^
                    ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
                    SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                                 ^
                    In file included from ../node_modules/nan/nan.h:58,
                                    from ../src/./serialport.h:6,
                                    from ../src/serialport.cpp:1:
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                          (node::addon_register_func) (regfunc),                          \
                                                              ^
                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                      NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                      ^~~~~~~~~~~~~
                    ../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’
                    NODE_MODULE(serialport, init);
                    ^~~~~~~~~~~
                    make: *** [bindings.target.mk:114: Release/obj.target/bindings/src/serialport.o] Fehler 1
                    make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/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:194:23)
                    gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
                    gyp ERR! System Linux 4.19.0-19-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/@serialport/bindings
                    gyp ERR! node -v v14.19.1
                    gyp ERR! node-gyp -v v5.1.0
                    gyp ERR! not ok
                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 1
                    npm ERR! @serialport/bindings@2.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the @serialport/bindings@2.0.8 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/2022-03-20T10_27_29_791Z-debug.log
                    
                    

                    und das passende Logfile:

                    0 info it worked if it ends with ok
                    1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '--production' ]
                    2 info using npm@6.14.16
                    3 info using node@v14.19.1
                    4 verbose npm-session 376e18a5e07bd759
                    5 silly install runPreinstallTopLevelLifecycles
                    6 silly preinstall @serialport/bindings@2.0.8
                    7 info lifecycle @serialport/bindings@2.0.8~preinstall: @serialport/bindings@2.0.8
                    8 silly install loadCurrentTree
                    9 silly install readLocalPackageData
                    10 timing stage:loadCurrentTree Completed in 498ms
                    11 silly install loadIdealTree
                    12 silly install cloneCurrentTreeToIdealTree
                    13 timing stage:loadIdealTree:cloneCurrentTree Completed in 6ms
                    14 silly install loadShrinkwrap
                    15 timing stage:loadIdealTree:loadShrinkwrap Completed in 154ms
                    16 silly install loadAllDepsIntoIdealTree
                    17 http fetch GET 304 https://registry.npmjs.org/@serialport%2fbinding-mock 445ms (from cache)
                    18 silly pacote range manifest for @serialport/binding-mock@^2.0.5 fetched in 480ms
                    19 silly pacote range manifest for @serialport/binding-mock@^2.0.5 fetched in 4ms
                    20 silly resolveWithNewModule @serialport/binding-mock@2.0.5 checking installable status
                    21 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 882ms
                    22 timing stage:loadIdealTree Completed in 1151ms
                    23 silly currentTree @serialport/bindings@2.0.8
                    23 silly currentTree ├── @serialport/binding-abstract@2.0.5
                    23 silly currentTree ├── @serialport/parser-delimiter@2.0.2
                    23 silly currentTree ├── @serialport/parser-readline@2.0.2
                    23 silly currentTree ├── ansi-regex@2.1.1
                    23 silly currentTree ├── aproba@1.2.0
                    23 silly currentTree ├─┬ are-we-there-yet@1.1.7
                    23 silly currentTree │ └── readable-stream@2.3.7
                    23 silly currentTree ├── bindings@1.5.0
                    23 silly currentTree ├── bl@3.0.0
                    23 silly currentTree ├── chownr@1.1.4
                    23 silly currentTree ├── code-point-at@1.1.0
                    23 silly currentTree ├── console-control-strings@1.1.0
                    23 silly currentTree ├── core-util-is@1.0.3
                    23 silly currentTree ├── debug@4.1.1
                    23 silly currentTree ├── decompress-response@4.2.1
                    23 silly currentTree ├── deep-extend@0.6.0
                    23 silly currentTree ├── delegates@1.0.0
                    23 silly currentTree ├── detect-libc@1.0.3
                    23 silly currentTree ├── end-of-stream@1.4.4
                    23 silly currentTree ├── expand-template@2.0.3
                    23 silly currentTree ├── file-uri-to-path@1.0.0
                    23 silly currentTree ├── fs-constants@1.0.0
                    23 silly currentTree ├── gauge@2.7.4
                    23 silly currentTree ├── github-from-package@0.0.0
                    23 silly currentTree ├── has-unicode@2.0.1
                    23 silly currentTree ├── inherits@2.0.4
                    23 silly currentTree ├── ini@1.3.8
                    23 silly currentTree ├── is-fullwidth-code-point@1.0.0
                    23 silly currentTree ├── isarray@1.0.0
                    23 silly currentTree ├── mimic-response@2.0.0
                    23 silly currentTree ├── minimist@1.2.5
                    23 silly currentTree ├── mkdirp@0.5.5
                    23 silly currentTree ├── ms@2.1.2
                    23 silly currentTree ├── nan@2.15.0
                    23 silly currentTree ├── napi-build-utils@1.0.2
                    23 silly currentTree ├── node-abi@2.30.1
                    23 silly currentTree ├── noop-logger@0.1.1
                    23 silly currentTree ├── npmlog@4.1.2
                    23 silly currentTree ├── number-is-nan@1.0.1
                    23 silly currentTree ├── object-assign@4.1.1
                    23 silly currentTree ├── once@1.4.0
                    23 silly currentTree ├── prebuild-install@5.3.3
                    23 silly currentTree ├── process-nextick-args@2.0.1
                    23 silly currentTree ├── pump@3.0.0
                    23 silly currentTree ├── rc@1.2.8
                    23 silly currentTree ├── readable-stream@3.4.0
                    23 silly currentTree ├── safe-buffer@5.1.2
                    23 silly currentTree ├── semver@5.7.1
                    23 silly currentTree ├── set-blocking@2.0.0
                    23 silly currentTree ├── signal-exit@3.0.7
                    23 silly currentTree ├── simple-concat@1.0.1
                    23 silly currentTree ├── simple-get@3.1.0
                    23 silly currentTree ├── string_decoder@1.1.1
                    23 silly currentTree ├── string-width@1.0.2
                    23 silly currentTree ├── strip-ansi@3.0.1
                    23 silly currentTree ├── strip-json-comments@2.0.1
                    23 silly currentTree ├── tar-fs@2.0.0
                    23 silly currentTree ├── tar-stream@2.1.0
                    23 silly currentTree ├── tunnel-agent@0.6.0
                    23 silly currentTree ├── util-deprecate@1.0.2
                    23 silly currentTree ├── which-pm-runs@1.1.0
                    23 silly currentTree ├── wide-align@1.1.5
                    23 silly currentTree └── wrappy@1.0.2
                    24 silly idealTree @serialport/bindings@2.0.8
                    24 silly idealTree ├── @serialport/binding-abstract@2.0.5
                    24 silly idealTree ├── @serialport/binding-mock@2.0.5
                    24 silly idealTree ├── @serialport/parser-delimiter@2.0.2
                    24 silly idealTree ├── @serialport/parser-readline@2.0.2
                    24 silly idealTree ├── ansi-regex@2.1.1
                    24 silly idealTree ├── aproba@1.2.0
                    24 silly idealTree ├─┬ are-we-there-yet@1.1.7
                    24 silly idealTree │ └── readable-stream@2.3.7
                    24 silly idealTree ├── bindings@1.5.0
                    24 silly idealTree ├── bl@3.0.0
                    24 silly idealTree ├── chownr@1.1.4
                    24 silly idealTree ├── code-point-at@1.1.0
                    24 silly idealTree ├── console-control-strings@1.1.0
                    24 silly idealTree ├── core-util-is@1.0.3
                    24 silly idealTree ├── debug@4.1.1
                    24 silly idealTree ├── decompress-response@4.2.1
                    24 silly idealTree ├── deep-extend@0.6.0
                    24 silly idealTree ├── delegates@1.0.0
                    24 silly idealTree ├── detect-libc@1.0.3
                    24 silly idealTree ├── end-of-stream@1.4.4
                    24 silly idealTree ├── expand-template@2.0.3
                    24 silly idealTree ├── file-uri-to-path@1.0.0
                    24 silly idealTree ├── fs-constants@1.0.0
                    24 silly idealTree ├── gauge@2.7.4
                    24 silly idealTree ├── github-from-package@0.0.0
                    24 silly idealTree ├── has-unicode@2.0.1
                    24 silly idealTree ├── inherits@2.0.4
                    24 silly idealTree ├── ini@1.3.8
                    24 silly idealTree ├── is-fullwidth-code-point@1.0.0
                    24 silly idealTree ├── isarray@1.0.0
                    24 silly idealTree ├── mimic-response@2.0.0
                    24 silly idealTree ├── minimist@1.2.5
                    24 silly idealTree ├── mkdirp@0.5.5
                    24 silly idealTree ├── ms@2.1.2
                    24 silly idealTree ├── nan@2.15.0
                    24 silly idealTree ├── napi-build-utils@1.0.2
                    24 silly idealTree ├── node-abi@2.30.1
                    24 silly idealTree ├── noop-logger@0.1.1
                    24 silly idealTree ├── npmlog@4.1.2
                    24 silly idealTree ├── number-is-nan@1.0.1
                    24 silly idealTree ├── object-assign@4.1.1
                    24 silly idealTree ├── once@1.4.0
                    24 silly idealTree ├── prebuild-install@5.3.3
                    24 silly idealTree ├── process-nextick-args@2.0.1
                    24 silly idealTree ├── pump@3.0.0
                    24 silly idealTree ├── rc@1.2.8
                    24 silly idealTree ├── readable-stream@3.4.0
                    24 silly idealTree ├── safe-buffer@5.1.2
                    24 silly idealTree ├── semver@5.7.1
                    24 silly idealTree ├── set-blocking@2.0.0
                    24 silly idealTree ├── signal-exit@3.0.7
                    24 silly idealTree ├── simple-concat@1.0.1
                    24 silly idealTree ├── simple-get@3.1.0
                    24 silly idealTree ├── string_decoder@1.1.1
                    24 silly idealTree ├── string-width@1.0.2
                    24 silly idealTree ├── strip-ansi@3.0.1
                    24 silly idealTree ├── strip-json-comments@2.0.1
                    24 silly idealTree ├── tar-fs@2.0.0
                    24 silly idealTree ├── tar-stream@2.1.0
                    24 silly idealTree ├── tunnel-agent@0.6.0
                    24 silly idealTree ├── util-deprecate@1.0.2
                    24 silly idealTree ├── which-pm-runs@1.1.0
                    24 silly idealTree ├── wide-align@1.1.5
                    24 silly idealTree └── wrappy@1.0.2
                    25 silly install generateActionsToTake
                    26 silly diff-trees filtering actions: includeDev false includeProd true includeOpt true
                    27 timing stage:generateActionsToTake Completed in 31ms
                    28 silly diffTrees action count 0
                    29 silly decomposeActions action count 0
                    30 silly install executeActions
                    31 silly doSerial global-install 0
                    32 verbose correctMkdir /home/iobroker/.npm/_locks correctMkdir not in flight; initializing
                    33 verbose lock using /home/iobroker/.npm/_locks/staging-5acb500a3727b98a.lock for /opt/iobroker/node_modules/@serialport/bindings/node_modules/.staging
                    34 silly doParallel extract 0
                    35 silly doReverseSerial unbuild 0
                    36 silly doSerial remove 0
                    37 silly doSerial move 0
                    38 silly doSerial finalize 0
                    39 silly doParallel refresh-package-json 0
                    40 silly doParallel preinstall 0
                    41 silly doSerial build 0
                    42 silly doSerial global-link 0
                    43 silly doParallel update-linked 0
                    44 silly doSerial install 0
                    45 silly doSerial postinstall 0
                    46 verbose unlock done using /home/iobroker/.npm/_locks/staging-5acb500a3727b98a.lock for /opt/iobroker/node_modules/@serialport/bindings/node_modules/.staging
                    47 timing stage:executeActions Completed in 79ms
                    48 timing stage:rollbackFailedOptional Completed in 1ms
                    49 silly install runPostinstallTopLevelLifecycles
                    50 silly build @serialport/bindings@2.0.8
                    51 info linkStuff @serialport/bindings@2.0.8
                    52 silly linkStuff @serialport/bindings@2.0.8 has /opt/iobroker/node_modules as its parent node_modules
                    53 silly install @serialport/bindings@2.0.8
                    54 info lifecycle @serialport/bindings@2.0.8~install: @serialport/bindings@2.0.8
                    55 verbose lifecycle @serialport/bindings@2.0.8~install: unsafe-perm in lifecycle true
                    56 verbose lifecycle @serialport/bindings@2.0.8~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/opt/iobroker/node_modules/@serialport/bindings/node_modules/.bin:/opt/iobroker/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                    57 verbose lifecycle @serialport/bindings@2.0.8~install: CWD: /opt/iobroker/node_modules/@serialport/bindings
                    58 silly lifecycle @serialport/bindings@2.0.8~install: Args: [
                    58 silly lifecycle   '-c',
                    58 silly lifecycle   'prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild'
                    58 silly lifecycle ]
                    59 timing audit submit Completed in 291ms
                    60 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 292ms
                    61 timing audit body Completed in 2ms
                    62 silly lifecycle @serialport/bindings@2.0.8~install: Returned: code: 1  signal: null
                    63 info lifecycle @serialport/bindings@2.0.8~install: Failed to exec install script
                    64 verbose stack Error: @serialport/bindings@2.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                    64 verbose stack Exit status 1
                    64 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
                    64 verbose stack     at EventEmitter.emit (events.js:400:28)
                    64 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
                    64 verbose stack     at ChildProcess.emit (events.js:400:28)
                    64 verbose stack     at maybeClose (internal/child_process.js:1058:16)
                    64 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
                    65 verbose pkgid @serialport/bindings@2.0.8
                    66 verbose cwd /opt/iobroker/node_modules/@serialport/bindings
                    67 verbose Linux 4.19.0-19-amd64
                    68 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--production"
                    69 verbose node v14.19.1
                    70 verbose npm  v6.14.16
                    71 error code ELIFECYCLE
                    72 error errno 1
                    73 error @serialport/bindings@2.0.8 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                    73 error Exit status 1
                    74 error Failed at the @serialport/bindings@2.0.8 install script.
                    74 error This is probably not a problem with npm. There is likely additional logging output above.
                    75 verbose exit [ 1, true ]
                    
                    

                    Kann mir da jemand einen Denkanstoß geben?

                    VG

                    Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @porty last edited by

                      @porty sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                      Linux 4.19.0-19-amd64

                      Möglich das der Code nicht mehr gegen einen so alten Kernel gebaut werden kann. Ich würde das Betriebssystem aktualisieren.

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

                        @porty Die wichtigsten Infos fehlen:
                        1.) Welcher js-controller?
                        2.) Aktuellste Adapter versionen? Welche jeelink version?

                        Jeelink stable 0.1.3 hat ein serialport 7.x drin, das wird mit nodejs 14 raus sein. Brauchst jeelink denke ich mindestens die 0.1.4

                        1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @AlCalzone last edited by

                          @alcalzone @Homoran wobei es etwas unglücklich formuliert ist, im ganzen betrachtet.

                          sollte man eventuell darauf hinweisen/ umformulieren, das man direkt zur iobroker installation bei einem Neu-install übergeht, da scheinbar der ein oder andere user nach der Reihe abgearbeitet hat und installiert sich dadurch trotzdem node.js im Vorfeld.

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @crunchip last edited by

                            @crunchip sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                            wobei es etwas unglücklich formuliert ist, im ganzen betrachtet.

                            bin für jede Idee dankbar.

                            Ein roter Kasten ganz zu Anfang war/ist für mich das größtmögliche

                            crunchip 1 Reply Last reply Reply Quote 0
                            • porty
                              porty last edited by

                              hmm bekomme beim Antworten immer die Meldung "Forbidden"

                              @Thomas-Braun
                              dann muss ich mal schauen wie 😄
                              apt update / upgrade ergibt nichts neues
                              "Linux NUC 4.19.0-19-amd64 #1 SMP Debian 4.19.232-1 (2022-03-07) x86_64"

                              folgende Meldung ist mir noch aufgefallen:
                              adapter "jeelink" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt

                              @apollon77
                              Ups, Sorry vergessen.
                              Controller: 4.0.21
                              Jeelink Tatsächlich die 0.1.3

                              Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @porty last edited by

                                @porty

                                Ich hatte mich mit den Releases vertan. Kernel 4.19 dürfte aus einem Buster kommen. Das wird im Moment noch als 'oldstable' unterstützt, sieht aber in absehbarer Zeit dem End-of-Life entgegen. Also auf Bullseye gehen musst du in absehbarer Zeit ohne hin.

                                Installier die jeelink 0.1.4 aus dem Beta-Bereich.

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

                                  @porty sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                  hmm bekomme beim Antworten immer die Meldung "Forbidden"

                                  Seite reloaden

                                  1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @Homoran last edited by

                                    @homoran sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                    bin für jede Idee dankbar.

                                    ich seh mir das zeitnah mal an, dann kann ich die Seite auch gleich Zeitgemäß anpassen.

                                    1 Reply Last reply Reply Quote 1
                                    • porty
                                      porty @Thomas Braun last edited by

                                      @thomas-braun
                                      habe die 0.1.4 installiert, läuft Problemlos.

                                      Zum System, sollte ich mich dann mal zeitnah mit beschäftigen wie man das bei linux am besten macht 😄
                                      Danke schonmal

                                      @apollon77
                                      hatte ich gemacht. Sobald ich jedoch auf Antworten bzw Zitieren gegangen bin und 2 verschiedene Personen markiert habe ging es nicht.
                                      Habe es dann von Hand gemacht was problemlos funktionierte.
                                      Browser wurde neben reload natürlich auch neu gestartet. Aber egal, ging ja 🙂

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

                                        @apollon77

                                        erledigt

                                        Vielen lieben Dank für die (sogar für mich 😉 ) sehr verständlichen Erläuterungen.
                                        Allerdings bekomme ich die node.js Version nicht höher als 10.24.1.
                                        Mich wundert, dass er die Version 10.x holen will, obwohl ich ja den Link auf die 14er Version eingegeben habe.
                                        Oder muss ich zunächst den JS-controller auf > 4 bringen?

                                        Lieben Dank vorab und viele Grüße,
                                        Reiner

                                        Hier der Code:

                                        pi@iobroker:~ $ curl -fsSL https://deb.nodesource.com/setup_14.x | sudo bash -
                                        
                                        ## Installing the NodeSource Node.js 14.x repo...
                                        
                                        
                                        ## Populating apt-get cache...
                                        
                                        + apt-get update
                                        Holen:1 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
                                        OK:2 https://deb.nodesource.com/node_10.x buster InRelease
                                        Holen:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
                                        Paketlisten werden gelesen... Fertig
                                        E: Für das Depot »http://archive.raspberrypi.org/debian buster InRelease« wurde der »Suite«-Wert von »testing« in »oldstable« geändert.
                                        N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Informationen benötigen.
                                        E: Für das Depot »http://raspbian.raspberrypi.org/raspbian buster InRelease« wurde der »Suite«-Wert von »stable« in »oldstable« geändert.
                                        N: Sie müssen dies explizit bestätigen, bevor Aktualisierungen von diesem Depot angewendet werden können. Lesen Sie die apt-secure(8)-Handbuchseite, wenn Sie weitere Informationen benötigen.
                                        Error executing command, exiting
                                        pi@iobroker:~ $ sudo apt-get install -y nodejs
                                        Paketlisten werden gelesen... Fertig
                                        Abhängigkeitsbaum wird aufgebaut.
                                        Statusinformationen werden eingelesen.... Fertig
                                        nodejs ist schon die neueste Version (10.24.1-1nodesource1).
                                        0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                        

                                        MOD-EDIT: Code in code-tags gesetzt!

                                        Meister Mopper Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • Meister Mopper
                                          Meister Mopper @ReGe77 last edited by

                                          @rege77
                                          Der sucht ja auch nach 10.x.

                                          Es kommt darauf an, wo es bei Dir konfiguriert ist:

                                          Entweder
                                          sudo nano /etc/apt/sources.list
                                          oder
                                          sudo nano /etc/apt/sources.list.d/nodesource.list

                                          die 10 in 14 ändern
                                          deb https://deb.nodesource.com/node_14.x bullseye main
                                          deb-src https://deb.nodesource.com/node_14.x bullseye main

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Meister Mopper last edited by

                                            @meister-mopper sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                            Der sucht ja auch nach 10.x.

                                            nee, nich wirklich:

                                            @rege77 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                                            curl -fsSL https://deb.nodesource.com/%(#ff0000)[setup_14.x] | sudo bash - ## Installing the NodeSource Node.js 14.x repo...

                                            aber dann switched er auf 10.x um.

                                            Da ist wohl der Pfad krumm

                                            crunchip 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

                                            930
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            97
                                            812
                                            295212
                                            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