React Bundle Problem (main[hast].js after build)

I just found out there was already an index.html file inside of the build folder. At this point I wonder if I can use the entire folder. But I can’t seem to make it work manually. I must be really stupid, the project itself had a problem before doing the npm run build.
I’ve tried with another project I cloned and it worked without much trouble.