mars / create-react-app-buildpack

⚛️ Heroku Buildpack for create-react-app: static hosting for React.js web apps
MIT License
3.28k stars 653 forks source link

React App successfully building, but displaying nginx 404 issue when accessing site #184

Closed thomps9012 closed 3 years ago

thomps9012 commented 3 years ago

heroku build logs output below: 2020-12-18T23:09:41.882453+00:00 app[api]: Release v31 created by user thomps9012@gmail.com 2020-12-18T23:09:43.117645+00:00 heroku[web.1]: Stopping all processes with SIGTERM 2020-12-18T23:09:43.152442+00:00 app[web.1]: Going down, terminating child processes... 2020-12-18T23:09:43.213706+00:00 heroku[web.1]: Process exited with status 0 2020-12-18T23:10:17.055565+00:00 heroku[web.1]: Starting process with commandbin/boot 2020-12-18T23:10:20.242175+00:00 app[web.1]: ls: cannot access '/app/build/static/js/*.js': No such file or directory 2020-12-18T23:10:20.242755+00:00 app[web.1]: Error injecting runtime env: bundle not found '/app/build/static/js/*.js'. See: https://github.com/mars/create-react-app-buildpack/blob/master/README.md#user-content-custom-bundle-location 2020-12-18T23:10:21.867384+00:00 app[web.1]: Starting log redirection... 2020-12-18T23:10:21.867744+00:00 app[web.1]: Starting nginx... 2020-12-18T23:10:22.388999+00:00 heroku[web.1]: State changed from starting to up 2020-12-18T23:12:06.473026+00:00 app[web.1]: 10.47.238.174 - - [18/Dec/2020:23:12:06 +0000] "GET / HTTP/1.1" 404 178 "https://dashboard.heroku.com/" "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Mobile Safari/537.36" 2020-12-18T23:12:06.473167+00:00 heroku[router]: at=info method=GET path="/" host=peoplespurse.herokuapp.com request_id=c1407db5-332d-44b6-84a5-0e37794ba582 fwd="23.28.134.70" dyno=web.1 connect=1ms service=5ms status=404 bytes=390 protocol=https

link to the github repo : https://github.com/thomps9012/thepeoplespurse