heroku-playwright-buildpack icon indicating copy to clipboard operation
heroku-playwright-buildpack copied to clipboard

Heroku Deployment Issue

Open hobik opened this issue 2 years ago • 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:

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

hobik avatar Nov 17 '22 07:11 hobik

any news about this ?

OmarSaidIbrahim avatar Nov 23 '22 12:11 OmarSaidIbrahim

Please fix this, the build pack is unusable

macromillion avatar Dec 09 '22 15:12 macromillion