question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught SyntaxError: Identifier 'LitElement' has already been declared

See original GitHub issue

My button cards are not loading, and I get this error in my logs:

Uncaught SyntaxError: Identifier 'LitElement' has already been declared

I’ve tried updating the button-card.js to the version from #63, but get the same error. It’s not a caching issue, as I get the same error in an incognito window with a fresh login.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
kmlucycommented, Feb 22, 2019

@ammmze That fixed it, thanks!

0reactions
ohadbenitacommented, Feb 22, 2019

For me it doesn’t respect the style options at all

On Fri, 22 Feb 2019 at 16:06 artomka notifications@github.com wrote:

That fixed it for me as well, but the font size is much smaller than before.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kuuji/button-card/issues/64#issuecomment-466407165, or mute the thread https://github.com/notifications/unsubscribe-auth/AdL_vpFuHDxSPF05fEq4Xt4ALs0om_Geks5vP_lMgaJpZM4bJi1x .

– אוהד בניטה נייד - 0508246047

_/ # ## ( ^= p ### c / ) | / - //^—~ c 3 / ----^\ /^\ / --,- ( | | O| \/ ,/ | | | / | `-- / (((G |-----| //-----\ // \ / | | ^| | | | | || || /) (____\

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript- Uncaught SyntaxError: Identifier * has already been ...
I am surprised to see this output as I am expecting 10 ..because two variables declared inside the if block refer to the...
Read more >
Identifier has already been declared Error in JavaScript
The "SyntaxError: Identifier has already been declared" occurs when a variable with the same name has been declared multiple times in the same...
Read more >
Solved: JavaScript switch/case "Identifier '...' has already been ...
Fix for "Identifier '...' has already been declared" when using JavaScript switch/case. If you specify the same variable name (created using let ...
Read more >
Getting a 'Uncaught SyntaxError: Identifier 'astrosUrl' has ...
Getting a 'Uncaught SyntaxError: Identifier 'astrosUrl' has already been declared const astrosUrl = 'http://api.open-notify.org/astros.json' ...
Read more >
Custom Dark Sky Animated Weather Card
dark-sky-weather-card.js?track=true:1 Uncaught SyntaxError: Identifier 'LitElement' has already been declared at ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found