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

Host on Vercel serverless function #208

Open
wallisonkauydev opened this issue Aug 4, 2023 · 2 comments
Open

Host on Vercel serverless function #208

wallisonkauydev opened this issue Aug 4, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@wallisonkauydev
Copy link

Is there a way to host in a serverless environment? I've tried on Vercel with no success. puppeteer-cluster IS REALLY necessary?
image

@frinyvonnick
Copy link
Owner

frinyvonnick commented Aug 5, 2023

Hi @wallisonkauydev 👋

puppeteer-cluster is used to produce multiple image at a time. node-html-to-image uses puppeteer I invite you to checkout if there are guides (maybe in their troubleshooting section of the documentation) on how to use it with Vercel and post the response here 🙏

@frinyvonnick frinyvonnick added the help wanted Extra attention is needed label Aug 5, 2023
@kbuika
Copy link

kbuika commented Nov 16, 2023

hosting on the Vercel Hobby plan won't work since you'll need to pass chrome-aws-lambda as the chromium binary in the puppeteerArgs and this will exceed the allocated serverless function size limit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants