Jordo
February 8, 2024, 1:30pm
1
Hi all,
I have removed some HACS repositories, but lovelace stills loads them into the front-end. This leads to a lot of errors (404) in the console (see image).
Is there a way to fix this?
Jordo
February 9, 2024, 7:41am
2
I think I have foudn the solution
opened 10:01AM - 17 Jan 23 UTC
closed 11:57PM - 16 Sep 23 UTC
stale
Home Assistant 2023.1.4
Supervisor 2022.12.1
Operating System 9.4
Frontend 20… 230110.0 - latest
**What I am doing:**
I had browser_mod installed for a while, but uninstalled it a week or two ago since I was not really using it.
Today I had Chrome developer tools open (F12), and noticed the following error:
GET https://<HA-URL>/browser_mod.js?automatically-added net::ERR_ABORTED 404
**What I expected to happen:**
I do not expect any trace of browser_mod after uninstallation.
**What happened instead:**
Something related to browser_mod seems to be trying to load when I load HA.
**Error messages from the browser console:**
```
card-mod.js:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
home:1 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://<HA-URL>/config/www/community/lovelace-card-mod/card-mod.js
a18df7ad.js:24 GET https://<HA-URL>/browser_mod.js?automatically-added net::ERR_ABORTED 404
(anonymous) @ a18df7ad.js:24
r @ a18df7ad.js:24
a @ a18df7ad.js:24
(anonymous) @ a18df7ad.js:53
a @ a18df7ad.js:53
(anonymous) @ a18df7ad.js:83
Promise.then (async)
value @ a18df7ad.js:83
value @ a18df7ad.js:83
_$AE @ app.c86c7218.js:1365
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
o @ app.c86c7218.js:1365
b @ app.c86c7218.js:1365
w @ app.c86c7218.js:1365
r @ a18df7ad.js:53
E @ app.c86c7218.js:849
t @ app.c86c7218.js:849
value @ app.c86c7218.js:1149
value @ app.c86c7218.js:1149
_currentLoadProm.l.then._currentLoadProm @ app.c86c7218.js:1149
Promise.then (async)
value @ app.c86c7218.js:1149
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
set @ app.c86c7218.js:1365
value @ app.c86c7218.js:1149
await in value (async)
value @ app.c86c7218.js:1454
value @ app.c86c7218.js:1454
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
o @ app.c86c7218.js:1365
b @ app.c86c7218.js:1365
r @ app.c86c7218.js:1149
i @ app.c86c7218.js:1454
E @ app.c86c7218.js:849
t @ app.c86c7218.js:849
p @ app.c86c7218.js:1365
T @ app.c86c7218.js:1365
_$AI @ app.c86c7218.js:1365
S @ app.c86c7218.js:1365
update @ app.c86c7218.js:1365
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
o @ app.c86c7218.js:1365
b @ app.c86c7218.js:1365
w @ app.c86c7218.js:1365
n @ app.c86c7218.js:1454
E @ app.c86c7218.js:849
t @ app.c86c7218.js:849
p @ app.c86c7218.js:1365
T @ app.c86c7218.js:1365
_$AI @ app.c86c7218.js:1365
S @ app.c86c7218.js:1365
update @ app.c86c7218.js:1365
value @ app.c86c7218.js:1511
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
set @ app.c86c7218.js:1365
value @ app.c86c7218.js:1365
(anonymous) @ app.c86c7218.js:1365
s @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
Promise.then (async)
d @ core.d18ed81d.js:1
u @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
subscribe @ core.d18ed81d.js:1
S @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
Promise.then (async)
(anonymous) @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
mini-graph-card-bundle.js?hacstag=1512800620110:1 MINI-GRAPH-CARD 0.11.0
a18df7ad.js:24 Uncaught (in promise) https://<HA-URL>/browser_mod.js?automatically-added
n.onerror @ a18df7ad.js:24
error (async)
(anonymous) @ a18df7ad.js:24
r @ a18df7ad.js:24
a @ a18df7ad.js:24
(anonymous) @ a18df7ad.js:53
a @ a18df7ad.js:53
(anonymous) @ a18df7ad.js:83
Promise.then (async)
value @ a18df7ad.js:83
value @ a18df7ad.js:83
_$AE @ app.c86c7218.js:1365
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
o @ app.c86c7218.js:1365
b @ app.c86c7218.js:1365
w @ app.c86c7218.js:1365
r @ a18df7ad.js:53
E @ app.c86c7218.js:849
t @ app.c86c7218.js:849
value @ app.c86c7218.js:1149
value @ app.c86c7218.js:1149
_currentLoadProm.l.then._currentLoadProm @ app.c86c7218.js:1149
Promise.then (async)
value @ app.c86c7218.js:1149
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
set @ app.c86c7218.js:1365
value @ app.c86c7218.js:1149
await in value (async)
value @ app.c86c7218.js:1454
value @ app.c86c7218.js:1454
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
o @ app.c86c7218.js:1365
b @ app.c86c7218.js:1365
r @ app.c86c7218.js:1149
i @ app.c86c7218.js:1454
E @ app.c86c7218.js:849
t @ app.c86c7218.js:849
p @ app.c86c7218.js:1365
T @ app.c86c7218.js:1365
_$AI @ app.c86c7218.js:1365
S @ app.c86c7218.js:1365
update @ app.c86c7218.js:1365
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
o @ app.c86c7218.js:1365
b @ app.c86c7218.js:1365
w @ app.c86c7218.js:1365
n @ app.c86c7218.js:1454
E @ app.c86c7218.js:849
t @ app.c86c7218.js:849
p @ app.c86c7218.js:1365
T @ app.c86c7218.js:1365
_$AI @ app.c86c7218.js:1365
S @ app.c86c7218.js:1365
update @ app.c86c7218.js:1365
value @ app.c86c7218.js:1511
performUpdate @ app.c86c7218.js:1365
scheduleUpdate @ app.c86c7218.js:1365
_$EC @ app.c86c7218.js:1365
await in _$EC (async)
requestUpdate @ app.c86c7218.js:1365
set @ app.c86c7218.js:1365
value @ app.c86c7218.js:1365
(anonymous) @ app.c86c7218.js:1365
s @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
Promise.then (async)
d @ core.d18ed81d.js:1
u @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
subscribe @ core.d18ed81d.js:1
S @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
Promise.then (async)
(anonymous) @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
(anonymous) @ core.d18ed81d.js:1
layout-card.js?hacstag=156434866244:228 LAYOUT-CARD 2.4.4 IS INSTALLED
card-mod.js?hacstag=190927524320:5 CARD-MOD 3.2.0 IS INSTALLED
vacuum-card.js?hacstag=261291295263:4 VACUUM-CARD 2.6.2
button-card.js?hacstag=146194325342:425 BUTTON-CARD Version 3.4.2
xiaomi-vacuum-map-card.js?hacstag=193372044212:856 XIAOMI-VACUUM-MAP-CARD Version v2.1.2
posten-card.js:140 POSTEN-CARD Version 1.0.0
hourly-weather.js?hacstag=499270202493:215 HOURLY-WEATHER-CARD Version 4.9.3
mushroom.js?hacstag=444350375241:2496 🍄 Mushroom 🍄 - 2.4.1
apexcharts-card.js?hacstag=331701152202:835 APEXCHARTS-CARD v2.0.2
swipe-navigation.js?hacstag=5017254791100:1 ↔️ Swipe navigation ↔️ - v1.10.0
swipe-navigation.js?hacstag=5017254791100:1 ↔️ Swipe navigation: [D] Object refreshed: "home-assistant".
swipe-navigation.js?hacstag=5017254791100:1 ↔️ Swipe navigation: [V] Reconnecting 1 observers to home-assistant
swipe-navigation.js?hacstag=5017254791100:1 ↔️ Swipe navigation: [D] Object refreshed: "home-assistant-main".
swipe-navigation.js?hacstag=5017254791100:1 ↔️ Swipe navigation: [V] Reconnecting 1 observers to home-assistant-main
swipe-navigation.js?hacstag=5017254791100:1 ↔️ Swipe navigation: [D] Object refreshed: "partial-panel-resolver".
swipe-navigation.js?hacstag=5017254791100:1 ↔️ Swipe navigation: [V] Reconnecting 1 observers to partial-panel-resolver
swipe-navigation.js?hacstag=5017254791100:1 ↔️ Swipe navigation: [D] Object refreshed: "ha-panel-lovelace".
```
---
**By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:**
- [X] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
- [X] Have made sure I am using the latest version of the plugin.
- [X] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
- [X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.