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.
    • Q
      qwerty1896 @Homoran last edited by

      @homoran

      pi@raspberrypi:~ $ iob update
      Used repository: stable
      Adapter    "accuweather"  : 1.2.1    , installed 1.2.1
      Adapter    "admin"        : 6.2.22   , installed 6.2.22
      Adapter    "backitup"     : 2.4.12   , installed 2.4.12
      Adapter    "daswetter"    : 3.1.3    , installed 3.1.3
      Adapter    "discovery"    : 3.0.5    , installed 3.0.5
      Adapter    "dwd"          : 2.8.3    , installed 2.8.3
      Adapter    "echarts"      : 1.0.12   , installed 1.0.12
      Adapter    "fahrplan"     : 1.2.2    , installed 1.2.2
      Adapter    "flot"         : 1.11.0   , installed 1.11.0
      Adapter    "history"      : 2.2.0    , installed 2.2.0
      Adapter    "hue"          : 3.7.1    , installed 3.7.1
      Adapter    "ical"         : 1.13.1   , installed 1.13.1
      Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
      Adapter    "javascript"   : 6.0.3    , installed 6.0.3
      Controller "js-controller": 4.0.23   , installed 4.0.23
      Adapter    "pushover"     : 3.0.3    , installed 3.0.3
      Adapter    "pvforecast"   : 2.3.0    , installed 2.3.0
      Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
      Adapter    "socketio"     : 4.2.0    , installed 4.2.0
      Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
      Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
      Adapter    "telegram"     : 1.14.1   , installed 1.14.1
      Adapter    "vis"          : 1.4.15   , installed 1.4.15
      Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
      Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
      Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
      Adapter    "web"          : 4.3.0    , installed 4.3.0
      Adapter    "ws"           : 1.3.0    , installed 1.3.0
      
      
      pi@raspberrypi:~ $ iob repo list
      stable        : http://download.iobroker.net/sources-dist.json
      beta          : http://download.iobroker.net/sources-dist-latest.json
      
      Active repo(s): stable
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • 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

                                        806
                                        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