Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Kein Update mehr möglich mit Node.js 16

    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

    Kein Update mehr möglich mit Node.js 16

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

      @kimukao sagte in Kein Update mehr möglich mit Node.js 16:

      error builtins is not a function

      NEBELALARM
      Könnte ein Fehler in /usr/lib/node_modules/npm/node_modules/builtins
      sein.

      Installier nodejs nochmal.

      iobroker stop
      sudo apt update
      sudo apt install --reinstall nodejs
      iobroker start
      
      mickym K 2 Replies Last reply Reply Quote 0
      • mickym
        mickym Most Active @Thomas Braun last edited by

        @thomas-braun Gute Idee. 🙂

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

          @thomas-braun Hab nodejs nochmal neu installiert und iobroker neu gestartet. Jetzt komme ich per Browser gar nicht mehr drauf

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

            @kimukao sagte in Kein Update mehr möglich mit Node.js 16:

            Jetzt komme ich per Browser gar nicht mehr drauf

            Da ist ja auch nix mehr. Den Browser kannst du im Moment vergessen.

            cd /opt/iobroker 
            npm install
            
            K 1 Reply Last reply Reply Quote 0
            • K
              kimukao @Thomas Braun last edited by

              @thomas-braun said in Kein Update mehr möglich mit Node.js 16:

              cd /opt/iobroker

              pi@raspberrypi:~ $ iobroker stop
              pi@raspberrypi:~ $ sudo apt update
              Holen:1 http://archive.raspberrypi.org/debian bullseye InRelease [23,7 kB]
              OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease                                                                       
              OK:3 https://repos.influxdata.com/debian bullseye InRelease                                                                            
              OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease                                                                           
              OK:5 https://packages.grafana.com/oss/deb stable InRelease                                                                             
              OK:6 https://phoscon.de/apt/deconz bullseye InRelease                
              Holen:7 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [297 kB]
              Es wurden 320 kB in 2 s geholt (192 kB/s).
              Paketlisten werden gelesen… Fertig
              Abhängigkeitsbaum wird aufgebaut… Fertig
              Statusinformationen werden eingelesen… Fertig
              Alle Pakete sind aktuell.
              pi@raspberrypi:~ $ sudo apt install --reinstall nodejs
              Paketlisten werden gelesen… Fertig
              Abhängigkeitsbaum wird aufgebaut… Fertig
              Statusinformationen werden eingelesen… Fertig
              0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
              Es müssen 24,1 MB an Archiven heruntergeladen werden.
              Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
              Holen:1 https://deb.nodesource.com/node_16.x bullseye/main armhf nodejs armhf 16.17.0-deb-1nodesource1 [24,1 MB]
              Es wurden 24,1 MB in 2 s geholt (15,2 MB/s).
              (Lese Datenbank ... 79694 Dateien und Verzeichnisse sind derzeit installiert.)
              Vorbereitung zum Entpacken von .../nodejs_16.17.0-deb-1nodesource1_armhf.deb ...
              Entpacken von nodejs (16.17.0-deb-1nodesource1) über (16.17.0-deb-1nodesource1) ...
              nodejs (16.17.0-deb-1nodesource1) wird eingerichtet ...
              Trigger für man-db (2.9.4-2) werden verarbeitet ...
              pi@raspberrypi:~ $ iobroker start
              pi@raspberrypi:~ $ iobroker start
              pi@raspberrypi:~ $ cd /opt/iobroker
              pi@raspberrypi:/opt/iobroker $ npm install
              npm ERR! builtins is not a function
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T14_15_36_444Z-debug-0.log
              
              Thomas Braun mickym 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @kimukao last edited by

                @kimukao

                Ich fands eigentlich eine gute Idee... 🙂
                Hat aber wohl nicht geklappt.

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

                  @kimukao Hast Du denn meine komprimierte package.json verwendet?

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kimukao @mickym last edited by

                    @mickym noch nicht, ich scheitere grade daran, den alten Inhalt rauszulösechn.. muss jedes Zeichen einzeln entfernen, Markierung des ganzen Inhalts schaffe ich nicht.. oder gibt's da einen Trick?

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

                      @kimukao Du kannst einfach mit CTRL+K - Zeile für Zeile löschen

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        kimukao @mickym last edited by

                        @mickym ah danke - das Löschen hat geklappt. Der Rest leider nicht:

                        pi@raspberrypi:/opt/iobroker $ ls -la
                        insgesamt 76
                        drwxrwxrwx+  5 iobroker iobroker  4096  6. Sep 16:21 .
                        drwxr-xr-x   3 root     root      4096  7. Feb 2022  ..
                        drwxrwxr-x+  2 iobroker iobroker 28672  6. Sep 02:40 backups
                        -rwxrwxrwx+  1 iobroker iobroker   919  6. Sep 14:36 INSTALLER_INFO.txt
                        lrwxrwxrwx   1 iobroker iobroker    22  6. Sep 14:36 iob -> /opt/iobroker/iobroker
                        -rwxrwxr-x+  1 iobroker iobroker   309  6. Sep 14:36 iobroker
                        drwxrwxrwx+ 11 iobroker iobroker  4096  6. Sep 15:53 iobroker-data
                        drwxrwxrwx+  2 iobroker iobroker  4096  6. Sep 15:51 log
                        -rw-rwxr--+  1 iobroker iobroker   155  6. Sep 14:36 .npmrc
                        -rw-rw-r--+  1 iobroker iobroker  1890  6. Sep 16:21 package.json
                        -rwxrwxrwx+  1 iobroker iobroker   284  6. Sep 14:36 package.json.bak
                        -rwxrwxrwx+  1 iobroker iobroker  5693 17. Feb 2022  reinstall.js
                        pi@raspberrypi:/opt/iobroker $ npm install
                        npm ERR! builtins is not a function
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T14_21_43_826Z-debug-0.log
                        
                        mickym 1 Reply Last reply Reply Quote 0
                        • mickym
                          mickym Most Active @kimukao last edited by

                          @kimukao Jetzt probieren wir noch eins, ob es an der package.json liegt. Wir haben ja noch die alte von Deiner Neuinstallation.

                          mv package.json package.json.bak2
                          mv package.json.bak package.json
                          
                          npm install
                          
                          K 1 Reply Last reply Reply Quote 0
                          • K
                            kimukao @mickym last edited by

                            @mickym said in Kein Update mehr möglich mit Node.js 16:

                            mv package.json.bak package.json

                            pi@raspberrypi:/opt/iobroker $ mv package.json package.json.bak2
                            pi@raspberrypi:/opt/iobroker $ mv package.json.bak package.json
                            pi@raspberrypi:/opt/iobroker $ npm install
                            npm ERR! builtins is not a function
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T14_26_02_806Z-debug-0.log
                            
                            mickym 1 Reply Last reply Reply Quote 0
                            • mickym
                              mickym Most Active @kimukao last edited by

                              @kimukao Und hast Du wirklich cache und alles gelöscht.

                              Zeig nochmal

                              npm cache clean --f
                              
                              K 1 Reply Last reply Reply Quote 0
                              • K
                                kimukao @mickym last edited by

                                @mickym said in Kein Update mehr möglich mit Node.js 16:

                                npm cache clean --f

                                pi@raspberrypi:/opt/iobroker $ npm cache clean --f
                                npm WARN using --force Recommended protections disabled.
                                
                                
                                mickym 1 Reply Last reply Reply Quote 0
                                • mickym
                                  mickym Most Active @kimukao last edited by

                                  @kimukao Gut und npm install geht wahrscheinlich immer noch nicht?

                                  Ich schau mal ob ich zu dem builtins Fehler nochwas finde - sonst - denke ich musst Du neu aufbauen und backup einspielen.

                                  K mickym 2 Replies Last reply Reply Quote 0
                                  • K
                                    kimukao @mickym last edited by

                                    @mickym said in Kein Update mehr möglich mit Node.js 16:

                                    Gut und npm install geht wahrscheinlich immer noch nicht?

                                    Genau. Danke für die Hilfe! Wirklich Wahnsinn, dass Ihr Euch hier mit mir den Nachmittag um die Ohren schlagt. Sollte es noch eine Lösung geben wäre ich wirklich glücklich. Wenn nicht muss ich in den sauren Apfel beißen. Am besten mit neuem Datenträger von grundauf neu installieren? Mit Grafana, Deconz etcpp...?

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

                                      @mickym schau mal ob Du das installieren kannst:

                                      apt install builtins
                                      
                                      K 1 Reply Last reply Reply Quote 0
                                      • K
                                        kimukao @mickym last edited by

                                        @mickym

                                        pi@raspberrypi:/opt/iobroker $ apt install builtins
                                        E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
                                        E: Erlangen der Sperre für die Dpkg-Oberfläche (/var/lib/dpkg/lock-frontend) nicht möglich; sind Sie root?
                                        
                                        mickym 1 Reply Last reply Reply Quote 0
                                        • mickym
                                          mickym Most Active @kimukao last edited by

                                          @kimukao Tschuldigung

                                          sudo apt install builtins
                                          
                                          K 2 Replies Last reply Reply Quote 0
                                          • K
                                            kimukao @mickym last edited by

                                            @mickym said in Kein Update mehr möglich mit Node.js 16:

                                            sudo apt install builtins

                                            pi@raspberrypi:/opt/iobroker $ sudo apt install builtins
                                            Paketlisten werden gelesen… Fertig
                                            Abhängigkeitsbaum wird aufgebaut… Fertig
                                            Statusinformationen werden eingelesen… Fertig
                                            E: Paket builtins kann nicht gefunden werden.
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            456
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            node js
                                            16
                                            335
                                            35293
                                            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