Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Node npm - Infos zum (tats.) Versionsstand

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Node npm - Infos zum (tats.) Versionsstand

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

      @qwerty1896

      Sollte passen.
      Nächstes Projekt: nodejs auf die empfohlene Version 16 bringen.

      Q 1 Reply Last reply Reply Quote 0
      • Q
        qwerty1896 @Thomas Braun last edited by

        @thomas-braun

        Vielen Dank. Erst mal mache ich ein Backup.
        Erst dann traue ich mich an nodsjs 16.

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

          @qwerty1896

          Backitup läuft ja hoffentlich ohnehin täglich?

          Q 1 Reply Last reply Reply Quote 0
          • Q
            qwerty1896 @Thomas Braun last edited by

            @thomas-braun

            Tja. Am sichersten ist mir eine 1:1-Kopie des SD-Karte.

            Q 1 Reply Last reply Reply Quote 0
            • Q
              qwerty1896 @qwerty1896 last edited by

              Hallol Thomas,

              ich will die "Sache" jetzt mal angehen auf:

              node.js 16.18.0 und npm 8.19.2

              Ist das so richtig?

              a)
              curl -sL https://deb.nodesource.com/setup_16.18 | sudo -E bash
              sudo apt install nodejs
              sudo ln -s /usr/bin/node /usr/bin/nodejs

              b)
              sudo apt install nodejs=16.18-deb-1nodesource1
              oder
              sudo apt install nodejs=16.18.0-deb-1nodesource1

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

                @qwerty1896 sagte in Node npm - Infos zum (tats.) Versionsstand:

                Ist das so richtig?

                Eher nicht. Hängt davon an welche Grundvoraussetzungen da bei dir gegeben sind.
                Wie sieht das bei dir aus?

                sudo ln -s /usr/bin/node /usr/bin/nodejs
                uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                
                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @qwerty1896 last edited by Thomas Braun

                  @qwerty1896

                  Wenn der Stand von oben noch aktuell ist:
                  Einfach per (Editor von Hand)

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

                  aus node_14.x ein node_16.x machen,
                  Dann

                  iob stop
                  sudo apt update
                  sudo apt full-upgrade
                  iob start
                  

                  abwarten, bis alles wieder läuft. Kann etwas dauern.

                  1 Reply Last reply Reply Quote 0
                  • Q
                    qwerty1896 last edited by

                    @thomas-braun

                    Ich habe nicht verändert. Wie mehr nicht?

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

                      @qwerty1896

                      Nö, das ist so simpel.

                      1 Reply Last reply Reply Quote 0
                      • Q
                        qwerty1896 last edited by qwerty1896

                        @thomas-braun

                        Das schaffe auch ich. Erst noch das Backup. Ich gebe eine Rückmeldung.

                        Das hat aber nicht lange gedauert... (max. 3 Min)...

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

                          @qwerty1896

                          
                          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                          
                          Q 1 Reply Last reply Reply Quote 0
                          • Q
                            qwerty1896 @Thomas Braun last edited by

                            @thomas-braun

                            pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                            armv7l
                            /usr/bin/nodejs
                            /usr/bin/node
                            /usr/bin/npm
                            v16.18.0
                            v16.18.0
                            8.19.2
                            4.0.23
                            pi
                            pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker
                            /home/pi
                            OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                            OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                            OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                            Paketlisten werden gelesen… Fertig
                            Abhängigkeitsbaum wird aufgebaut… Fertig
                            Statusinformationen werden eingelesen… Fertig
                            Alle Pakete sind aktuell.
                            nodejs:
                              Installiert:           16.18.0-deb-1nodesource1
                              Installationskandidat: 16.18.0-deb-1nodesource1
                              Versionstabelle:
                             *** 16.18.0-deb-1nodesource1 500
                                    500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                    100 /var/lib/dpkg/status
                                 12.22.12~dfsg-1~deb11u1 500
                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                            
                            

                            Sieht das gut aus? Ich denke ja... Der ioBroker startet schon mal...

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

                              @qwerty1896

                              Ja, passt. Und so simpel ist ein Wechsel der nodeJS-Installation.

                              Q 1 Reply Last reply Reply Quote 0
                              • Q
                                qwerty1896 @Thomas Braun last edited by

                                @thomas-braun

                                VIELEN DANK.

                                Die Anleitung zur aktuellen Version hat mich schon ein wenig abgeschreckt!

                                Es passt nicht ganz:
                                Gibt es "irgendwo" eine gute Anleitung für die influxdb und Grafana-Installation?

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

                                  @qwerty1896 sagte in Node npm - Infos zum (tats.) Versionsstand:

                                  Die Anleitung zur aktuellen Version hat mich schon ein wenig abgeschreckt!

                                  Wie meinst du das?

                                  Zu influx und Grafana findest du hier die Repos:

                                  https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind

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

                                    @thomas-braun

                                    Danke.

                                    Ich habe festgestellt, dass ich mir über den Telegram-Adapter keine eCharts mehr senden kann.

                                    javascript.0 (2462) script.js.common.Mini-PV_Anlage.Telegramm_Menue: Cannot find required modules: looks like it is not possible to generate charts on your Hardware/OS
                                    

                                    Reine Textmeldungen kommen hingegen an.

                                    Ich würde jetzt ungern einen neuen Beitrag öffnen, da das Problem erst jetzt mit dem Upgrade aufgetreten ist.

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

                                      @qwerty1896

                                      Doch, bitte neues Thema. Und da reinschreiben welche Module das Skript voraussetzt.

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      765
                                      Online

                                      32.0k
                                      Users

                                      80.5k
                                      Topics

                                      1.3m
                                      Posts

                                      node npm versionsstand
                                      3
                                      32
                                      1118
                                      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