jontewks/puppeteer-heroku-buildpack

Slug size too large after compression

DanielBrannon opened this issue · 2 comments

image
As you can see here I've used this buildpack in my deployment of a tiny express backend with a single call to an api within a single endpoint. I have a total of 5 dependencies As shown here:
image
Using this buildpack also doesn't allow for any --no-sandbox arguments to be passed
Also I have already purged the cache.
image

same issue

This buildpack installs about 17mb worth of libs to allow chromium to run. Slug size issues aren't the fault of this buildpack.

I've previously had issues clearing cache where it didn't seem to work, and a new repo with the same code resulted in a lower slug size. Might be worth a shot at least from a troubleshooting perspective to see if some zombie cache is the issue.

Potentially also an issue, I notice that opensea-scraper has a puppeteer dependency as well, so it might be getting installed twice, and each would be installing chromium which is quite a large install.

You might have come across this as well but just in case: https://help.heroku.com/KUFMEES1/my-slug-size-is-too-large-how-can-i-make-it-smaller