Cannot read property 'shadowRoot' of null
See original GitHub issueNot sure what’s causing it, but this error pops up in my HA log from time to time.
https://[REDACTED]/local/lovelace-card-tools/card-tools.js:42:9 Uncaught TypeError: Cannot read property 'shadowRoot' of null
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Cannot read properties of null (reading 'ShadowRoot') - Java ...
I am trying to web scrape using Java and Selenium but for one part of what I need to web scrape, it requires...
Read more >Cannot read property 'shadowRoot' of null : r/GreaseMonkey
Hello. I'm trying to change some dom elements by dom manipulation using tampermonkey. But I get this error.
Read more >TypeError: Cannot read property 'shadowRoot' of null #1
I used shadow-DOM-inject-styles as follow: constructor(private el: ElementRef) { const tabbar = this.el.nativeElement.querySelector('ion-tabs > ion-tabbar') ...
Read more >TypeError: Cannot read property 'getElement' of null
I'm not understanding why. TypeError: Cannot read property 'getElement' of null 19 | 20 | let messageEl = element.shadowRoot.querySelector(' ...
Read more >Uncaught TypeError: Cannot read property of null - iDiallo
This error occurs when you read a property or call a method on a null object . That's because the DOM API returns...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is entirely impossible for that error to appear if you have a version of card-tools which is less than 7 days old. It is even more impossible to get it on line 69 in the latest version, since that line doesn’t contain
shadowRoot
in any way.Try actually updating. And please open a new issue if you suspect a bug, rather than replying to a month old one that’s marked as closed. You can’t expect anyone to read those.
Should be fixed now.