Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] node.js und NPM updates sollen aber können nicht?

    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

    [gelöst] node.js und NPM updates sollen aber können nicht?

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fastfoot @Thomas Braun last edited by

      @thomas-braun sagte in node.js und NPM updates sollen aber können nicht?:

      Natürlich.

      ich finde den ja wichtig und er sollte unbedingt in deine Signatur!

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

        @fastfoot sagte in node.js und NPM updates sollen aber können nicht?:

        ich finde den ja wichtig und er sollte unbedingt in deine Signatur!

        Kein Platz mehr...

        F Homoran 2 Replies Last reply Reply Quote 0
        • F
          fastfoot @Thomas Braun last edited by

          @thomas-braun dann schmeiss den diag raus, der ist doch schon integriert 🙂

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

            @thomas-braun lass die Überschriften weg

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

              @homoran sagte in node.js und NPM updates sollen aber können nicht?:

              lass die Überschriften weg

              Dann weiß ich selber doch nicht mehr worum es da geht... 🙂

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

                @thomas-braun dann schreibs vor die links

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

                  @homoran @fastfoot
                  Den hier rauswerfen:

                  5dfd7903-8ee7-4e32-9096-8cc5eeeba03a-image.png

                  und den node fixer stattdessen rein. Der 'ENOTEMPTY' ist im 'iob fix' drin.

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

                    @thomas-braun sehr gute idee, ich würde das aber zusätzlich zur Signaturänderung anregen wollen. Ist aber ja Deine Sig 🙂 Hauptsache es gibt das Tool!

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

                      @fastfoot

                      Hab das nodejs-HowTo durch die Maggi Fix-Lösung ersetzt. 😞

                      1 Reply Last reply Reply Quote 1
                      • D
                        DPO99 last edited by

                        Das Node Fixer Tool ist quasi das Skript bzw. der Aufruf der 3 Befehlszeilen?

                        Thomas Braun 3 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @DPO99 last edited by

                          @dpo99 sagte in node.js und NPM updates sollen aber können nicht?:

                          Das Node Fixer Tool ist quasi das Skript bzw. der Aufruf der 3 Befehlszeilen?

                          Das soll mal irgendwann in den ioBroker aufgenommen werden, ähnlich zum
                          iob diag. Dann kann man das mit

                          iob node-fix
                          

                          oder ähnlich aufrufen. Solange das aber noch nicht drin ist muss man das Skript einmal herunterladen und ausführbar machen, so wie es im Thread steht.

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

                            @dpo99

                            Von Fix-Tütchen abgesehen kann man das aber auch immer auch manuell anlegen. Steht im zugehörigen NodeJS-HowTo drin.

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

                              @dpo99 sagte in node.js und NPM updates sollen aber können nicht?:

                              Aufruf der 3 Befehlszeilen?

                              Edit: Beitrag gelöscht, weil es aus Gründen nicht funktioniert. Bitte den Code herunterladen und ausführen.

                              D Homoran 2 Replies Last reply Reply Quote 0
                              • D
                                DPO99 @Thomas Braun last edited by

                                @thomas-braun Vielen Dank 😃 Solche großen Änderungen machen es für Einsteiger wirklich immer etwas schwierig aber dank Lösungen wie Deiner, fühlt man sich dann doch deutlich sicherer, als einfach selbst zu experimentieren.

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

                                  @dpo99

                                  Hat das funktioniert?

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    mrjeschke @Thomas Braun last edited by mrjeschke

                                    @thomas-braun
                                    Bei mir hat der Einzeiler nicht funktioniert.
                                    Ich konnte am Ende nicht y für fixen eingeben.
                                    Das Script wurde sofort beendet.

                                    ioBroker nodejs fixer 2023-09-19
                                    
                                    Recommended nodejs-version is: 18.18.0
                                    Checking your installation now. Please be patient!
                                    
                                    Your current setup is:
                                    /usr/bin/nodejs         v18.17.1
                                    /usr/bin/node           v18.17.1
                                    /usr/bin/npm            9.6.7
                                    /usr/bin/npx            9.6.7
                                    /usr/bin/corepack       0.18.0
                                    
                                    We found these nodejs versions available for installation:
                                    
                                    nodejs:
                                      Installed: 18.17.1-1nodesource1
                                      Candidate: 18.17.1-1nodesource1
                                      Version table:
                                     *** 18.17.1-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                         18.17.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.16.1-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.16.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.15.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.14.2-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.14.1-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.14.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.13.0+dfsg1-1 500
                                            500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                         18.13.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.12.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.11.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.10.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.9.1-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.9.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.8.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.7.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.6.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.5.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.4.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.3.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.2.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.1.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                         18.0.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                                    
                                    
                                    
                                    Nothing to do, your installation is using the correct paths.
                                    
                                    You are running nodejs v18.17.1. Do you want to install recommended version 18.18.0? 
                                    
                                    Press <y> to continue or any other key to quit
                                    We are not fixing your installation. Exiting.
                                    maik@iobtest:~$ 
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • BertDerKleine
                                      BertDerKleine @Thomas Braun last edited by

                                      @thomas-braun Danke.
                                      Ich habe die drei Zeilen hier:

                                      curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
                                      chmod 744 iob_node_update
                                      ./iob_node_update
                                      

                                      häppchenweise eingegeben und das Repo wurde umgestellt.
                                      Danach noch update und upgrade und jetzt passt es.

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

                                        @bertderkleine sagte in node.js und NPM updates sollen aber können nicht?:

                                        Danach noch update und upgrade und jetzt passt es.

                                        Das macht das Skript eigentlich. Jedenfalls für das nodejs-Paket, nicht für anderes.

                                        W ? 2 Replies Last reply Reply Quote 0
                                        • W
                                          Wildbill @Thomas Braun last edited by

                                          @thomas-braun Hat es bei mir gestern auch nicht automatisch gemacht. Ich stand auf node 18.17.1 in einem Debian Bookworm (als VM unter Proxmox, sollte aber keinen Unterschied machen).
                                          Da ich das Script einfach mal testen wollte und irgendwo gestern gelesen hatte, Node 18.18.0 würde ein Problem mit dem neuen js-controller in Verbindung mit Sonos lösen (hat es nicht), habe ich Dein Script laufen lassen. Es wurde sauber angezeigt, dass es ein neues node 18.18.0 gibt, und auf die Antwort meinerseits per y(es) wurde das repo auch angelegt. Allerdings brachte die Abfrage mit node -v danach immer noch 18.17.1. Erst ein manuelles apt update und upgrade haben dann node 18.18.0 ins System gespült.
                                          Es gab vorher auch kein separates Repo bei mir für node, sondern das, was Debian gerade so mitbrachte.

                                          Gruss, Jürgen

                                          Thomas Braun BertDerKleine 2 Replies Last reply Reply Quote 1
                                          • ?
                                            A Former User @Thomas Braun last edited by

                                            @thomas-braun sagte in node.js und NPM updates sollen aber können nicht?:

                                            Das macht das Skript eigentlich. Jedenfalls für das nodejs-Paket, nicht für anderes.

                                            @wildbill sagte in node.js und NPM updates sollen aber können nicht?:

                                            @thomas-braun Hat es bei mir gestern auch nicht automatisch gemacht. Ich stand auf node 18.17.1 in einem Debian Bookworm (als VM unter Proxmox, sollte aber keinen Unterschied machen).

                                            Moin,

                                            gerade auf Proxmox meinen LX Container, noch mit Debian - Bullseye und NodeJS 16.x, durchgeführt, lief wie von @Thomas-Braun beschrieben, die NodeJS Pakete wurden erneuert, bei mir war kein zusätzliches apt update / apt upgrade nötig.

                                            VG
                                            Bernd

                                            W 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

                                            542
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            npm version updates upgrade nodejs
                                            14
                                            63
                                            2974
                                            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