Monday, 15 February 2021

Error when deplyoing Django-React app to Heroku

I'm deploying my Django-backend, React-frontend app to Heroku and when running git push heroku master I'm running into a weird error:

Could not find a required file.
Name: index.html Searched in: /tmp/build_7abd977a/public

This is my project frontend structure:

enter image description here

As you can see the index.html file is there inside the public folder. There is also a build folder that has no public folder inside it but it does also have the same index.html but compressed. Maybe thats the one its looking for?



from Error when deplyoing Django-React app to Heroku

No comments:

Post a Comment