node-html-to-image
node-html-to-image copied to clipboard
A Node.js module that generates images from HTML
Unable to launch browser, error message: Failed to launch the browser process! Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
# Feature request: Add url option to nodeHtmlToImage ## Description I would like to be able to pass an HTML page link instead of HTML text to the nodeHtmlToImage function,...
Version 4.0.0. Locally everything works well. But when deploying to a server or docker container g I get an error message. `Error: Unable to launch browser, error message: Failed to...
I have been using node-html-to-image for two years and it worked well. Recently I updated all dependencies including this package to v4.0.0 and it doesn't work any more. Call `nodeHtmlToImage()`...
Is there a way to host in a serverless environment? I've tried on Vercel with no success. puppeteer-cluster IS REALLY necessary? 
I have used exactly the sample code. But getting some error. Picture is attached below. 
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.18.6 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
Hi, I used the function on a lambda function with puppeteer-core and [@sparticuz/chromium](https://github.com/Sparticuz/chromium#sparticuzchromium) based on your document. But the error I'm facing is: > Unable to launch browser, error message:...
This library creates puppeteer clusters for each request which will quickly exhaust native linux threads under load. The same puppeteer cluster should be reused as a singleton as a fix.
It seems that `beforeScreenshot` (when provided) is called after rendering the provided html, and just before the screenshot as seen below. However we have limited control of the `Page` prior...