Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nodejs v18.12.1

    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

    Nodejs v18.12.1

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

      @krisiun

      sudo rm /etc/apt/sources.list.d/nodesource.list.save*
      sudo rm /usr/local/bin/n*
      sudo apt update
      apt policy nodejs
      uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      
      1 Reply Last reply Reply Quote 0
      • Krisiun
        Krisiun last edited by

        root@Marek2:~# sudo rm /etc/apt/sources.list.d/nodesource.list.save*
        root@Marek2:~# sudo rm /usr/local/bin/n*
        root@Marek2:~# sudo apt update
        Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
        Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
        Hit:3 https://dl.yarnpkg.com/debian stable InRelease
        Hit:4 https://deb.nodesource.com/node_16.x focal InRelease
        Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
        Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
        Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [726 kB]
        Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [164 kB]
        Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [445 kB]
        Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [756 kB]
        Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [125 kB]
        Fetched 2541 kB in 7s (368 kB/s)
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        3 packages can be upgraded. Run 'apt list --upgradable' to see them.
        root@Marek2:~# apt policy nodejs
        nodejs:
          Installed: 16.18.1-deb-1nodesource1
          Candidate: 16.18.1-deb-1nodesource1
          Version table:
         *** 16.18.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                100 /var/lib/dpkg/status
             12.22.9~dfsg-1ubuntu3 500
                500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        root@Marek2:~# uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        x86_64
        Kein Docker
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v16.18.1
        v16.18.1
        8.19.2
        4.0.23
        root
        root
        
        
        /root
        Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
        Hit:2 https://deb.nodesource.com/node_16.x focal InRelease
        Hit:3 https://dl.yarnpkg.com/debian stable InRelease
        Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease
        Hit:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
        Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        3 packages can be upgraded. Run 'apt list --upgradable' to see them.
        nodejs:
          Installed: 16.18.1-deb-1nodesource1
          Candidate: 16.18.1-deb-1nodesource1
          Version table:
         *** 16.18.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                100 /var/lib/dpkg/status
             12.22.9~dfsg-1ubuntu3 500
                500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        root@Marek2:~#
        
        

        Hi Thomas
        Das ist rausgekommen

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

          Das war MEGA!!! die Version ist jetzt endlich die 16.18.1
          Kann ich die Anleitung auch für die installation aufm Raspberry verwenden?
          Da ist nämlich auch die v.18 drauf?

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

            @krisiun sagte in Nodejs v18.12.1:

            jammy

            Jetzt schnappst du dir einen Editor und änderst in der Datei
            /etc/apt/sources.list.d/nodesource.list
            den Eintrag focal auf jammy

            sudo nano /etc/apt/sources.list.d/nodesource.list
            
            Krisiun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Krisiun last edited by Thomas Braun

              @krisiun sagte in Nodejs v18.12.1:

              Kann ich die Anleitung auch für die installation aufm Raspberry verwenden?

              Kommt drauf an was da krumm ist.
              Kann ja was anderes sein als hier.

              Und lies dich ein, wie man in dem WSL Ding user anlegt und per 'sudo' arbeitet.

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

                Na ja die Nodejs version ist auch die 18.12.1 statt 16.18.1

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

                  @krisiun

                  Das heißt ja nix. Gibt zu viele Wege die da reinzuknallen.
                  Jenachdem was da veranstaltet wurde muss man anders zurückturnen.

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

                    Also muss ich wohl aufs glück probieren

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jan1 @Krisiun last edited by

                      @krisiun
                      Ich habe den kompletten Server samt IOBroker in 2 Stunden, und da war das meiste nur warten, neu aufgesetzt. Dann willst Du nun den Pi gerade biegen? Mach das frisch und versuchs diesmal einfach gleich richtig zu machen, wobei man beim Pi eh so gut wie nix falsch machen kann 😉

                      Der IOBroker installiert Node16 automatisch, bei mir wars der erste Versuch mit Ubuntu und da ist eben ne Kleinigkeit anders. Danach lag das Problem an der nicht LTS Version des Ubuntu.

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

                        Sorry ich muss mal weg. Aber später möchte ich das hier noch weiter klären wenn ihr nichts dagegen habt.
                        Vielen Dank

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

                          @krisiun

                          Wie man das checkt weißt du ja nun.

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

                            @thomas-braun sagte in Nodejs v18.12.1:

                            @krisiun sagte in Nodejs v18.12.1:

                            jammy

                            Jetzt schnappst du dir einen Editor und änderst in der Datei
                            /etc/apt/sources.list.d/nodesource.list
                            den Eintrag focal auf jammy

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

                            Kannst Du mir das noch mit dem Editor erklären?
                            Ich nehme z.B den Text Editor und dann?

                            J Thomas Braun 3 Replies Last reply Reply Quote 0
                            • J
                              Jan1 @Krisiun last edited by

                              @krisiun sagte in Nodejs v18.12.1:

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

                              Das ist doch schon die Erklärung 😉

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

                                deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main
                                deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main
                                

                                Meinst Du das?

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

                                  @krisiun sagte in Nodejs v18.12.1:

                                  Kannst Du mir das noch mit dem Editor erklären?

                                  nano ist (einer von vielen) Text-Editoren auf der Kommandozeile.
                                  Datei ändern, mit Strg-O speichern, Rückfrage ob die Datei überschrieben werden soll bestätigen, mit Strg-X den Editor verlassen.

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

                                    Hmm? geht nicht 😞

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

                                      @krisiun sagte in Nodejs v18.12.1:

                                      geht nicht

                                      ist keine Fehlermeldung.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        Jan1 @Krisiun last edited by

                                        @krisiun sagte in Nodejs v18.12.1:

                                        den Eintrag focal auf jammy

                                        eher so, wenn ich mir die Antwort von Thomas ansehe

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

                                          Nein. Es passiert einfach nichts.
                                          Ich mache bestimmt was falsch

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

                                            @krisiun sagte in Nodejs v18.12.1:

                                            Ich mache bestimmt was falsch

                                            Ja. Denn wie oben bereits beschrieben funktioniert nano.

                                            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

                                            943
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            382
                                            42181
                                            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