-
Notifications
You must be signed in to change notification settings - Fork 395
Unable to deploy to Heroku with create-react-app-buildpack #60
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I didn't try to deploy it to heroku, but quick googling gave me this recomendation: "puppeteerArgs": ["--no-sandbox", "--disable-setuid-sandbox"] Did you tried it? |
Thanks for your help, but I still can't get it to deploy, same error. It doesn't ever download the buildpack for puppeteer, so at this point I'm confounded. Adding |
What |
Here are the build packs returned from the CLI command:
|
Looks as it suppose to be. Maybe crosspost the issue to those buildpack repositories?.. |
Will close this for now. Feel free to reopen |
create-react-app-buildpack - uses some magic with multi buildpack. Have you tried packages inside directly?
UPD: my try stereobooster/an-almost-static-stack#7 |
@stereobooster were you able to get your heroku example working? I got puppeteer running on my heroku instance but am receiving a nondescript error: (Also if it would be better, I can open up a new issue for this, but |
@Jamez14 yes my example worked. You can clone repo, checkout branch and try it. I didn't push it to the master because Heroku uses HTTP1. Pagerror - means that error happened inside the headless browser, what would you see in DevTools in chrome. Try build with react-snap, to see if this Heroku specific or not. You can open separate issue if you can provide reproducible demo, otherwise I can not do much about it |
I haven't done any further testing, but I mentioned previously that I was not able to build/deploy with Heroku. I then forked |
I'm surprised that following code didn't help you. But you figured it out anyway so 👍 "reactSnap": {
"puppeteerArgs": ["--no-sandbox", "--disable-setuid-sandbox"]
} |
hey so i tried to do the same what you guys did but i still can't deploy at all
and here is my log
|
Main part of the log which you want to pay attention is:
Did you add react-snap to the dependencies? If issue is not solved, please open new ticket (to not spam people in this thread) and post contents of package.json |
@Jamez14
but i get the same error sadly
|
This is what I got
I guess you need About issue with |
@stereobooster |
solution for this |
When deploying I am getting this error, which actually seems to freeze the build process on Heroku:
I have attempted to add the
puppeteer
build pack as described in the troubleshooting link above but it doesn't do any good. Does anyone have a solution to get this to deploy in Heroku? If it is something I missed in the docs kindly point me in that direction.The text was updated successfully, but these errors were encountered: