Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Node.js 18.x und iobroker (ein Test)

    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 18.x und iobroker (ein Test)

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

      @dr-bakterius sagte in Node.js 18.x und iobroker (ein Test):

      Wie funktioniert die Versionsüberprüfung vom Info-Adapter?

      Der schaut in den 'upstream' des Projekts. Für den 'downstream' in die spezifischen Repos der jeweiligen Distributionen braucht es noch ein wenig Zeit. Kommt dann 'die Tage' angeschwommen.

      1 Reply Last reply Reply Quote 1
      • apollon77
        apollon77 last edited by

        Ich habe den Thread gerade aus "Tester" mal zur besseren Sichtbarkeit ins allgemeine Forum verschoben .., sieht ja alles super aus

        1 Reply Last reply Reply Quote 0
        • Fabio
          Fabio last edited by

          @apollon77 der alte Mann aus Köln hat sich auch mal getraut. 😉 Habe auf Node.js version
          18.12.1 NPM ein Update gemacht. Alle meine Adapter sind von alleine wieder gestartet und auf grün gegangen. Im Moment gibt es keine Probleme wie auch keine Logs mit Fehlern. Eine Frage ist das jetzt erst mal normal das er mir sagt das es nicht die empfohlne Version ist, ich nehme an ja weil es ja noch nicht offiziell ist?
          01.jpg
          Herzliche Grüße Fabio

          Verfügbar: 4.0.24
          Installiert: 4.0.24
          Ereignisse: ⇥23 / ↦13
          Plattform: linux
          Betriebssystem: linux
          Architektur: x64
          CPUs: 8
          Geschwindigkeit: 3960 MHz
          Modell: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
          RAM: 7.4 GB
          System-Betriebszeit: 00:00:31
          Node.js: v18.12.1
          time: 1676291081243
          timeOffset: -60
          Adapter-Anzahl: 468
          NPM: v8.19.2
          Datenträgergröße: 467.0 GB
          Freier Festplattenspeicher: 434.6 GB
          Betriebszeit: 00:00:26
          Aktive Instanzen: 7
          Pfad: /opt/iobroker/
          aktiv: true
          
          system.adapter.admin                   : admin          - v6.3.5
          system.adapter.alexa2                  : alexa2         - v3.23.2
          system.adapter.backitup                : backitup       - v2.5.12
          system.adapter.deconz                  : deconz         - v1.3.21
          system.adapter.dysonairpurifier        : dysonairpurifier - v2.5.7
          system.adapter.email                   : email          - v1.1.4
          system.adapter.eusec                   : eusec          - v0.9.9
          system.adapter.ham                     : ham            - v5.3.1
          system.adapter.info                    : info           - v1.9.25
          system.adapter.iot                     : iot            - v1.14.2
          system.adapter.javascript              : javascript     - v6.1.4
          system.adapter.lgtv                    : lgtv           - v1.1.10
          system.adapter.lupusec                 : lupusec        - v1.3.6
          system.adapter.nut                     : nut            - v1.5.1
          system.adapter.pushsafer               : pushsafer      - v1.0.3
          system.adapter.sainlogic               : sainlogic      - v0.10.0
          system.adapter.shelly                  : shelly         - v6.4.0
          system.adapter.simple-api              : simple-api     - v2.7.2
          system.adapter.socketio                : socketio       - v4.2.0
          system.adapter.text2command            : text2command   - v2.3.0
          system.adapter.tr-064                  : tr-064         - v4.2.17
          system.adapter.tradfri                 : tradfri        - v3.1.3
          system.adapter.web                     : web            - v4.3.0
          
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Fabio last edited by Thomas Braun

            @fa-bio

            Doofe Frage von mir: Warum hast du nicht die aktuelle 18.14.0-Version installiert?
            Ist doch bei Einsatz des Paketmanagers auch viel einfacher und sauberer?

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

              @thomas-braun keine Ahnung Thomas ich denke weil ich "keine Ahnung" habe.
              🤷‍♂️ Habs jetzt upgedatet auf 14.

              
              fabio@nuc:~$ nodejs -v
              v18.14.0
              fabio@nuc:~$ nodejs -v && iob list adapters
              v18.14.0
              system.adapter.admin                   : admin          - v6.3.5
              system.adapter.alexa2                  : alexa2         - v3.23.2
              system.adapter.backitup                : backitup       - v2.5.12
              system.adapter.deconz                  : deconz         - v1.3.21
              system.adapter.dysonairpurifier        : dysonairpurifier - v2.5.7
              system.adapter.email                   : email          - v1.1.4
              system.adapter.eusec                   : eusec          - v0.9.9
              system.adapter.ham                     : ham            - v5.3.1
              system.adapter.info                    : info           - v1.9.25
              system.adapter.iot                     : iot            - v1.14.2
              system.adapter.javascript              : javascript     - v6.1.4
              system.adapter.lgtv                    : lgtv           - v1.1.10
              system.adapter.lupusec                 : lupusec        - v1.3.6
              system.adapter.nut                     : nut            - v1.5.1
              system.adapter.pushsafer               : pushsafer      - v1.0.3
              system.adapter.sainlogic               : sainlogic      - v0.10.0
              system.adapter.shelly                  : shelly         - v6.4.0
              system.adapter.simple-api              : simple-api     - v2.7.2
              system.adapter.socketio                : socketio       - v4.2.0
              system.adapter.text2command            : text2command   - v2.3.0
              system.adapter.tr-064                  : tr-064         - v4.2.17
              system.adapter.tradfri                 : tradfri        - v3.1.3
              system.adapter.web                     : web            - v4.3.0
              fabio@nuc:~$
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Fabio last edited by

                @fa-bio

                Wie hast du es denn zuvor installiert, wenn nicht per Paketmanager 'apt'?

                sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                

                sagt?

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

                  @thomas-braun so sudo n 18.14.0

                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                  permitted by applicable law.
                  Last login: Mon Feb 13 16:13:07 2023 from 192.168.2.160
                  fabio@nuc:~$ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                  uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx                                                                                     -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt u                                                                                    pdate &> /dev/null && sudo apt update && apt policy nodejs
                  x86_64
                  /usr/bin/nodejs
                  /usr/local/bin/node
                  /usr/local/bin/npm
                  /usr/local/bin/npx
                  v18.14.0
                  v18.14.0
                  9.3.1
                  9.3.1
                  4.0.24
                  fabio
                  fabio cdrom floppy sudo audio dip video plugdev netdev iobroker
                  tty
                  /home/fabio
                  OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                  OK:2 http://deb.debian.org/debian bullseye InRelease
                  OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                  OK:4 https://deb.nodesource.com/node_18.x bullseye InRelease
                  Paketlisten werden gelesen… Fertig
                  Abhängigkeitsbaum wird aufgebaut… Fertig
                  Statusinformationen werden eingelesen… Fertig
                  Alle Pakete sind aktuell.
                  nodejs:
                    Installiert:           18.14.0-deb-1nodesource1
                    Installationskandidat: 18.14.0-deb-1nodesource1
                    Versionstabelle:
                   *** 18.14.0-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages
                          100 /var/lib/dpkg/status
                       12.22.12~dfsg-1~deb11u3 500
                          500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                       12.22.5~dfsg-2~11u1 500
                          500 http://deb.debian.org/debian bullseye/main amd64 Packages
                  fabio@nuc:~$
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Fabio last edited by

                    @fa-bio sagte in Node.js 18.x und iobroker (ein Test):

                    /usr/local/bin/node

                    Ist falsch bzw. jetzt doppelt installiert.

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

                      @thomas-braun ist da schlimm, wenn ja was kann ich machen?

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

                        @fa-bio sagte in Node.js 18.x und iobroker (ein Test):

                        ist da schlimm, wenn ja was kann ich machen?

                        Das sorgt halt beständig für Ärger.
                        Du kannst es reparieren. Steht in meiner Signatur drin, wie das geht. Stichwort 'Falsche Pfade'.

                        Man installiert auch nicht per n, wenn man einen Paketmanager am Start hat.

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

                          @thomas-braun okay ich schau mal. Danke

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

                            @fa-bio

                            Kannst du mir mal sagen wo sowas immer herkommt?

                            sudo n 18.14.0
                            

                            Erster Treffer beim googlen oder was?

                            Softwareinstallationen unter Linux/Debian laufen zu 99,9% (also eigentlich IMMER) über den Paketmanager.

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

                              @thomas-braun so ungefähr. Mit 61 Jahren wird es schwierig.

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

                                @fa-bio

                                Hat mit dem Alter aber nix zu tun. Man installiert immer über den Paketmanager, ob 16 oder 61 spielt da keine Rolle.

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

                                  @thomas-braun sagts du, glaube ich dir auch, aber es ist jetzt so. Das meißte was Ihr schreibt begreife oder vetehe ich einfach nicht. Tut mir leid ich wollte keinen Stress aufkommen lassen.

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

                                    @fa-bio

                                    Mir machst du keinen Stress.
                                    Nur dir selber, wenn du dir dein System vom Gleis schubst.

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

                                      @thomas-braun ich lasse es erts mal so. Ich weiß nicht was ich da löschen soll und ob ich da alle drei löschen muss.

                                      /usr/bin/nodejs

                                      /usr/local/bin/node
                                      /usr/local/bin/npm
                                      /usr/local/bin/npx

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

                                        @fa-bio sagte in Node.js 18.x und iobroker (ein Test):

                                        ich lasse es erts mal so.

                                        NEIN!

                                        Lösch die drei Dateien in /usr/local/bin
                                        So wie es auch im HowTo drin steht.

                                        Sonst kommst du als nächstes angerannt, das irgendwas obskures in deinem System nicht mehr richtig tickt.

                                        Witzig ist auch, dass du keine Manschetten hattest die V18 da vollkommen schräg am Paket-System vorbei reinzuprügeln, jetzt den Murks aber nicht mehr zurückdrehen willst.

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

                                          @thomas-braun sagte in Node.js 18.x und iobroker (ein Test):

                                          Witzig ist auch, dass du keine Manschetten hattest die V18 da vollkommen schräg am Paket-System vorbei reinzuprügeln, jetzt den Murks aber nicht mehr zurückdrehen willst.

                                          nö nicht witzig so ist das wenn man davon ausgeht es richtig zu machen. Da habe ich weder was reingeprügelt oder sonst was.

                                          Ihr müßt nicht von euren Wissen ausgehen sondern auch mal ausgehen davon wie Leute wie ich bin. Die meisten Anleitung sind so geschrieben wie sie der Verfasser versteht und da fängt das "Problem" schon an.

                                          Also Thomas nichts für ungut, vielen Dank für deine Hilfe.

                                          Herzliche Grüße
                                          Fabio

                                          fabio@nuc:~$ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                          uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                          [sudo] Passwort für fabio:
                                          x86_64
                                          /usr/bin/nodejs
                                          /usr/bin/node
                                          /usr/bin/npm
                                          /usr/bin/npx
                                          v18.14.0
                                          v18.14.0
                                          9.3.1
                                          9.3.1
                                          4.0.24
                                          fabio
                                          fabio cdrom floppy sudo audio dip video plugdev netdev iobroker
                                          tty
                                          /home/fabio
                                          OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                                          OK:2 http://deb.debian.org/debian bullseye InRelease
                                          OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                          OK:4 https://deb.nodesource.com/node_18.x bullseye InRelease
                                          Paketlisten werden gelesen… Fertig
                                          Abhängigkeitsbaum wird aufgebaut… Fertig
                                          Statusinformationen werden eingelesen… Fertig
                                          Alle Pakete sind aktuell.
                                          nodejs:
                                            Installiert:           18.14.0-deb-1nodesource1
                                            Installationskandidat: 18.14.0-deb-1nodesource1
                                            Versionstabelle:
                                           *** 18.14.0-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages
                                                  100 /var/lib/dpkg/status
                                               12.22.12~dfsg-1~deb11u3 500
                                                  500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                                               12.22.5~dfsg-2~11u1 500
                                                  500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                          
                                          
                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Fabio last edited by

                                            @fa-bio sagte in Node.js 18.x und iobroker (ein Test):

                                            Ihr müßt nicht von euren Wissen ausgehen sondern auch mal ausgehen davon wie Leute wie ich bin.

                                            ich bin auch so ein Leut!
                                            hab mit EDV nix am Hut, kannte Raspberry vor ioBroker gar nicht.
                                            und was das Alter angeht bist du noch Jungspund.

                                            Und wenn ich das hinbekommen habe, schaffst du das auch!


                                            node 18 ist das eine Problem, npm v9 wird das größere sein.
                                            Thomas kloppt zwar gerne Sprüche, aber schreibt noch viel bessere Tutorials.

                                            Setzt dich mal hin
                                            (oder muss ich dir androhen auf die andere Seite vom Bach zu kommen?)

                                            Thomas Braun Fabio 2 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            452
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            83
                                            4377
                                            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