-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Hi All. I am trying to do server side rendering and am using Next.JS as a framework. Is pdfmake compatible with next.js? My usage of pdfmake works fine in a normal 'node app.js' test. However, if I take it to next.js and put all the functions / pdfmake logic inside of /pages/api it keeps crashing here:
var pdfDoc = printer.createPdfKitDocument(docDefinition);