[frontend.js.latest.xxxx] :0:0 Script error

Any news on this?

It only happens when I open a standard dashboard. Even if I make a new one and don’t change anything. Once I view it, it logs the error - but everything seems to work. It does not happen on custom dashboards.

Nope still not solved. Just checked my log happened just 30 min ago.

image

I spent the morning tracking this down and eliminated my errors. I had two problems:

  1. I had mistyped the name of card-mod.js in the frontend: section of configuration.yaml so it was giving errors.
  2. I had spotify-card loaded twice. Once back in the day when you manually added resources to lovelace and the second with the hacs. This was giving a DOMException error in Chrome.

Check your resources list in Settings/Dashboard, click the 3 dots in the upper right and select “Resources”. Make sure there aren’t duplicates.

After fixing these I no longer saw errors in the Inspect/console section of Chrome and I do not get the “Uncaught” errors in home-assistant.log

Hope this helps someone.

2 Likes