Git Product home page Git Product logo

Comments (11)

Teryeahh avatar Teryeahh commented on August 12, 2024

Same here. will you fix this @thomasloven ? or should we manually download it?

from lovelace-card-mod.

thomasloven avatar thomasloven commented on August 12, 2024

What makes you say that?

from lovelace-card-mod.

JesseWebDotCom avatar JesseWebDotCom commented on August 12, 2024

Here are the steps I took:

  • Installed card mod through HAC
  • Added card-mod.js as a module in my Lovelace file
  • Added the exact example from the Mod-Card README section

Which results in the error Custom element doesn't exist: mod-card.

from lovelace-card-mod.

JesseWebDotCom avatar JesseWebDotCom commented on August 12, 2024

Also, these are the files that get installed through HACS (under www/community/lovelace-card-mod/):

  • card-mod.js
  • card-mod.js.gz
  • web pack.config.js
  • web pack.config.js.gz

Note: This is the first time I'm using your mod-card. Perhaps the documentation is wrong or I'm doing something wrong.

from lovelace-card-mod.

Teryeahh avatar Teryeahh commented on August 12, 2024

Screenshot_2019-12-31-11-00-31-444_io homeassistant companion android
Hi.

I'm also getting an error like you see on the pic. Followed the instructions.

from lovelace-card-mod.

dannyhanes avatar dannyhanes commented on August 12, 2024

A couple little things I noticed as well.

No Option to to Lovelace Config
Screen Shot 2020-01-02 at 11 13 36 AM

Looks Like Incorrect Type Listed in HACS
Screen Shot 2020-01-02 at 11 13 41 AM

Edit: For those having issues, add the following to your lovelace config after installing through HACS

- type: module
    url: /community_plugin/lovelace-card-mod/card-mod.js

from lovelace-card-mod.

thomasloven avatar thomasloven commented on August 12, 2024

@Teryeahh
That's a completely different error from what's discussed here.
The error message is very clear. Indentation matters.

from lovelace-card-mod.

thomasloven avatar thomasloven commented on August 12, 2024

@JesseWebDotCom Please post anything you found in the browser log while you stepped through the troubleshooting guide linked from the readme.

from lovelace-card-mod.

IanAdd avatar IanAdd commented on August 12, 2024

I had this problem and found the solution to be:
The README.MD page says add:
resources:

  • url: /local/card-mod.js
    type: module
    DO NOT DO THIS
    Instead add the following which is shown at the end of the HACS install page - NB make everything lowercase!
  • url: /hacsfiles/lovelace-card-mod/card-mod.js
    type: module

Worked for me, hope it does for others.

from lovelace-card-mod.

JesseWebDotCom avatar JesseWebDotCom commented on August 12, 2024

I had this problem and found the solution to be:
The README.MD page says add:
resources:

  • url: /local/card-mod.js
    type: module
    DO NOT DO THIS
    Instead add the following which is shown at the end of the HACS install page - NB make everything lowercase!
  • url: /hacsfiles/lovelace-card-mod/card-mod.js
    type: module

Worked for me, hope it does for others.

This solved the issue for me, thanks. FWIW - I didn't see the solution in the README.MD however.

from lovelace-card-mod.

thomasloven avatar thomasloven commented on August 12, 2024

In general, when using HACS, follow the instructions for HACS instead of the other ones.

from lovelace-card-mod.

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.