Frontend: 0.86.0 Lovelace: Uncaught TypeError: Illegal constructor

Created on 24 Jan 2019  路  1Comment  路  Source: home-assistant/frontend

@LanderN commented on Jan 24, 2019, 7:31 PM UTC:

Home Assistant release with the issue:
0.86.0

Last working Home Assistant release (if known):
0.85.x

Operating environment (Hass.io/Docker/Windows/etc.):
Raspberry Pi, installed via pip in venv.

Component/platform:
/

Description of problem:
Lovelace UI not loading (blank page). Other pages work fine. Error in JavaScript console same as error in Home Assistant log.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Irrelevant, brand new config results in the same error.

Traceback (if applicable):
Home Assistant Log:

2019-01-24 18:09:12 ERROR (MainThread) [frontend.js.latest.201901211] https://MYHOST/frontend_latest/app-3b4bb4ed.js:365:157 Uncaught TypeError: Illegal constructor
2019-01-24 18:09:35 ERROR (MainThread) [frontend.js.latest.201901211] https://MYHOST/frontend_latest/app-3b4bb4ed.js:365:157 Uncaught TypeError: Illegal constructor
2019-01-24 18:09:35 ERROR (MainThread) [frontend.js.latest.201901211] https://MYHOST/frontend_latest/app-3b4bb4ed.js:365:157 Uncaught TypeError: Illegal constructor
2019-01-24 18:09:58 ERROR (MainThread) [frontend.js.latest.201901211] https://MYHOST/frontend_latest/app-3b4bb4ed.js:365:157 Uncaught TypeError: Illegal constructor
2019-01-24 18:10:18 ERROR (MainThread) [frontend.js.latest.201901211] https://MYHOST/frontend_latest/app-3b4bb4ed.js:365:157 Uncaught TypeError: Illegal constructor
2019-01-24 18:12:21 ERROR (MainThread) [frontend.js.latest.201901211] https://MYHOST/frontend_latest/app-3b4bb4ed.js:365:157 Uncaught TypeError: Illegal constructor
2019-01-24 18:12:22 ERROR (MainThread) [frontend.js.latest.201901211] https://MYHOST/frontend_latest/app-3b4bb4ed.js:365:157 Uncaught TypeError: Illegal constructor

JavaScript Console:

Uncaught TypeError: Illegal constructor
    at CSSResult.get styleSheet [as styleSheet] (app-3b4bb4ed.js:365)
    at renderRoot.adoptedStyleSheets.styles.map.s (app-3b4bb4ed.js:377)
    at Array.map (<anonymous>)
    at HTMLElement.adoptStyles (app-3b4bb4ed.js:377)
    at HTMLElement.initialize (app-3b4bb4ed.js:377)
    at new UpdatingElement (app-3b4bb4ed.js:344)
    at new lit_element_LitElement (app-3b4bb4ed.js:377)
    at new <anonymous> (app-3b4bb4ed.js:1305)
    at new <anonymous> (8ee9235853b66c6b78f9.chunk.js:1071)
    at new hui_root_HUIRoot (8ee9235853b66c6b78f9.chunk.js:5370)

Additional information:
Upgrade to 0.86.1: same issue.
Removing my entire homeassistant virtualenv and re-installing Home Assistant from scratch (following this guide https://www.home-assistant.io/docs/installation/raspberry-pi/) didn't help. I'm totally stumped by this issue.

This issue was moved by marchingphoenix from home-assistant/home-assistant#20389.

Most helpful comment

Disable chrome://flags/#enable-experimental-web-platform-features

>All comments

Disable chrome://flags/#enable-experimental-web-platform-features

Was this page helpful?
0 / 5 - 0 ratings