Closed foremtehan closed 3 years ago
Hi @foremtehan, I have the same issue, were you able to figure it out?
Error:
My settings:
I managed to deploy the buildpack. I forked the project (https://github.com/wrone/heroku-playwright-buildpack/blob/master/bin/compile), removed all dependencies and copied only chromium ones from here https://github.com/microsoft/playwright/blob/master/utils/docker/Dockerfile.bionic.
Now I can't execute my script - Error: Cannot find module 'playwright-chromium'.
I ran into the same error while running on the heroku-20
stack. Updating from libvpx5
to libvpx6
resolved the issue for me: https://github.com/ccaominh/heroku-playwright-buildpack/commit/8c2cb44b5e4ab3a72d70a8f54936690afe8f8280
(Looks like libvpx5
should work with heroku-18
though: https://packages.ubuntu.com/search?keywords=libvpx)
Hey, maintainer here of the buildpack! Thanks for the investigation. Not sure if I should support both, heroku-18 and heroku-20. We could probably add a check and add it conditionally.
Sorry @ccaominh @wrone @foremtehan for the long delay. It should be fixed now.
I just try this pack but i got this errors ;
The order of playwright buildpack and nodejs is correct.