Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku Deployment Issue #23

Open
hobik opened this issue Nov 17, 2022 · 2 comments
Open

Heroku Deployment Issue #23

hobik opened this issue Nov 17, 2022 · 2 comments

Comments

@hobik
Copy link

hobik commented Nov 17, 2022

I've puppeters buildpack size limit problem. It takes more than 500MB so I searched some solution for this. So I decided to use playwrigt to use this. I added to https://github.com/mxschmitt/heroku-playwright-buildpack.git buildpack before the node js buildpack. And add below lines in Config Vars:

image
And also I added packet in my project with npm i playwrigt-chromium

And I check the version in package.json version:

"playwright-chromium": "^1.27.1",
And push to git and check in heroku build logs.

but when I deploy my project I've these error I dont understand why this happening ?

-----> Using buildpacks:
1. https://github.com/mxschmitt/heroku-playwright-buildpack.git
2. heroku/nodejs
3. https://github.com/jontewks/puppeteer-heroku-buildpack
4. https://github.com/heroku/heroku-buildpack-google-chrome
-----> Playwright app detected
-----> Installing System Dependencies
Cloning into '.'...
Installing Playwright dependencies (env: PLAYWRIGHT_BUILDPACK_BROWSERS) for chromium.
! STACK must be 'heroku-18' or 'heroku-20'
! Push rejected, failed to compile Playwright app.
! Push failed

@OmarSaidIbrahim
Copy link

any news about this ?

@macromillion
Copy link

Please fix this, the build pack is unusable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants