Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. Probleme mit Aktualisierung

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Probleme mit Aktualisierung

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

      Hallo,

      ich habe ein Problem mit der Aktualisierung von Codes in Node-Red.
      es kommt folgende Fehlermeldung :

      2025-02-05T07:51:26.256Z Installieren : node-red-contrib-boolean-logic-ultimate 1.1.25
      
      2025-02-05T07:51:26.299Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-boolean-logic-ultimate@1.1.25
      2025-02-05T07:51:26.979Z [err] npm warn config production Use `--omit=dev` instead.
      
      -----------------------------------------------------------
      2025-02-05T07:51:32.508Z Installieren : node-red-contrib-hikvision-ultimate 1.2.7
      
      2025-02-05T07:51:35.503Z [err] npm error code EBADENGINE
      2025-02-05T07:51:35.504Z [err] npm error engine Unsupported engine
      2025-02-05T07:51:35.504Z [err] npm error engine Not compatible with your version of node/npm: @azure/msal-node@1.6.0
      2025-02-05T07:51:35.504Z [err] npm error notsup Not compatible with your version of node/npm: @azure/msal-node@1.6.0
      2025-02-05T07:51:35.504Z [err] npm error notsup Required: {"node":"10 || 12 || 14 || 16"}
      2025-02-05T07:51:35.504Z [err] npm error notsup Actual:   {"npm":"10.8.2","node":"v20.18.2"}
      2025-02-05T07:51:35.511Z [err] npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-02-05T07_51_26_807Z-debug-0.log
      2025-02-05T07:51:35.531Z rc=1
      

      ist auch nicht nur bei dieser Node so, sondern bei allen die aktualisiert werden können.

      Ich habe noch eine weitern IOBroker laufen, der genau die gleichen Versionen von Node.js & npm hat - da gibt es keine Probleme.

      Was möchte es mir sagen 😉

      Danke im Voraus für Eure Hilfe

      Marc Berg 1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @Lafgoh last edited by

        @lafgoh sagte in Probleme mit Aktualisierung:

        @azure/msal-node@1.6.0

        Du musst die Version 2.x verwenden, die unterstützt auch node.js 20

        1 Reply Last reply Reply Quote 0
        • L
          Lafgoh last edited by

          Danke für die schnelle Antwort, aber wie bekomme ich den auf Version 2.x - kann bei Google leider nicht wirklich was (für mich) hilfreiches finden?

          Marc Berg 1 Reply Last reply Reply Quote 0
          • Marc Berg
            Marc Berg Most Active @Lafgoh last edited by

            @lafgoh
            Irgendwo muss das Paket "@azure/msal-node@1.6.0" als Abhängigkeit drin stecken. Aber bei den beiden Nodes, die in deinem Log zu erkennen sind, gibt es diese nicht.

            Was machst du genau? Warum benutzt du nicht den Pallettenmanager?

            L 2 Replies Last reply Reply Quote 0
            • L
              Lafgoh @Marc Berg last edited by

              @marc-berg Genau da kommt die Meldung, mache ganz normal über den Paletten-Manager die updates - der schlägt die auch vor

              1 Reply Last reply Reply Quote 0
              • L
                Lafgoh @Marc Berg last edited by

                @marc-berg So sieht das bei mir aus:

                Bildschirmfoto 2025-02-05 um 11.58.54.png Bildschirmfoto 2025-02-05 um 11.58.30.png

                Marc Berg Homoran 2 Replies Last reply Reply Quote 0
                • Marc Berg
                  Marc Berg Most Active @Lafgoh last edited by Marc Berg

                  @lafgoh
                  Tut mir leid, kann ich bei mir nicht nachstellen. Das Update von 1.1.1 auf 1.1.25 läuft durch.

                  b7a189b6-c580-40a9-afe5-dd95509d12e7-grafik.png

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Lafgoh @Marc Berg last edited by

                    @marc-berg Auf meiner anderen Installation ja auch - ist prinzipiell identisch und läuft so durch.... sehr seltsam

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

                      @lafgoh was steht da?
                      Screenshot_20250205-143932_Firefox.jpg

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Lafgoh @Homoran last edited by

                        @homoran Moin, das:

                        2025-02-06T05:53:57.226Z Installieren : node-red-contrib-boolean-logic-ultimate 1.1.25
                        
                        2025-02-06T05:53:57.255Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-boolean-logic-ultimate@1.1.25
                        2025-02-06T05:53:57.876Z [err] npm warn config production Use `--omit=dev` instead.
                        2025-02-06T05:54:07.737Z [err] npm error code EBADENGINE
                        2025-02-06T05:54:07.738Z [err] npm error engine Unsupported engine
                        2025-02-06T05:54:07.738Z [err] npm error engine Not compatible with your version of node/npm: @azure/msal-node@1.6.0
                        2025-02-06T05:54:07.739Z [err] npm error notsup Not compatible with your version of node/npm: @azure/msal-node@1.6.0
                        2025-02-06T05:54:07.739Z [err] npm error notsup Required: {"node":"10 || 12 || 14 || 16"}
                        2025-02-06T05:54:07.739Z [err] npm error notsup Actual:   {"npm":"10.8.2","node":"v20.18.2"}
                        2025-02-06T05:54:07.744Z [err] npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-02-06T05_53_57_725Z-debug-0.log
                        2025-02-06T05:54:07.765Z rc=1
                        
                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Lafgoh last edited by

                          @lafgoh sagte in Probleme mit Aktualisierung:

                          2025-02-06T05:54:07.739Z [err] npm error notsup Not compatible with your version of node/npm: @azure/msal-node@1.6.0

                          Da ist das node/npm für iob angeblich zu hoch für azure

                          Marc Berg 1 Reply Last reply Reply Quote 0
                          • Marc Berg
                            Marc Berg Most Active @Homoran last edited by

                            @homoran sagte in Probleme mit Aktualisierung:

                            Da ist das node/npm für iob angeblich zu hoch für azure

                            An der Stelle waren wir gestern schon. Die Frage ist, woher diese Abhängigkeit zu azure/msal-node kommt, denn vom zu installierenden Paket wohl nicht:

                            iobroker@iobroker:~$ npm view node-red-contrib-boolean-logic-ultimate dependencies
                            { fs: '0.0.1-security', path: '>=0.12.7', kalmanjs: '1.1.0' }
                            

                            @Lafgoh Hast du in der Node Red Instanz "zusätzliche NPM Module installieren" gefüllt?

                            L Homoran 2 Replies Last reply Reply Quote 0
                            • L
                              Lafgoh @Marc Berg last edited by

                              @marc-berg

                              So sieht es bei mir aus:
                              Bildschirmfoto 2025-02-06 um 10.02.14.png

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

                                @marc-berg sagte in Probleme mit Aktualisierung:

                                An der Stelle waren wir gestern schon.

                                So lange sich das aber nicht ändert braucht man nichts anderes zu versuchen.

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  Lafgoh @Homoran last edited by

                                  @homoran und was - muss / soll / kann - ich daran ändern?

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

                                    @lafgoh sagte in Probleme mit Aktualisierung:

                                    @homoran und was - muss / soll / kann - ich daran ändern?

                                    herausbekommen wo diese Version gepinnt ist.
                                    Bin aber nicht tief genug in Linux und npm drin um dir zu sagen wie.

                                    Möglicherweise könnte dir @Thomas-Braun da weiterhelfen

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Homoran last edited by

                                      Von nodered und dem Palettenmanager hab ich keine Ahnung.

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

                                        @thomas-braun sagte in Probleme mit Aktualisierung:

                                        Von nodered und dem Palettenmanager hab ich keine Ahnung.

                                        ich dachte du hättest ab und zu die Abhängigkeiten der npm Pakete herausgefunden

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        941
                                        Online

                                        31.7k
                                        Users

                                        79.7k
                                        Topics

                                        1.3m
                                        Posts

                                        4
                                        18
                                        494
                                        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