Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom element doesn't exist: dark-sky-weather-card #5

Closed
chelming opened this issue Jan 15, 2019 · 6 comments
Closed

Custom element doesn't exist: dark-sky-weather-card #5

chelming opened this issue Jan 15, 2019 · 6 comments

Comments

@chelming
Copy link

This just started happening to me without me changing anything. It appears that there are issues with the CDN Lit uses (see: https://github.com/kalkih/mini-media-player/pull/58/files).

I tried replacing the import with the 4 lines from that PR but it didn't fix it for me, I end up with an empty card.

@wklink
Copy link

wklink commented Jan 15, 2019

I'm having the same issue. I replaced the first line with:

import { LitElement, html, } from 'https://unpkg-gcp.firebaseapp.com/@polymer/lit-element@0.5.2/lit-element.js?module';

and it seems to be working.

@wklink
Copy link

wklink commented Jan 15, 2019

It looks like the original URL, https://unpkg.com/@polymer/lit-element@^0.5.2/lit-element.js?module, is trying to import it's dependecies from localhost instead of unpkg.com.

@ohminy
Copy link

ohminy commented Jan 15, 2019

wklink!
I was stuck in the same issue suddenly since few hours ago!
but your comment is working for me.
thanks a lot!

solution

  1. change the first line dark-sky-weather-card.js file as follow wklink comment
  2. delet all the cookies in my browser (chrome)
  3. reboot HA

@DavidFW1960
Copy link

fixed it for me as well

@iammexx
Copy link
Owner

iammexx commented Jan 15, 2019

@wklink

Thanks for the reference update. The original line was based on the code samples in the original Lovelace docs. It's worked fine until now.

@CMaxim77
Copy link

Fixed it for me too, THANK YOU!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants