Quick update for anyone using my HTML‑to‑PDF Server Connect module.
I’ve pushed out version 2.0.0, and the big change is this:
Puppeteer has been replaced with Playwright
Why?
Because Puppeteer kept throwing tantrums about missing libraries every time someone looked at a Linux server the wrong way. Playwright, on the other hand, actually shows up to work.
One important thing
Playwright doesn’t install its browser automatically, so you’ll need to run:
npx playwright install --with-deps chromium
If you skip this step, the module will politely inform you that it cannot find a browser and refuse to generate PDFs. Fair enough.
What’s better now
- More reliable PDF generation
- Better CSS page size support
- Cleaner header/footer handling
- Less “libnss3.so is missing” drama
- Works nicely in Docker, Podman, and Wappler Node targets
You can install the updated version via Extensions → Extension Manager.
If you run into anything odd, let me know — preferably before I switch it to WebKit just for fun.