[0.106.0b0] Uncaught TypeError: Cannot assign to read only property 'index' of object
See original GitHub issueSince the new beta 0.106.x I get this error in my frontend:
mini-graph-card-bundle.js:1 Uncaught TypeError: Cannot assign to read only property 'index' of object '#<Object>'
at mini-graph-card-bundle.js:1
at Array.forEach (<anonymous>)
at HTMLElement.set hass [as hass] (mini-graph-card-bundle.js:1)
at HTMLElement.value (hui-view.ts:61)
at HTMLElement.value (hui-view.ts:337)
at HTMLElement.<anonymous> (hui-view.ts:68)
at r (fire_event.ts:76)
at create-element-base.ts:72
Also lovelace does not display anything anymore. When I remove mini graph card js, the error is gone and lovelace loads normal again.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot assign to read only property
When you use Object.defineProperties , by default writable is set to false , so _year and edition are actually read only properties.
Read more >Cannot assign to read only property of Object in JavaScript
The error "Cannot assign to read only property of object" occurs when we try to change a property of an object that has...
Read more >Cannot assign to read only property '0' of object '[object Array]'
Hi guys, Having this really strange error in several of my cards after updating to latest release ! Thing is, right after I...
Read more >TypeError: "x" is read-only - JavaScript - MDN Web Docs
The JavaScript strict mode-only exception "is read-only" occurs when a global variable or object property that was assigned to is a read-only property....
Read more >Uncaught TypeError: Cannot assign to read only property &
Nothing fancy here. The line where this error occurs - "object" === ("undefined" == typeof exports ? "undefined" : l(exports)) && void ...
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
I’m clearly cleverer than I thought I am as I managed to build it and it seems to be working…
Thanks, will have a look at the changed this weekend.