Giter Club home page Giter Club logo

Comments (6)

Krispkiwi avatar Krispkiwi commented on July 17, 2024

I'm getting this error as well.

from weather-card.

ElStupid avatar ElStupid commented on July 17, 2024

I'm having the error too. Cannot load card. Anyone have a work around?

from weather-card.

Imoriarty avatar Imoriarty commented on July 17, 2024

Ditto. I see other threads about a version > 1.4.6, but that's the only version I can see here on GH, and in HACS.

from weather-card.

Imoriarty avatar Imoriarty commented on July 17, 2024

So, after banging on it for awhile, I noticed that no matter what I did, the card always gave me the same error - even when I intentionally broke the JS.

For me, the solution was that the dashboard itself was referencing a old version of the JS, because the Dashboard resource was set to the HACS local cache.

I grabbed the most recent version of the card, and installed it manually into the config/www/community/weather-card dir, and pointed the old HACS entry in the Dashboard resources to the local js file, and now it loads correctly.

from weather-card.

Imoriarty avatar Imoriarty commented on July 17, 2024

Following up, I reverted back to my previous resource path for the card's js, and it failed again.

Then I started simplifying the path until I got down to:

hacsfiles/weather-card/weather-card.js

Which works (for me), and survives a reboot of all of HA.

from weather-card.

Krispkiwi avatar Krispkiwi commented on July 17, 2024

Issue is switching to master doesn't solve the issue.

from weather-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.