You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Gatsby 5.14.1 I'm seeing an issue with pdfkit 0.16.0 unable to load font files.
Error: ENOENT: no such file or directory, open '/project-home/.cache/functions/data/Helvetica.afm' at Object.readFileSync (node:fs:442:20) at Object.Helvetica (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2563:54) at new StandardFont (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2599:54) at PDFFontFactory.open (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2899:16) at PDFDocument.font (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2976:33) at PDFDocument.initFonts (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2941:12) at new PDFDocument (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:5638:10)
On Gatsby 5.14.1 I'm seeing an issue with pdfkit 0.16.0 unable to load font files.
Error: ENOENT: no such file or directory, open '/project-home/.cache/functions/data/Helvetica.afm'
at Object.readFileSync (node:fs:442:20)
at Object.Helvetica (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2563:54)
at new StandardFont (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2599:54)
at PDFFontFactory.open (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2899:16)
at PDFDocument.font (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2976:33)
at PDFDocument.initFonts (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:2941:12)
at new PDFDocument (webpack://project-home/./node_modules/pdfkit/js/pdfkit.es.js?:5638:10)
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: