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

Error resolving module specifier: canvas-gauges #26

Closed
electron64 opened this issue Apr 22, 2020 · 7 comments
Closed

Error resolving module specifier: canvas-gauges #26

electron64 opened this issue Apr 22, 2020 · 7 comments

Comments

@electron64
Copy link

Hello , i followed the instructions to install it and i get this error in logs and in editor it says:

version= Home Assistant 0.103.6 os=Ubuntu 18.04

Custom element doesn't exist: canvas-gauge-card.

http://192.168.1.108:8123/local/custom_cards/canvas-gauge-card/canvas-gauge-card.js:25:18 TypeError: Error resolving module specifier: canvas-gauges

I added the file .js and i can reach it via url .
Do someone know how i can fix it please?

@helto4real
Copy link
Collaborator

lovelace:
  mode: yaml
  resources:
     - url: /local/custom_cards/canvas-gauge-card.js
       type: module

This is done int configuration.yaml please check

@pepebc
Copy link

pepebc commented Apr 27, 2020

Installed today and configured correctly, I have the same result:

Custom element doesn't exist: canvas-gauge-card

@helto4real
Copy link
Collaborator

Did you try install through HACS?

@pepebc
Copy link

pepebc commented Apr 28, 2020

Did you try install through HACS?

I try not use HACS.
But path and the call is correct.
Other modules work well

@helto4real
Copy link
Collaborator

helto4real commented Apr 28, 2020

https://github.com/custom-cards/canvas-gauge-card/releases/latest
It is the release one that needs to be downloaded. Do not use the one in source tree please. Check under Assests that are built you will find the pre-built .js file

@pepebc
Copy link

pepebc commented Apr 30, 2020

https://github.com/custom-cards/canvas-gauge-card/releases/latest
It is the release one that needs to be downloaded. Do not use the one in source tree please. Check under Assests that are built you will find the pre-built .js file

This version does work perfect !!
Thanks

@electron64
Copy link
Author

Hi , sorry for my late answer i applied the suggestion of : helto4real
and was ok.
Thank you for your help.

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

3 participants