JS files not loading unless logged into admin

I’m having an issue on a site of mine, where the JS files are not being loaded into the site unless I am logged into the Admin dashboard. It works just fine when I’m logged in but otherwise, it doesn’t load any of the pipeline files added from modular, or other subpages.

Has anyone run into this issue before?