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

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Kein Update mehr möglich mit Node.js 16

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jogi19 last edited by

      Ich habe das gleiche Problem. Bin jetzt auch erstmal wieder auf Node.js 14.19.3 und npm 6.14.17 zurück

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

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

        npm prune

        So, in Verbindung mit dem Löschen der Datei package-lock.json und dem Befehl npm prune kam jetzt folgendes:

        haus@ioBroker:/opt/iobroker$ npm prune
        npm WARN ERESOLVE overriding peer dependency
        npm WARN While resolving: svg-inline-react@1.0.3
        npm WARN Found: react@17.0.2
        npm WARN node_modules/react
        npm WARN   peer react@">=16.6.0" from react-transition-group@4.4.2
        npm WARN   node_modules/react-transition-group
        npm WARN     react-transition-group@"^4.0.0" from @material-ui/pickers@3.3.10
        npm WARN     node_modules/@material-ui/pickers
        npm WARN     1 more (@material-ui/core)
        npm WARN   7 more (rifm, @material-ui/pickers, @material-ui/core, ...)
        npm WARN 
        npm WARN Could not resolve dependency:
        npm WARN peer react@"^0.14.0 || ^15.0.0" from svg-inline-react@1.0.3
        npm WARN node_modules/svg-inline-react
        npm WARN   svg-inline-react@"^1.0.2" from anyproxy@4.1.0
        npm WARN   node_modules/anyproxy
        npm WARN 
        npm WARN Conflicting peer dependency: react@15.7.0
        npm WARN node_modules/react
        npm WARN   peer react@"^0.14.0 || ^15.0.0" from svg-inline-react@1.0.3
        npm WARN   node_modules/svg-inline-react
        npm WARN     svg-inline-react@"^1.0.2" from anyproxy@4.1.0
        npm WARN     node_modules/anyproxy
        npm WARN skipping integrity check for git dependency ssh://git@github.com/xXBJXx/ioBroker.wallpanel.git 
        npm WARN skipping integrity check for git dependency ssh://git@github.com/gerbuchner/ioBroker.vis-owl.git 
        npm WARN skipping integrity check for git dependency ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git 
        npm WARN skipping integrity check for git dependency ssh://git@github.com/foxthefox/ioBroker.fritzdect.git 
        npm WARN skipping integrity check for git dependency ssh://git@github.com/BenAhrdt/ioBroker.drag-indicator.git 
        npm WARN skipping integrity check for git dependency ssh://git@github.com/nVuln/homebridge-lg-thinq.git 
        
        added 28 packages, removed 700 packages, and changed 12 packages in 2m
        
        151 packages are looking for funding
          run `npm fund` for details
        haus@ioBroker:/opt/iobroker$ npm ls | grep ERR
        haus@ioBroker:/opt/iobroker$ 
        

        Alle Adapter laufen und es scheint kein weiterer Fehler aufzutauchen. Ich hoffe mal das System jetzt halbwegs grade gezogen ist.

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

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

          Alle Adapter laufen und es scheint kein weiterer Fehler aufzutauchen.

          Sind Aktionen mit Adaptern möglich? Neuinstallationen?

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

            @thomas-braun Neuinstallationen habe ich noch nicht probiert, aber Admin Adapter und MQTT Adapter haben gerade ein Update bekommen das problemlos durchgelaufen ist.

            1 Reply Last reply Reply Quote 0
            • O
              oxident last edited by

              Selbes Problem bei mir, jedoch ohne Fehler/Warnungen. Versuche jetzt auch mal, die package-lock.json zu löschen und dann npm prune laufen zu lassen.

              Meister Mopper 1 Reply Last reply Reply Quote 0
              • Meister Mopper
                Meister Mopper @oxident last edited by

                Ich hatte ebenfalls dieses Problem jedoch keine Fehlermeldung.

                Ich habe die packet-lock.json gelöscht und nach zweimaligem npm prune konnte ich den modbus Adapter updaten.

                Scrounger 1 Reply Last reply Reply Quote 0
                • Scrounger
                  Scrounger Developer @Meister Mopper last edited by

                  Hab brav eure Tipps hier befolgt, leider hängt bei mir npm prune bei adaptern die direkt von github installiert sind. Jemand eine Idee wie ich das lösen kann?

                  npm info using npm@8.11.0
                  npm info using node@v16.15.1
                  npm timing npm:load:whichnode Completed in 0ms
                  npm timing config:load:defaults Completed in 1ms
                  npm timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
                  npm timing config:load:builtin Completed in 1ms
                  npm timing config:load:cli Completed in 1ms
                  npm timing config:load:env Completed in 1ms
                  npm timing config:load:file:/opt/iobroker/.npmrc Completed in 1ms
                  npm timing config:load:project Completed in 3ms
                  npm timing config:load:file:/home/iobroker/.npmrc Completed in 0ms
                  npm timing config:load:user Completed in 0ms
                  npm timing config:load:file:/usr/etc/npmrc Completed in 0ms
                  npm timing config:load:global Completed in 1ms
                  npm timing config:load:validate Completed in 0ms
                  npm timing config:load:credentials Completed in 0ms
                  npm timing config:load:setEnvs Completed in 1ms
                  npm timing config:load Completed in 9ms
                  npm timing npm:load:configload Completed in 9ms
                  npm timing npm:load:mkdirpcache Completed in 3ms
                  npm timing npm:load:mkdirplogs Completed in 0ms
                  npm timing npm:load:setTitle Completed in 1ms
                  npm timing config:load:flatten Completed in 1ms
                  npm timing npm:load:display Completed in 5ms
                  npm timing npm:load:logFile Completed in 4ms
                  npm timing npm:load:timers Completed in 0ms
                  npm timing npm:load:configScope Completed in 1ms
                  npm timing npm:load Completed in 23ms
                  npm timing arborist:ctor Completed in 0ms
                  npm timing arborist:ctor Completed in 0ms
                  npm timing idealTree:init Completed in 875ms
                  npm timing idealTree:userRequests Completed in 0ms
                  npm http fetch GET 200 https://codeload.github.com/foxthefox/ioBroker.musiccast/tar.gz/9320d5a2ccc584c280c56a51a1846c355c25a669 345ms (cache revalidated)
                  npm http fetch GET 200 https://codeload.github.com/Scrounger/ioBroker.slideshow/tar.gz/21eebd86e31602b53d9ba90183d514994d28d51d 226ms (cache revalidated)
                  [..................] / idealTree:iobroker: http fetch GET 200 https://codeload.github.com/Scrounger/ioBroker.slideshow/tar.gz/21eebd86e31602b53d9ba90183d514994d28d51d
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Scrounger last edited by

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

                    musiccast
                    slideshow

                    Die gibt es ja beide im Beta-Zweig. Ich würde die vielleicht zunächst mal dort auf's Gleis setzen und dann wenn das alles lüppt bei Bedarf wieder aus dem git angeln.

                    1 Reply Last reply Reply Quote 0
                    • Scrounger
                      Scrounger Developer last edited by

                      @thomas-braun
                      habs deinstalliert und versucht aus beta zu installieren, geht leider nicht:

                      @ioBroker:/opt/iobroker# iobroker install iobroker.slideshow
                      NPM version: 8.11.0
                      Installing iobroker.slideshow@0.1.4... (System call)
                      host.ioBroker Cannot install iobroker.slideshow@0.1.4: 217
                      
                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active last edited by

                        @scrounger

                        Macht man ja auch nicht als root.

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

                          @thomas-braun

                          Find ich gut das du darauf immer hinweist, ist aber ein proxmox lxc.

                          Hab jetzt den Adapter gelöscht inkl. Verzeichnis und jetzt lief npm prune durch, warum auch immer...
                          Updates klappen jetzt wieder 👍

                          Meister Mopper 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active last edited by Thomas Braun

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

                            ist aber ein proxmox lxc.

                            Und das soll jetzt genau was begründen?
                            Auch da kann man mit usern arbeiten.

                            1 Reply Last reply Reply Quote 0
                            • Meister Mopper
                              Meister Mopper @Scrounger last edited by

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

                              Find ich gut das du darauf immer hinweist, ist aber ein proxmox lxc.

                              Da bin ich auch mit einem normalen user unterwegs. Das geht schon.

                              1 Reply Last reply Reply Quote 0
                              • O
                                oxident last edited by

                                Also bei mir bringt das npm prune leider nicht den gewünschten Erfolg:

                                user@iobroker:/opt/iobroker$ node -v
                                v16.15.1
                                user@iobroker:/opt/iobroker$ npm -v
                                8.11.0
                                
                                user@iobroker:/opt/iobroker$ npm prune
                                npm ERR! code ENOTEMPTY
                                npm ERR! syscall rename
                                npm ERR! path /opt/iobroker/node_modules/homematic-xmlrpc/node_modules/xmlbuilder
                                npm ERR! dest /opt/iobroker/node_modules/homematic-xmlrpc/node_modules/.xmlbuilder-UsIYEbox
                                npm ERR! errno -39
                                npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/homematic-xmlrpc/node_modules/xmlbuilder' -> '/opt/iobroker/node_modules/homematic-xmlrpc/node_modules/.xmlbuilder-UsIYEbox'
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-06-20T14_39_45_795Z-debug-0.log
                                
                                
                                Meister Mopper Thomas Braun 2 Replies Last reply Reply Quote 0
                                • Meister Mopper
                                  Meister Mopper @oxident last edited by

                                  @oxident
                                  Hast Du es auch zweimal versucht?

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

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

                                    rename '/opt/iobroker/node_modules/homematic-xmlrpc/node_modules/xmlbuilder' -> '/opt/iobroker/node_modules/homematic-xmlrpc/node_modules/.xmlbuilder-UsIYEbox'

                                    Mach das doch mal.

                                    1 Reply Last reply Reply Quote 0
                                    • O
                                      oxident @Meister Mopper last edited by

                                      @meister-mopper Jepp, gleiche Meldung.
                                      @thomas-braun Da habe ich noch etwas Bammel vor. Dann wohl iobroker vorher stoppen, oder?

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

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

                                        Dann wohl iobroker vorher stoppen, oder?

                                        Ist keine doofe Idee. Zumindest den Adapter dazu würde ich stoppen.

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

                                          Bei mir ist auch eine Datei, die ich umbenennen soll.

                                          root@ioBrokerCT:/opt/iobroker# npm prune
                                          npm ERR! code ENOTEMPTY
                                          npm ERR! syscall rename
                                          npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                          npm ERR! dest /opt/iobroker/node_modules/.iobroker.esphome-tdyaRFqJ
                                          npm ERR! errno -39
                                          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.esphome' -> '/opt/iobroker/node_modules/.iobroker.esphome-tdyaRFqJ'
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2022-06-20T17_21_28_426Z-debug-0.log
                                          root@ioBrokerCT:/opt/iobroker# npm prune
                                          npm ERR! code ENOTEMPTY
                                          npm ERR! syscall rename
                                          npm ERR! path /opt/iobroker/node_modules/iobroker.esphome
                                          npm ERR! dest /opt/iobroker/node_modules/.iobroker.esphome-tdyaRFqJ
                                          npm ERR! errno -39
                                          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.esphome' -> '/opt/iobroker/node_modules/.iobroker.esphome-tdyaRFqJ'
                                          
                                          

                                          Hab ich gemacht. Nun soll die nächste umbenannt werden:

                                          root@ioBrokerCT:/opt/iobroker# npm prune
                                          npm ERR! code ENOTEMPTY
                                          npm ERR! syscall rename
                                          npm ERR! path /opt/iobroker/node_modules/syno
                                          npm ERR! dest /opt/iobroker/node_modules/.syno-xocGQcRi
                                          npm ERR! errno -39
                                          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/syno' -> '/opt/iobroker/node_modules/.syno-xocGQcRi'
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2022-06-20T17_38_35_578Z-debug-0.log
                                          
                                          

                                          Wo landen Datein, wenn man einen Punkt davor setzt? Im Home-Verzeichnis?

                                          Edit.: da kommt jedes Mal eine neue Datei. Da bin ich morgen nicht fertig mit. Entweder gehe ich auf npm 6 oder node 14 zurück. Node 16 habe ich nun über 2 Wochen gut am Laufen. Nur keine Updates oder Downgrades mehr möglich 😞

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

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

                                            Wo landen Datein, wenn man einen Punkt davor setzt? Im Home-Verzeichnis?

                                            Die bleiben im Pfad stehen, werden aber 'versteckt' und nur mit besonderen Optionen wieder angezeigt. Übrigens bist du gerade dabei dir die Rechte an den Verzeichnissen zu zerballern. root login... Lasst den MIST sein!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            892
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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