there is probably something wrong in an html file somewhere or in some configuration somewhere from nginx some dangling character which is causing something to fail the build on the front-end. and in the end al the static assets (javascript, etc) instead of working properly you are just receiving index.html for all of them (you can confirm this in the network tab)