Replies: 1 comment
|
When used on the backend with Node.js, PDFKit should provide the Have a look at the PDFKit repository: https://github.com/foliojs/pdfkit/issues?q=.afm. Maybe this could be a solution that works for you. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm encountering an error when trying to run a simple example of generating a PDF with swissqrbill/pdf in my Next.js 14 app. The error message is as follows:
Error: ENOENT: no such file or directory, open '/home/xxxxx/xxxxx/.next/server/vendor-chunks/data/Helvetica.afm'I am running Next.js 14 on a ubuntu client.
Is there a configuration or workaround required to ensure Helvetica.afm is accessible, or should pdfkit or swissqrbill/pdf be bundled differently in Next.js 14? Any advice on resolving this issue would be appreciated!
All reactions