Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. npm ERR! Cannot read properties of null (reading 'parent')

    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

    npm ERR! Cannot read properties of null (reading 'parent')

    This topic has been deleted. Only users with topic management privileges can see it.
    • Glasfaser
      Glasfaser @backfisch88 last edited by

      @backfisch88 sagte in npm ERR! Cannot read properties of null (reading 'parent'):

      35 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules

      hast du ein NodeJS upgrade mal gemacht !?

      versuche mal :

      cd /opt/iobroker/node_modules
      npm install --omit=dev
      sudo reboot
      

      Ich habe keine Ahnung was das ist 'parent' , auf was es sich bezieht ...

      B 1 Reply Last reply Reply Quote 0
      • B
        backfisch88 @Glasfaser last edited by backfisch88

        @glasfaser

        cd /opt/iobroker/node_modules
        npm install --omit=dev
        npm ERR! Cannot read properties of null (reading 'parent')
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2023-02-13T12_02_04_657Z-debug-0.log
        

        😐 das ist gut

        wendy2702 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @backfisch88 last edited by

          @backfisch88 sagte in npm ERR! Cannot read properties of null (reading 'parent'):

          failed to load node_modules/.package-lock.json out of date

          dann ...

          rm /opt/iobroker/node_modules/.package-lock.json
          rm /opt/iobroker/node_modules/iobroker.javascript/node_modules/.package-lock.json
          rm /opt/iobroker/package-lock.json
          iob rebuild
          
          B Thomas Braun 2 Replies Last reply Reply Quote 1
          • wendy2702
            wendy2702 @backfisch88 last edited by

            @backfisch88 sagte in npm ERR! Cannot read properties of null (reading 'parent'):

            2023-02-13T12_02_04

            Mal so zwischendurch gefragt:

            Stimmen deine Zeiteinstellungen?

            1 Reply Last reply Reply Quote 0
            • B
              backfisch88 last edited by

              @wendy2702 ja stimmen 🙂

              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @backfisch88 last edited by

                @backfisch88 Wieso dann im log eine Stunde hinter der Zeit oder steht der nicht in Deutschland bzw. in der gleichen Zeitzone?

                B 1 Reply Last reply Reply Quote 0
                • B
                  backfisch88 @Glasfaser last edited by

                  @glasfaser also das läuft durch.... und der

                  iobroker upgrade tankerkoenig --debug
                  

                  scheint auch zu klappen... aus Interesse... was war es jetzt? 😄

                  1 Reply Last reply Reply Quote 0
                  • B
                    backfisch88 @wendy2702 last edited by

                    @wendy2702 said in npm ERR! Cannot read properties of null (reading 'parent'):

                    nn im log eine Stunde hinter der Zeit oder steht der nicht in Deutschland bzw. in der gleichen Zeitzone

                    das ist ne >hervorragende Frage... kann das eventuell mit der Sommer /Winterzeit zusammen hängen?

                    
                    pi@IOBroker:~ $ date
                    Mon 13 Feb 13:17:47 CET 2023
                    
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Glasfaser last edited by

                      @glasfaser

                      Ich überlege, ob die vier Zeilen nicht auch was für den iob fix wären.
                      Hat bei mir gestern in etwas anderem Zusammenhang auch geholfen.

                      Glasfaser 2 Replies Last reply Reply Quote 1
                      • Glasfaser
                        Glasfaser @Thomas Braun last edited by

                        @thomas-braun sagte in npm ERR! Cannot read properties of null (reading 'parent'):

                        Hat bei mir gestern in etwas anderem Zusammenhang auch geholfen.

                        Ja ... ich weiß ...
                        Bei Github war ich auch kurz dabei nur konnte ich diesen ( Fehler ) nicht simulieren

                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @backfisch88 last edited by

                          @Thomas-Braun

                          verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules

                          Man sollte beobachten , bzw. ist mir schon öfters auch schon aufgefallen , das diese Meldung bei vielen erscheint !?

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

                            @glasfaser sagte in npm ERR! Cannot read properties of null (reading 'parent'):

                            Man sollte beobachten , bzw. ist mir schon öfters auch schon aufgefallen , das diese Meldung bei vielen erscheint !?

                            Ja, das Format hat sich bei aktuelleren npm-Versionen geändert. Sollte eigentlich automatisch umgestellt werden, funktioniert aber offenbar nicht immer einwandfrei. Mit frischen package*-Files geht es dann.

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

                              @Glasfaser

                              @glasfaser
                              der Adapter ist jetzt geupdated.. Hab mal zum test einfach n neuen Adapter installiert... das dauert ewig und es geht nix voran
                              dann kommt irgendwann

                              npm WARN skipping integrity check for git dependency ssh://git@github.com/Newan/ioBroker.yahoo-stock-market.git
                              
                              npm WARN skipping integrity check for git dependency ssh://git@github.com/Steiger04/ioBroker.radar-trap2.git
                              
                              npm WARN skipping integrity check for git dependency ssh://git@github.com/excal-foley/ioBroker.blockly-plus.git
                              

                              sind alles Adapter aus github (nicht in der offiziellen list)

                              das geht dann aber irgendwann und dann kommt bei jedem update aber wieder der gleiche Fehler

                              Glasfaser 2 Replies Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Thomas Braun last edited by Glasfaser

                                @thomas-braun sagte in npm ERR! Cannot read properties of null (reading 'parent'):

                                Ich überlege, ob die vier Zeilen nicht auch was für den iob fix wären.

                                @thomas-braun sagte in npm ERR! Cannot read properties of null (reading 'parent'):
                                funktioniert aber offenbar nicht immer einwandfrei. Mit frischen package*-Files geht es dann.

                                Dann wäre es ein Vorschlag ... den man eventuell mit umsetzen sollte !

                                1 Reply Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser @backfisch88 last edited by

                                  @backfisch88

                                  zeige mal :

                                  cd /opt/iobroker
                                  npm list
                                  
                                  B 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @backfisch88 last edited by

                                    @backfisch88 sagte in npm ERR! Cannot read properties of null (reading 'parent'):

                                    sind alles Adapter aus github (nicht in der offiziellen list)

                                    Warum ... hast du die Freigabe von den Adapterentwickler dazu . ( Enwickungsstatus )
                                    Warum nicht über den Normalen weg installieren !

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      backfisch88 @Glasfaser last edited by backfisch88

                                      @glasfaser

                                      die sind asum Forum zum Testen freigegeben ja und dann über den normalen weg via Katze installiert

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • B
                                        backfisch88 @Glasfaser last edited by

                                        @glasfaser

                                         cd /opt/iobroker
                                        npm list
                                        iobroker.inst@3.0.0 /opt/iobroker
                                        ├── iobroker.admin@6.3.6
                                        ├── iobroker.alexa2@3.23.2
                                        ├── iobroker.backitup@2.5.12
                                        ├── iobroker.blockly-plus@0.0.1 invalid: "github:excal-foley/ioBroker.blockly-plus#8487239d69fc53c13853013110da15b42bc487e9" from the root project
                                        ├── iobroker.bosch-ebike@0.0.3
                                        ├── iobroker.bring@1.8.1
                                        ├── iobroker.daswetter@3.1.7
                                        ├── iobroker.device-watcher@2.6.0
                                        ├── iobroker.discovery@3.1.0
                                        ├── iobroker.dwd@2.8.3
                                        ├── iobroker.fahrplan@1.2.2
                                        ├── iobroker.fb-checkpresence@1.1.25
                                        ├── iobroker.feiertage@1.1.0
                                        ├── iobroker.history@2.2.4
                                        ├── iobroker.ical@1.13.2
                                        ├── iobroker.influxdb@3.2.0
                                        ├── iobroker.info@1.9.26
                                        ├── iobroker.javascript@6.1.4
                                        ├── iobroker.js-controller@4.0.24
                                        ├── iobroker.mihome-vacuum@3.9.5
                                        ├── iobroker.mqtt@4.0.7
                                        ├── iobroker.net-tools@0.2.0
                                        ├── iobroker.netatmo-crawler@0.8.1
                                        ├── iobroker.nuki-extended@2.6.5 invalid: "github:iobroker-community-adapters/ioBroker.nuki-extended" from the root project
                                        ├── iobroker.owfs@0.7.0
                                        ├── iobroker.parcel@0.0.25
                                        ├── iobroker.payback@ invalid: "file:node_modules/ioBroker.payback" from the root project
                                        ├── iobroker.ping@1.5.3
                                        ├── iobroker.pollenflug@1.0.6
                                        ├── iobroker.radar-trap2@1.0.0 invalid: "github:Steiger04/ioBroker.radar-trap2#490ba164008d7127b3c6977d03928b72aa42165d" from the root project
                                        ├── iobroker.rssfeed@2.6.1
                                        ├── iobroker.samsung@0.5.11
                                        ├── iobroker.shelly@6.4.0
                                        ├── iobroker.shuttercontrol@1.4.21
                                        ├── iobroker.simple-api@2.7.2
                                        ├── iobroker.socketio@6.3.3
                                        ├── iobroker.sonoff@2.5.1 invalid: "github:ioBroker/ioBroker.sonoff" from the root project
                                        ├── iobroker.switchbot-ble@0.4.3 invalid: "github:mrbungle64/ioBroker.switchbot-ble#97256911e3cb887a3f4d182fa248bd201b902a8b" from the root project
                                        ├── iobroker.switchbot-hub@0.1.2 invalid: "github:DrozmotiX/ioBroker.switchbot-hub#e9019b544b39c1d39585898a195088b8e15c8576" from the root project
                                        ├── iobroker.tankerkoenig@3.3.6
                                        ├── iobroker.telegram@1.15.2
                                        ├── iobroker.toyota@0.0.3
                                        ├── iobroker.tr-064@4.2.18
                                        ├── iobroker.upnp@1.0.21
                                        ├── iobroker.vis-2-beta@2.0.9
                                        ├── iobroker.vis-2-widgets-energy@0.1.3
                                        ├── iobroker.vis-2-widgets-gauges@0.1.4
                                        ├── iobroker.vis-2-widgets-material@0.2.1
                                        ├── iobroker.vis-inventwo@3.3.3
                                        ├── iobroker.vis-justgage@1.0.2
                                        ├── iobroker.vis-materialdesign@0.5.9
                                        ├── iobroker.vis-timeandweather@1.2.2
                                        ├── iobroker.vis@1.4.16
                                        ├── iobroker.web@5.4.3
                                        ├── iobroker.wled@0.6.7
                                        ├── iobroker.ws@2.3.5
                                        ├── iobroker.yahka@0.17.0 invalid: "github:jensweigele/ioBroker.yahka#f0a14bef96a949fa4c63e9c677b48af76a28ab1b" from the root project
                                        ├── iobroker.yahoo-stock-market@0.0.4 invalid: "github:Newan/ioBroker.yahoo-stock-market#174c9171dbd0fdcf31dbedbe847476fc41643cf3" from the root project
                                        └── iobroker.zigbee@1.8.10
                                        
                                        npm ERR! code ELSPROBLEMS
                                        npm ERR! invalid: iobroker.blockly-plus@0.0.1 /opt/iobroker/node_modules/iobroker.blockly-plus
                                        npm ERR! invalid: iobroker.nuki-extended@2.6.5 /opt/iobroker/node_modules/iobroker.nuki-extended
                                        npm ERR! invalid: iobroker.payback@ /opt/iobroker/node_modules/iobroker.payback
                                        npm ERR! invalid: iobroker.radar-trap2@1.0.0 /opt/iobroker/node_modules/iobroker.radar-trap2
                                        npm ERR! invalid: iobroker.sonoff@2.5.1 /opt/iobroker/node_modules/iobroker.sonoff
                                        npm ERR! invalid: iobroker.switchbot-ble@0.4.3 /opt/iobroker/node_modules/iobroker.switchbot-ble
                                        npm ERR! invalid: iobroker.switchbot-hub@0.1.2 /opt/iobroker/node_modules/iobroker.switchbot-hub
                                        npm ERR! invalid: iobroker.yahka@0.17.0 /opt/iobroker/node_modules/iobroker.yahka
                                        npm ERR! invalid: iobroker.yahoo-stock-market@0.0.4 /opt/iobroker/node_modules/iobroker.yahoo-stock-market
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2023-02-13T12_34_14_886Z-debug-0.log
                                        pi@IOBroker:/opt/iobroker $ npm list
                                        iobroker.inst@3.0.0 /opt/iobroker
                                        ├── iobroker.admin@6.3.6
                                        ├── iobroker.alexa2@3.23.2
                                        ├── iobroker.backitup@2.5.12
                                        ├── iobroker.blockly-plus@0.0.1 invalid: "github:excal-foley/ioBroker.blockly-plus#8487239d69fc53c13853013110da15b42bc487e9" from the root project
                                        ├── iobroker.bosch-ebike@0.0.3
                                        ├── iobroker.bring@1.8.1
                                        ├── iobroker.daswetter@3.1.7
                                        ├── iobroker.device-watcher@2.6.0
                                        ├── iobroker.discovery@3.1.0
                                        ├── iobroker.dwd@2.8.3
                                        ├── iobroker.fahrplan@1.2.2
                                        ├── iobroker.fb-checkpresence@1.1.25
                                        ├── iobroker.feiertage@1.1.0
                                        ├── iobroker.history@2.2.4
                                        ├── iobroker.ical@1.13.2
                                        ├── iobroker.influxdb@3.2.0
                                        ├── iobroker.info@1.9.26
                                        ├── iobroker.javascript@6.1.4
                                        ├── iobroker.js-controller@4.0.24
                                        ├── iobroker.mihome-vacuum@3.9.5
                                        ├── iobroker.mqtt@4.0.7
                                        ├── iobroker.net-tools@0.2.0
                                        ├── iobroker.netatmo-crawler@0.8.1
                                        ├── iobroker.nuki-extended@2.6.5 invalid: "github:iobroker-community-adapters/ioBroker.nuki-extended" from the root project
                                        ├── iobroker.owfs@0.7.0
                                        ├── iobroker.parcel@0.0.25
                                        ├── iobroker.payback@ invalid: "file:node_modules/ioBroker.payback" from the root project
                                        ├── iobroker.ping@1.5.3
                                        ├── iobroker.pollenflug@1.0.6
                                        ├── iobroker.radar-trap2@1.0.0 invalid: "github:Steiger04/ioBroker.radar-trap2#490ba164008d7127b3c6977d03928b72aa42165d" from the root project
                                        ├── iobroker.rssfeed@2.6.1
                                        ├── iobroker.samsung@0.5.11
                                        ├── iobroker.shelly@6.4.0
                                        ├── iobroker.shuttercontrol@1.4.21
                                        ├── iobroker.simple-api@2.7.2
                                        ├── iobroker.socketio@6.3.3
                                        ├── iobroker.sonoff@2.5.1 invalid: "github:ioBroker/ioBroker.sonoff" from the root project
                                        ├── iobroker.switchbot-ble@0.4.3 invalid: "github:mrbungle64/ioBroker.switchbot-ble#97256911e3cb887a3f4d182fa248bd201b902a8b" from the root project
                                        ├── iobroker.switchbot-hub@0.1.2 invalid: "github:DrozmotiX/ioBroker.switchbot-hub#e9019b544b39c1d39585898a195088b8e15c8576" from the root project
                                        ├── iobroker.tankerkoenig@3.3.6
                                        ├── iobroker.telegram@1.15.2
                                        ├── iobroker.toyota@0.0.3
                                        ├── iobroker.tr-064@4.2.18
                                        ├── iobroker.upnp@1.0.21
                                        ├── iobroker.vis-2-beta@2.0.9
                                        ├── iobroker.vis-2-widgets-energy@0.1.3
                                        ├── iobroker.vis-2-widgets-gauges@0.1.4
                                        ├── iobroker.vis-2-widgets-material@0.2.1
                                        ├── iobroker.vis-inventwo@3.3.3
                                        ├── iobroker.vis-justgage@1.0.2
                                        ├── iobroker.vis-materialdesign@0.5.9
                                        ├── iobroker.vis-timeandweather@1.2.2
                                        ├── iobroker.vis@1.4.16
                                        ├── iobroker.web@5.4.3
                                        ├── iobroker.wled@0.6.7
                                        ├── iobroker.ws@2.3.5
                                        ├── iobroker.yahka@0.17.0 invalid: "github:jensweigele/ioBroker.yahka#f0a14bef96a949fa4c63e9c677b48af76a28ab1b" from the root project
                                        ├── iobroker.yahoo-stock-market@0.0.4 invalid: "github:Newan/ioBroker.yahoo-stock-market#174c9171dbd0fdcf31dbedbe847476fc41643cf3" from the root project
                                        └── iobroker.zigbee@1.8.10
                                        
                                        npm ERR! code ELSPROBLEMS
                                        npm ERR! invalid: iobroker.blockly-plus@0.0.1 /opt/iobroker/node_modules/iobroker.blockly-plus
                                        npm ERR! invalid: iobroker.nuki-extended@2.6.5 /opt/iobroker/node_modules/iobroker.nuki-extended
                                        npm ERR! invalid: iobroker.payback@ /opt/iobroker/node_modules/iobroker.payback
                                        npm ERR! invalid: iobroker.radar-trap2@1.0.0 /opt/iobroker/node_modules/iobroker.radar-trap2
                                        npm ERR! invalid: iobroker.sonoff@2.5.1 /opt/iobroker/node_modules/iobroker.sonoff
                                        npm ERR! invalid: iobroker.switchbot-ble@0.4.3 /opt/iobroker/node_modules/iobroker.switchbot-ble
                                        npm ERR! invalid: iobroker.switchbot-hub@0.1.2 /opt/iobroker/node_modules/iobroker.switchbot-hub
                                        npm ERR! invalid: iobroker.yahka@0.17.0 /opt/iobroker/node_modules/iobroker.yahka
                                        npm ERR! invalid: iobroker.yahoo-stock-market@0.0.4 /opt/iobroker/node_modules/iobroker.yahoo-stock-market
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2023-02-13T12_35_12_228Z-debug-0.log
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @backfisch88 last edited by Thomas Braun

                                          @backfisch88 sagte in npm ERR! Cannot read properties of null (reading 'parent'):

                                          über den normalen weg via Katze installiert

                                          Das ist alles andere als 'der normale Weg'.

                                          Die ganzen invalid Dinger entweder rauswerfen oder neuinstallieren.

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

                                            @backfisch88 sagte in npm ERR! Cannot read properties of null (reading 'parent'):

                                            ├── iobroker.vis-2-beta@2.0.9

                                            ├── iobroker.vis-2-widgets-energy@0.1.3

                                            ├── iobroker.vis-2-widgets-gauges@0.1.4

                                            ├── iobroker.vis-2-widgets-material@0.2.1

                                            Mhh ... ich dacht du hast kein VIS 2 ..

                                            @backfisch88 sagte in npm ERR! Cannot read properties of null (reading 'parent'):
                                            ne kein VIS2.

                                            aber egal ...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            839
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            37
                                            1741
                                            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