Bubble-Card icon indicating copy to clipboard operation
Bubble-Card copied to clipboard

Bubble card not displaying - 'does not exist'

Open oerix opened this issue 9 months ago • 16 comments

Describe the bug
After updating v2.5.0-beta.8 it is showing error bubble-card no longer exists. I tried clearing frontend cache/data numerous times on all browsers, but still getting the same issue. This applies to desktop and the mobile app. I had to rollback the beta.7 to get everything working again.

To Reproduce
Steps to reproduce the behavior:

  1. Update to v2.5.0-beta.8
  2. See results

Expected behavior
Display cards like normal, without errors.

Screenshots

Image

Informations (please complete the following information):

  • OS: iOS 18.4 b4/ macOS 15.4 b4
  • Browser/App: Safari. Chrome, Firefox
  • Bubble Card version: v2.5.0-beta.8
  • Home Assistant version: 2025.3.3

oerix avatar Mar 19 '25 19:03 oerix

Just to add, I never had this issue in the previous v2.4 betas, it only arose in the v2.5 betas, where I have to clear cache every single time I update. Unfortunately, in the latest beta (b8), it doesn't seem to have any effect at all.

oerix avatar Mar 19 '25 19:03 oerix

Hi! This is a random HACS issue and not everyone is experiencing this, have you updated it?

But here's how you can fix this: #1243

Clooos avatar Mar 19 '25 20:03 Clooos

Hi! This is a random HACS issue and not everyone is experiencing this, have you updated it?

But here's how you can fix this: #1243

I've just tried this workaround, but it doesn't seem to fix anything for me.

Hi, when I change the resources to hacstag=6801129192509 it reverts back to hacstag=6801129192508 once I update to beta.8 unfortunately.

Edit: @Clooos issue seem to had fixed after HA restart, thank you! Btw, has this been reported in the Hacs repo?

oerix avatar Mar 19 '25 21:03 oerix

I've yet to figure out a permanent fix to this. I get it every update

DerHerzog7 avatar Mar 22 '25 00:03 DerHerzog7

I've yet to figure out a permanent fix to this. I get it every update

I have had this once or twice and specifically redownloading it through hacs has resolved it everytime so far.

s1mpleman avatar Mar 22 '25 12:03 s1mpleman

I've yet to figure out a permanent fix to this. I get it every update

I have had this once or twice and specifically redownloading it through hacs has resolved it everytime so far.

Yeh that doesn't work for me. No idea why I can't get it to work

DerHerzog7 avatar Mar 23 '25 03:03 DerHerzog7

Hi everyone, I've submitted an issue on the HACS GitHub, I will tell you when I have an answer 🙂

https://github.com/hacs/integration/issues/4501

Clooos avatar Mar 23 '25 14:03 Clooos

Here's an answer from the HACS dev about this issue, can anyone tell me if this help you understand the cause of this?

https://github.com/hacs/integration/issues/4501#issuecomment-2753444916

Also if someone can share logs, this can help a lot as well! 😄

Clooos avatar Mar 26 '25 10:03 Clooos

ok finally have some time to post about this. I am experiencing varied results. Web sometimes Lenovo dashboard running mobile App all the time iOS mobile app some of the time

Browser logs from web instance when it works:

'bubble-modules.yaml' not found at /local/bubble/bubble-modules.yaml?v=1744388014473 (status: 404). Trying next...
  | loadYAML | @ | bubble-card.js?hacstag=6801129192509:2 -- | -- | -- | --

jaburges avatar Apr 11 '25 16:04 jaburges

This message can be ignored, but it shouldn't appears anymore in the next beta.

And this is weird that you still get this error, it should only happens once after an update.

Clooos avatar Apr 11 '25 20:04 Clooos

I tried a fix for the "Custom element doesn't exist" error, I unable to reproduce this issue, so I hope this will avoid that 🤞

This fix will be part of the next beta 🙂

Clooos avatar Apr 17 '25 14:04 Clooos

I tried a fix for the "Custom element doesn't exist" error, I unable to reproduce this issue, so I hope this will avoid that 🤞

This fix will be part of the next beta 🙂

Hi Clooos,

First thanks for your hard work !

I also got this error when trying to install v3 beta 2 on 2.40

I've also tried clearing the caches, rebooting HA, uninstalling the old version and then installing the latest beta, but I still get the same error (doing everything from HACS).

EDIT : working when installing v3 beta 1

lacrima08 avatar Apr 24 '25 18:04 lacrima08

EDIT : working when installing v3 beta 1

same for me, 3.0 beta 2 and 3 not working.

Had the same with 2.5 beta 9, while beta 8 was working

Elitehoernchen avatar Apr 25 '25 22:04 Elitehoernchen

This issue can be easily fixed, check this: https://github.com/Clooos/Bubble-Card/issues/1243#issuecomment-2661457965

Clooos avatar Apr 26 '25 04:04 Clooos

Also had the same again. I deleted the resources, reinstalled and it worked.

HyperCriSiS avatar Apr 26 '25 16:04 HyperCriSiS

can confirm, after manually deleting bubble-card.js in explorer and reinstalling its working

Elitehoernchen avatar Apr 26 '25 18:04 Elitehoernchen

Until this is officially addressed, you can temporarily 'fix' this with each beta update using the steps below. I have tested this on multiple betas and it worked every time, without requiring you to delete cache for each device.

  • Remove bubble-card.js under Dashboard > Resources then Reload the page.
  • Remove Bubble-card from HACS.
  • Reinstall Bubble-Card and reload the page.
  • Delete Cache on the browser, so the editor is updated to latest beta.

oerix avatar May 03 '25 17:05 oerix

First of all, thanks for the great custom cards, @Clooos!

After updating HA to 2025.5.1, the select buttons stopped working as in issues #1457 and #1466 (I was on v2.4 at this time).

This should be fixed with v3.0 beta 6. However, after installation, the custom bubble-cards are no longer displayed with error message Custom element doesn't exist: bubble-card.

I tried @oerix' approach and it doesn't work in this case either.

After rolling back to v3.0 beta 5, the cards are displayed again, but of course the original problem with the select buttons remains.

HA-Version: 2025.5.1 Error occurs in Browser (Firefox in my case) & App

marcelomarshmallow avatar May 11 '25 15:05 marcelomarshmallow

Try the other suggestions in this issue if this one isn't working 🙂

Clooos avatar May 11 '25 15:05 Clooos

Try the other suggestions in this issue if this one isn't working 🙂

Thanks, this one helped me fix the problem. 😺👍

This issue can be easily fixed, check this: #1243 (comment)

marcelomarshmallow avatar May 11 '25 16:05 marcelomarshmallow

Hi everyone! Ludeeus, the HACS dev, was finally able to reproduce this issue, and it will be fixed in the next HACS release! 🥳

This only happens with beta versions (any version that isn’t marked as “latest”). And after three months of beta testing, you can’t imagine how many times this issue has been reported, here, on the HA forum, on Reddit...

So I'm really relieved it's finally identified and being fixed. Huge thanks to everyone who helped report it and stayed patient along the way!

https://github.com/hacs/integration/pull/4603

Clooos avatar May 13 '25 15:05 Clooos

Is the HACS 2.0.5 release the one that's meant to fix this?

I have that and just installed bubble card 3.0.0 beta7 and can't seem to get it to load even with trying the old hack of modifying the HACSTAG.

pgale avatar May 14 '25 19:05 pgale

Nope, this fix hasn’t been released yet.

But this solution seems to works as well:

https://community.home-assistant.io/t/bubble-card-a-minimalist-card-collection-for-home-assistant-with-a-nice-pop-up-touch/609678/2668?u=cloos

Clooos avatar May 14 '25 19:05 Clooos

Thanks I’ll try that too.

Paul.

Paul Gale, MCIPR

07730 465685tel:07730%20465685


From: Cloos @.> Sent: Wednesday, May 14, 2025 8:59:15 PM To: Clooos/Bubble-Card @.> Cc: Paul Gale @.>; Comment @.> Subject: Re: [Clooos/Bubble-Card] Bubble card not displaying - 'does not exist' (Issue #1351)

[https://avatars.githubusercontent.com/u/36499953?s=20&v=4]Clooos left a comment (Clooos/Bubble-Card#1351)https://github.com/Clooos/Bubble-Card/issues/1351#issuecomment-2881402072

Nope, this fix hasn’t been released yet.

But this solution seems to works as well:

https://community.home-assistant.io/t/bubble-card-a-minimalist-card-collection-for-home-assistant-with-a-nice-pop-up-touch/609678/2668?u=cloos

— Reply to this email directly, view it on GitHubhttps://github.com/Clooos/Bubble-Card/issues/1351#issuecomment-2881402072, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAD5IFE3T55D6JT3ZUAMHHL26OOBHAVCNFSM6AAAAABZLV4B5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQOBRGQYDEMBXGI. You are receiving this because you commented.Message ID: @.***>

pgale avatar May 14 '25 20:05 pgale

Yes that worked nicely :)

pgale avatar May 14 '25 20:05 pgale

Nice! Thank you for the feedback!

Clooos avatar May 14 '25 20:05 Clooos

This time deleting resources did not work but I could easily fix it by just changing the last number of the HACS tag :tada:

HyperCriSiS avatar May 14 '25 22:05 HyperCriSiS

I managed to fix this by accident. While following one of the fixes, I re-downloaded the previous HACS version (2.0.4) and instead of restarting it I accidentally updated back to 2.0.5 and restarted and it started working again

damomato avatar May 15 '25 05:05 damomato

I have the same issue with beta 7, all the other betas are fine and I can switch between them without issue. The browser logs show the following. The above workarounds does not work. This is reproducible on multiple browsers and devices.

Uncaught SyntaxError: unexpected token: '!'
[bubble-card.js:2:82811](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193007)
Navigated to http://10.10.50.12:8123/dashboard-testboard/0?edit=1
Uncaught SyntaxError: unexpected token: '!'
[bubble-card.js:2:82811](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193007)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
 Bubble Card  v2.4.0 [bubble-card.js:1445:40331](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=680112919240)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
Uncaught SyntaxError: unexpected token: '!'
[bubble-card.js:2:82811](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193007)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
 Bubble Card  v3.0.0-beta.1 [bubble-card.js:2523:3922](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193001)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
 Bubble Card  v3.0.0-beta.6 [bubble-card.js:2659:5797](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193006)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
Uncaught SyntaxError: unexpected token: '!'
[bubble-card.js:2:82811](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193007)

pantherale0 avatar May 16 '25 21:05 pantherale0

I have the same issue with beta 7, all the other betas are fine and I can switch between them without issue. The browser logs show the following. The above workarounds does not work. This is reproducible on multiple browsers and devices.

Uncaught SyntaxError: unexpected token: '!'
[bubble-card.js:2:82811](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193007)
Navigated to http://10.10.50.12:8123/dashboard-testboard/0?edit=1
Uncaught SyntaxError: unexpected token: '!'
[bubble-card.js:2:82811](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193007)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
 Bubble Card  v2.4.0 [bubble-card.js:1445:40331](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=680112919240)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
Uncaught SyntaxError: unexpected token: '!'
[bubble-card.js:2:82811](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193007)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
 Bubble Card  v3.0.0-beta.1 [bubble-card.js:2523:3922](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193001)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
 Bubble Card  v3.0.0-beta.6 [bubble-card.js:2659:5797](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193006)
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
Navigated to http://10.10.50.12:8123/hacs/repository/680112919
Uncaught SyntaxError: unexpected token: '!'
[bubble-card.js:2:82811](http://10.10.50.12:8123/hacsfiles/Bubble-Card/bubble-card.js?hacstag=6801129193007)

Thank you for the feedback, this error is interesting (because I don't have it), I will check that!

Clooos avatar May 17 '25 17:05 Clooos