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 last edited by

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

      Der total strubbelige npm tree ist der Grund, nicht das Update auf npm@8.
      Schau dir jeden Adapter an und spiel damit rum (deinstallieren/reinstallieren), insbesondere die invalid markierten. Die extraneous sind erstmal nicht wichtig.

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

        @thomas-braun
        Wie soll denn der NPM Tree normalerweise aussehen?
        Unter NPM 6 läuft ja alles ohne irgendwelche Fehler.

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          https://stackoverflow.com/questions/71152952/what-does-npm-err-code-elsproblems-mean

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

            @chaot

            Ohne Fehler halt.
            Bei mir so:

            echad@chet:/opt/iobroker $ npm ls | grep ERR
            echad@chet:/opt/iobroker $
            
            Chaot 1 Reply Last reply Reply Quote 0
            • Chaot
              Chaot @Thomas Braun last edited by

              @thomas-braun Ohne Fehler ist mir klar.
              Aber warum habe ich unter npm 6 keine Fehler und jetzt schon. Da hat sich doch am Pfad nichts geändert. Ich verstehe das nicht.
              Alle als invalid markierte Adapter sind die aktiven Adapter die bei mir laufen. Also quasi alles neu installieren. Das kann doch nicht die Lösung sein.

              Thomas Braun crunchip 2 Replies 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:

                Aber warum habe ich unter npm 6 keine Fehler und jetzt schon.

                Das Format der (ich glaube) json.packages hat sich von npm6 auf npm8 geändert. Der tree war/ist unter npm6 auch schon strubbelig gewesen, wurde aber nicht angemeckert.

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

                  @thomas-braun Ok, dann brauche ich jetzt eine vernünftige Idee wie ich das geradebiegen kann.
                  Ich habe das mal mit dem ersten angemeckerten Adapter versucht (LG-Thinq) und den deinstalliert - geprüft (weiter invalid) und wieder installiert. Der wird dauernd als invalid angezeigt.

                  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:

                    Ok, dann brauche ich jetzt eine vernünftige Idee wie ich das geradebiegen kann.

                    Die habe ich ehrlich gesagt nicht. Musste da bei mir noch nie so tief rein.
                    Mit

                    npm prune
                    

                    hab ich nur schon mal extraneous Module rausgeworfen.

                    Chaot 2 Replies Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Chaot last edited by crunchip

                      @chaot ich hab grad testweise mal auf v16 angehoben, habe danach

                      npm ERR! invalid: iobroker.adguard@0.0.8 /opt/iobroker/node_modules/iobroker.adguard
                      npm ERR! invalid: iobroker.chromecast@3.0.1 /opt/iobroker/node_modules/iobroker.chromecast
                      npm ERR! invalid: iobroker.device-watcher@0.0.6 /opt/iobroker/node_modules/iobroker.device-watcher
                      npm ERR! invalid: iobroker.fully-tablet-control@0.3.6-1 /opt/iobroker/node_modules/iobroker.fully-tablet-control
                      npm ERR! invalid: iobroker.hyperion@0.0.15 /opt/iobroker/node_modules/iobroker.hyperion
                      npm ERR! invalid: iobroker.miio@0.0.14 /opt/iobroker/node_modules/iobroker.miio
                      npm ERR! invalid: iobroker.net-tools@0.2.0 /opt/iobroker/node_modules/iobroker.net-tools
                      npm ERR! invalid: iobroker.onvif@0.4.5 /opt/iobroker/node_modules/iobroker.onvif
                      npm ERR! invalid: iobroker.radar2@2.0.3 /opt/iobroker/node_modules/iobroker.radar2
                      npm ERR! invalid: iobroker.sourceanalytix@0.4.14 /opt/iobroker/node_modules/iobroker.sourceanalytix
                      npm ERR! invalid: iobroker.vis-plumb@1.0.3 /opt/iobroker/node_modules/iobroker.vis-plumb
                      npm ERR! invalid: iobroker.worx@1.6.2 /opt/iobroker/node_modules/iobroker.worx
                      
                      

                      is mir allerdings im Moment zu stressig um die Uhrzeit😁 daher weiter auf v14

                      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

                        Ok, ich werde mir morgen mal den Container kopieren und dann damit experimentieren.
                        Vorerst bin ich wieder auf NodeJs 14 zurück

                        haus@ioBroker:/opt/iobroker$ cd /opt/iobroker
                        haus@ioBroker:/opt/iobroker$ npm ls | grep ERR
                        npm ERR! extraneous: @apollon/frankjoke-myadapter@1.2.5 /opt/iobroker/node_modules/@apollon/frankjoke-myadapter
                        npm ERR! extraneous: @types/request@2.48.2 /opt/iobroker/node_modules/@types/request
                        npm ERR! extraneous: fsevents /opt/iobroker/node_modules/fsevents
                        npm ERR! error in /opt/iobroker/node_modules/fsevents: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/fsevents/package.json'
                        npm ERR! extraneous: alexa-remote2@2.3.7 /opt/iobroker/node_modules/alexa-remote2
                        npm ERR! extraneous: anyproxy@4.1.0 /opt/iobroker/node_modules/anyproxy
                        npm ERR! extraneous: express-fileupload@0.4.1 /opt/iobroker/node_modules/express-fileupload
                        npm ERR! extraneous: http-mitm-proxy@0.8.1 /opt/iobroker/node_modules/http-mitm-proxy
                        npm ERR! extraneous: iobroker@1.3.1 /opt/iobroker/node_modules/iobroker
                        npm ERR! extraneous: iobroker.fontui@0.1.0 /opt/iobroker/node_modules/iobroker.fontui
                        npm ERR! extraneous: iobroker.icons-addictive-flavour-png@0.1.0 /opt/iobroker/node_modules/iobroker.icons-addictive-flavour-png
                        npm ERR! extraneous: iobroker.icons-fatcow-hosting@0.1.0 /opt/iobroker/node_modules/iobroker.icons-fatcow-hosting
                        npm ERR! extraneous: iobroker.icons-icons8@0.0.1 /opt/iobroker/node_modules/iobroker.icons-icons8
                        npm ERR! extraneous: iobroker.icons-material-png@0.1.0 /opt/iobroker/node_modules/iobroker.icons-material-png
                        npm ERR! extraneous: iobroker.icons-material-svg@0.1.0 /opt/iobroker/node_modules/iobroker.icons-material-svg
                        npm ERR! extraneous: iobroker.icons-open-icon-library-png@0.1.3 /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png
                        npm ERR! extraneous: iobroker.icons-ultimate-png@1.0.1 /opt/iobroker/node_modules/iobroker.icons-ultimate-png
                        npm ERR! extraneous: iobroker.js2fs@0.1.5 /opt/iobroker/node_modules/iobroker.js2fs
                        npm ERR! extraneous: iobroker.opentherm@0.1.9 /opt/iobroker/node_modules/iobroker.opentherm
                        npm ERR! extraneous: iobroker.openuv@0.0.5 /opt/iobroker/node_modules/iobroker.openuv
                        npm ERR! extraneous: iobroker.paw@0.3.2 /opt/iobroker/node_modules/iobroker.paw
                        npm ERR! extraneous: iobroker.rickshaw@1.0.0 /opt/iobroker/node_modules/iobroker.rickshaw
                        npm ERR! extraneous: iobroker.vis-bars@0.1.4 /opt/iobroker/node_modules/iobroker.vis-bars
                        npm ERR! extraneous: iobroker.vis-canvas-gauges@0.1.5 /opt/iobroker/node_modules/iobroker.vis-canvas-gauges
                        npm ERR! extraneous: iobroker.vis-fancyswitch@1.1.0 /opt/iobroker/node_modules/iobroker.vis-fancyswitch
                        npm ERR! extraneous: iobroker.vis-history@1.0.0 /opt/iobroker/node_modules/iobroker.vis-history
                        npm ERR! extraneous: iobroker.vis-jqui-mfd@1.0.12 /opt/iobroker/node_modules/iobroker.vis-jqui-mfd
                        npm ERR! extraneous: iobroker.vis-justgage@1.0.2 /opt/iobroker/node_modules/iobroker.vis-justgage
                        npm ERR! extraneous: iobroker.vis-lcars@1.0.4 /opt/iobroker/node_modules/iobroker.vis-lcars
                        npm ERR! extraneous: iobroker.vis-plumb@1.0.2 /opt/iobroker/node_modules/iobroker.vis-plumb
                        npm ERR! extraneous: iobroker.vis-rgraph@0.0.2 /opt/iobroker/node_modules/iobroker.vis-rgraph
                        npm ERR! extraneous: iobroker.vis-timeandweather@1.1.7 /opt/iobroker/node_modules/iobroker.vis-timeandweather
                        npm ERR! extraneous: jsonata@1.8.4 /opt/iobroker/node_modules/jsonata
                        npm ERR! extraneous: node-red@0.20.7 /opt/iobroker/node_modules/node-red
                        npm ERR! extraneous: node-red-dashboard@2.15.5 /opt/iobroker/node_modules/node-red-dashboard
                        npm ERR! extraneous: node-telegram-bot-api@0.30.0 /opt/iobroker/node_modules/node-telegram-bot-api
                        npm ERR! extraneous: open-fin-ts-js-client@2.0.4 /opt/iobroker/node_modules/open-fin-ts-js-client
                        npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
                        npm ERR! extraneous: portfinder@1.0.20 /opt/iobroker/node_modules/portfinder
                        npm ERR! extraneous: pushover-notifications@1.2.0 /opt/iobroker/node_modules/pushover-notifications
                        npm ERR! extraneous: qrcode@1.3.3 /opt/iobroker/node_modules/qrcode
                        npm ERR! extraneous: systeminformation@4.14.4 /opt/iobroker/node_modules/systeminformation
                        npm ERR! extraneous: tuyapi@5.1.1 /opt/iobroker/node_modules/tuyapi
                        npm ERR! extraneous: typescript@3.5.3 /opt/iobroker/node_modules/typescript
                        npm ERR! extraneous: virtual-device-sdk@1.5.16 /opt/iobroker/node_modules/virtual-device-sdk
                        npm ERR! extraneous: virtual-tsc@0.5.0 /opt/iobroker/node_modules/virtual-tsc
                        npm ERR! extraneous: vm2@3.8.2 /opt/iobroker/node_modules/vm2
                        npm ERR! extraneous: xmldom@0.1.27 /opt/iobroker/node_modules/xmldom
                        npm ERR! peer dep missing: @material-ui/core@^4.0.0, required by @material-ui/pickers@3.3.10
                        npm ERR! peer dep missing: react@^16.8.0 || ^17.0.0, required by @material-ui/pickers@3.3.10
                        npm ERR! peer dep missing: react-dom@^16.8.0 || ^17.0.0, required by @material-ui/pickers@3.3.10
                        npm ERR! peer dep missing: react@>=16.6.0, required by react-transition-group@4.4.2
                        npm ERR! peer dep missing: react@>=16.8, required by rifm@0.7.0
                        npm ERR! peer dep missing: react-dom@>=16.6.0, required by react-transition-group@4.4.2
                        npm ERR! peer dep missing: toug
                        

                        Zeile 6 ist vielleicht ein Hinweis

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

                          @chaot

                          • den Ordner in Zeile 6 kannst du einfach löschen, dürfte eh‘ leer sein (ist ein macOS-Modul)
                          • die ‚extraneous‘ Liste würde ich so lassen - das sind einfach die vorhandenen Module, die nicht in der packages.json stehen. Dafür kann‘s allerdings Gründe geben, und heisst nicht unbedingt, dass diese Pakete nicht in Gebrauch sind
                          • die ´peer dep missing´ würde ich nachinstallieren - damit war‘s bei mir dann sauber
                          1 Reply Last reply Reply Quote 0
                          • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            903
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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