Open Vingen168 opened 4 years ago
Same here,
dont know if I'am doing something wrong.
:8123/lovelace/0:0:0 Uncaught TypeError: Failed to resolve module specifier "card-tools/src/templates.js". Relative references must start with either "/", "./", or "../".
Same here,
dont know if I'am doing something wrong.
:8123/lovelace/0:0:0 Uncaught TypeError: Failed to resolve module specifier "card-tools/src/templates.js". Relative references must start with either "/", "./", or "../".
OK :-)
updating HACS to actual Version and reinstall did the trick!,
Solved for me
in the README, it says resources: url: /local/card-tools.js type: module
but once installed it goes to "/www/community/lovelace-card-tools/card-tools.js" and HACS add it to "- url: /community_plugin/lovelace-card-tools/card-tools.js"
so which one it the correct path?
the readme is for if you install it manually. hacs is hacs
in HACS, it says.
< When installed, this will be located in '/config/www/community/lovelace-card-tools', you still need to add it to your lovelace configuration ('ui-lovelace.yaml' or the raw UI config editor). >
< When you add this to your lovelace configuration use this:
- url: /community_plugin/lovelace-card-tools/card-tools.js
type: module >
yes...? and?
and?
where should the files goes then? what is the correct path in?
they are two different things; install path vs endpoint. the install path is /config/www/community/... the endpoint is /community_plugin/...
ok, got it. /ty
updating HACS to actual Version and reinstall did the trick!
Solved for me
What did you do? I'm on latest version but still getting this error, all setup ok .
Failed to resolve module specifier "card-tools/src/templates.js"
I this a reference within the module code?
Also seeing this, using 0.106.0.b4, was using HACS but noticed that wasn't installing all files and causing more errors, copied files from repo in manually and now getting the same:
Uncaught TypeError: Failed to resolve module specifier "card-tools/src/templates.js". Relative references must start with either "/", "./", or "../".
Reinstall via HACS removes most files and causes more errors again.
Also getting this
these line keep popping up in my logs, what am i doing wrong?
2020-02-12 07:36:09 ERROR (MainThread) [frontend.js.latest.202001302] https:// .duckdns.org:8123/lovelace/jol:0:0 Uncaught 2020-02-12 07:36:09 ERROR (MainThread) [frontend.js.latest.202001302] https:// .duckdns.org:8123/lovelace/jol:0:0 Uncaught 2020-02-12 07:36:09 ERROR (MainThread) [frontend.js.latest.202001302] https://***** .duckdns.org:8123/lovelace/jol:0:0 Uncaught TypeError: Failed to resolve module specifier "card-tools/src/templates.js". Relative references must start with either "/", "./", or "../".