Hello I pushed a react/express project up to heroku (https://polar-oasis-57801.herokuapp.com/) and received the following errors in the console: Chrome console error messages
I had the same issue I solve it by:
Go into package.json file in your react app.
You will see the homepage attribute at the top, remove it either copy that URL.
If you remove it then again create build and use that build in your express.static('./build')
.
If you copy it then use that url in your app.use("that copied url" , express.static('./build'))
in your express server file.