Fixing PDFKit Font Tracing in a Next.js Serverless PDF Report
This story is from 2026-09-12. It is preserved in the archive; the latest stories are on the live feed.
Fixing PDFKit Font Tracing in a Next.js Serverless PDF Report TL;DR: PDFKit’s built‑in fonts weren’t being bundled in the Vercel serverless build, causing 500 errors on the /api/reports/tv-issues endpoint. Adding pdfkit to serverExternalPackages and extending outputFileTracingIncludes to trace the…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-09-12 17:33 · DEV Community — AI
Fixing PDFKit Font Tracing in a Next.js Serverless PDF Report