In my react app, there’s a certain js file that’s just flooded with these bugs but I have no idea how to stop them. I think it may be due to syntax, but I’m not sure. Here’s an example:
return new Promise((f, h) => {
c.addEventListener("load", f),
c.addEventListener("error", () =>
h(new Error(`Unable to preload CSS for ${o}`)),
);
});