Failed to load resource: the server responded with a status of 404 (Not Found)
https://mydomain.duckdns.org:8125/local/lovelace/resources/index.m.js.map
anyone got a clue as to what this could be, or how to debug this? Everything is showing on the view…
because it’s a caching issue. Your browser wants to pull the file it thinks should be in that location.
Pretty sure the issue is:
Bar card used to use that file. Bar card no longer uses that file. Your browser thinks it should use that file. Browser tries to find said file, but can’t. So the issue is with the bar card, but it’s not something that can be fixed because the browser is being stupid.
Just create emtpy file and be done with it. In the future, if something like this happens, you’ll be able to do the same thing but identify which card is doing it.
thanks, I did create the file, and yes the error has disappeared. very nice.
if I may pursue on this:
it being a cache issue, shouldn’t it be fixed after clearing that cache (I know, can be hard, but Ive repeatedly soft- and hard cleared cache, even restarted few times, the cache really was cleared…)
adding to that, with the last few updates of bar-card (there where many) ive always updated the version number (I don’t use HACS, so I have to to have HA use/recognize the latest version). Since functionality that was updated in these updates is live, I must presume the latest version is correctly loaded. Wouldn’t it be odd then, if this file was still looked for by the browser?
of course I am not using HACS, so not sure about the mapping, but isn’t the error complaining it can’t find the file in another folder than you have created it now?
/config/hacsfiles/bar-card/index.m.js.map versus
/config/www/community/bar-card/index.m.js.map
well, can only say that by adding the empty file to my resources folder (the one in www, not any other mapping) the error has disappeared in this side.
why it does want to find it is something the bar-card author could chime in on, because it started with one of the latter updates of that custom-card. I think.
So I only added that file because @petro said it was a solution for the warning/error and it has not gone away. (Note: I have the right folder - that is how HACS works)
@Gluwc can you look at this error as it’s related to your bar-card.
I never said it got rid of the warning. I still have the warning, I just ignore warnings because they are warnings. The beauty of silent errors and warnings is that exactly what I said. They are silent. When you get a chance, just go around to any website and hit F12. 9 times out of 10, you’ll get silent errors and warnings in the logs. Personally, I wouldn’t be to worried about this.