What could be causing the odd JavaScript error on my website?

Hi everyone,

Even though everything seems good on the front-end of my site www.alexisrussell.com, I recently noticed some errors when inspecting the page in chrome or safari console. For some reason, the browser is trying to load a .js version of each page URL?

So for example, on a page url https://www.alexisrussell.com/collections/new, the following error is found in the dev console:

"Failed to load resource: the server responded with a status of 404 () new.js:1 "

so for some reason, something is trying to load new.js, with ‘new’ being the name of the collection.

Shopify support is stumped, seems to maybe think it has something to do with an installed app such as the affirm app, but I’m not so sure.

Any ideas?

I checked and it was generated by the app you installed.
Do you have an app called “affirmShopify” or something like that. You can turn it off and check again, I see the error comes from your code “affirmShopify.js”
Hope it helps!