andrey-git / home-assistant-custom-ui

Custom UI elements for https://home-assistant.io
https://home-assistant.io
MIT License
528 stars 97 forks source link

Uncaught TypeError after upgrading to HA 0.84.1 #160

Closed serbani closed 5 years ago

serbani commented 5 years ago

Checklist

Chrome 70.0.3538.110

CustomUI version: 20180831

Home Assistant release (hass --version): 0.84.1

Problem-relevant Home Assistant log entries:

http://somehost:8123/local/custom_ui/state-card-custom-ui.html:27:15926 Uncaught TypeError: Class extends value undefined is not a constructor or null

Any errors from browser Javascript console: I've tried switching to the debug version but none of the instructions worked.

Uncaught TypeError: Class extends value undefined is not a constructor or null
    at Object.<anonymous> (dynamic-with-extra.js:10)
    at i (bootstrap:19)
    at bootstrap:68
    at bootstrap:68

What I observe: all cards are empty.

alegiovannelli commented 5 years ago

I also found the error after upgrading to the latest version. The error of visualization I found is only on my smartphone with the browser Chrome and also with the stock browser, on the desktop PC no errors and the visualization is normal.

The error: ERROR (MainThread) [frontend.js.latest.201812110] https://xxxxxxxx/local/custom_ui/state-card-custom-ui.html:27:15926 Uncaught TypeError: Class extends value undefined is not a constructor or null

I think the problem is in the mobile visualization of the Home Assistant frontend.

andrey-git commented 5 years ago

Fixed by release 2018-12-17