kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.47k stars 206 forks source link

The name "mmp-checkbox" has already been used with this registry #834

Open gravelfreeman opened 4 months ago

gravelfreeman commented 4 months ago

Hello,

I have the latest version of HAOS and using the custom:mini-media-player at 2 places in my dashboards.

I've seen that it's been discussed in issue 606 but I wasn't able to troubleshoot it with the provided information.

ERROR (MainThread) [frontend.js.latest.202402071] Uncaught error from Firefox 123.0 on Windows 10
Error: Failed to execute 'define' on 'CustomElementRegistry': the name "mmp-checkbox" has already been used with this registry
4404/</window.CustomElementRegistry.prototype.define (src/scoped-custom-element-registry.js:44:14)
J/</< (/hacsfiles/mini-media-player/mini-media-player-bundle.js:162:67)
J/< (/hacsfiles/mini-media-player/mini-media-player-bundle.js:162:82)
t (/hacsfiles/mini-media-player/mini-media-player-bundle.js:15:250)
/hacsfiles/mini-media-player/mini-media-player-bundle.js:707:170

I tried to find the specified js file frontend.js.latest.202402071 but it's nowhere to be found in HAOS. I believe that might be a file on the local client. Why such an old dated file triggering that error?

Thanks for helping out!