ofekashery / vertical-stack-in-card

📐 Home Assistant Card: Group multiple cards into a single sleek card.
MIT License
892 stars 79 forks source link

SyntaxError: Unexpected keyword 'const' #48

Closed r3tr0sp3c closed 5 years ago

r3tr0sp3c commented 5 years ago

In the full home assistant log i get this error:

ERROR (MainThread) [frontend.js.es5.201901211] https://mydomain.duckdns.org:8123/local/vertical-stack-in-card.js?v=v0.1.0:17:0 SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.

my ui-lovelance.yaml:
  - url: /local/vertical-stack-in-card.js?v=v0.1.0
    type: js

but my implementation of the type: custom:vertical-stack-in-card works as expected. Why does this error appear?

ofekashery commented 5 years ago

Please make sure you have javascript_version: latest in your configuration.yaml under frontend. If you are still having a issue, please reopen this issue.