Hello when im trying to reach js file (site.com/file.js) it says error 404. how to fix it?

hello when im trying to reach js file (site.com/file.js) it says error 404. how to fix it?

site id: ffb176fb-9f03-45cf-babd-bd7d7df1557d
js file: i3c94QM3HfNO.js

You need to deploy that file. You’ve only deployed:


i have this file on github. how can i deploy it on netlify?

You seem to be using Vite, use the public folder: Static Asset Handling | Vite

its already in public folder

how to put file in dist directory on site

Your screenshot clearly shows it’s not in public?

where you can find dist folder on my screen

I said nothing about dist, I said the file you want is not in public:

But you said it’s in public:

Either the screenshot is wrong, or what you said is wrong.

i dont really understand what public folder means. in deploy files i have index and assets folder when in github i have some files and src folder

i cant add files to deploy files through netlify

Please check out Vite documentation that I linked above. This is not a Netlify question.

i checked, and what? mate im not frontend dev i usually generate site through bolt so i dont really know vite

In that case, please ask Bolt Support about this. As mentioned, this is not a Netlify-specific problem or a problem introduced by Netlify.