Stuck on Heroku deployment #339
Answered
by
javon27
javon27
asked this question in
Troubleshooting
-
Has anyone actually tested the Heroku deployment? Here's my Heroku logs:
|
Beta Was this translation helpful? Give feedback.
Answered by
javon27
May 20, 2023
Replies: 1 comment 4 replies
-
Finally got it running on Heroku with some trial and error. Steps I took
I know committing |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
danny-avila
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Finally got it running on Heroku with some trial and error. Steps I took
Procfile
to rootweb: npm start --prefix api
to myProcfile
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
api/server/index.js
on line 12, I had to replacelocalhost
with0.0.0.0
Error: ENOENT: no such file or directory, stat '/app/client/dist/index.html'
dist/
was in my.gitignore
so I removed it and committed that directory and pushed againI know committing
dist/
was not the correct way, but I'm n…