Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Node.js update

    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

    Node.js update

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

      Hallo Zusammen,
      ich versuche seit einiger Zeit die Node.js Version zu updaten. Aktuell wird mir auf der IOBroker Infoseite die Version 12.18.4 angezeigt. Egal was ich probiere, das Update schlägt immer fehl, als letztes habe ich diesen Workaround ausprobiert: https://www.elzershark.com/forum/index.php?thread/110-upgrade-node-xx-xx-z-b-12-x-zu-node-14-x-für-iobroker/
      Versionen:
      node -v -> 12.18.4
      node.js -v -> 14.19.1
      npm -v -> 8.5.0

      Hat einer von euch eine Idee, wie ich das Problem lösen?

      ostseereiter mickym 2 Replies Last reply Reply Quote 0
      • ostseereiter
        ostseereiter @IngoAB last edited by ostseereiter

        @ingoab das war eine dumme Idee.
        hier wäre richtig

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

          Oder einfach mal die Doku ansehen.

          1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @IngoAB last edited by

            @ingoab Schau Dir mal an was @thomas-braun in seiner Fusszeile stehen hat.

            Ich nutze immer folgende Methode:

            cd /etc/apt/sources.list.d
            

            dann mit

            sudo nano nodesource.list
            

            diese Datei editieren und die Versionsnummer ändern.

            Anschliessend mit

            sudo apt update
            sudo apt upgrade
            

            updaten.

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

              @mickym nur das dies bei im nun nicht mehr funktioniert. Da hilft dann nur https://forum.iobroker.net/post/460727

              I 1 Reply Last reply Reply Quote 0
              • I
                IngoAB @crunchip last edited by

                Danke für euere schnellen Antworten, ich muss da erst mal durcharbeiten. Aber das fällt mir schon auf, die Node und NPM Pfade sind anders. Ist dies eventuell bereits das Problem?

                which nodejs node npm && nodejs -v && node -v && npm -v

                /usr/bin/nodejs
                /usr/local/bin/node
                /usr/local/bin/npm
                v14.19.1
                v12.18.4
                8.5.0

                mickym crunchip 2 Replies Last reply Reply Quote 0
                • mickym
                  mickym Most Active @IngoAB last edited by mickym

                  @ingoab Meines Erachtens ja - lies Dir halt mal in dem Thread durch.

                  Da steht doch drin, was zu tun ist:

                  21f946de-44e2-4ce5-bb6c-441cb019f61f-image.png

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

                    @ingoab du hast so ziemlich alles falsch, was man so falsch machen kann.
                    Falsche Pfade, unerschiedliche Versionen und npm nicht passend zu node.js

                    1 Reply Last reply Reply Quote 0
                    • I
                      IngoAB @mickym last edited by

                      @mickym
                      Danke, das Update hat funktioniert 🙂

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

                        @ingoab

                        Und wie sieht jetzt der Check aus?

                        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

                        819
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        5
                        10
                        542
                        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