Heroku Deployment Issue
hobik opened this issue · 2 comments
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:
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
any news about this ?
Please fix this, the build pack is unusable