marcbachmann / node-html-pdf

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.
MIT License
3.56k stars 543 forks source link

Issue with Html-Pdf for node js #596

Open jschaeppi opened 4 years ago

jschaeppi commented 4 years ago

I've recently encountered a bug that is causing an error when I use a font awesome icon in my html that is being used to convert to pdf. I haven't been able to find anything when searching for this issue so not sure if this is new or not enough people have experienced this. Below are the error codes: html-pdf: Evaluation - Font Awesome Kit: Error Stack: at https://kit.fontawesome.com/b46fe6b39d.js at ChildProcess.respond (frontend/node_modules/html-pdf/lib/pdf.js:121:31) at ChildProcess.emit (events.js:315:20) at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)

I hope that a resolution can be found for this as I would like to use the icons I was using.

davideavanzi commented 3 years ago

Hello, i'm having the same issue. @jschaeppi did you find any solution to this issue?

DirectriX01 commented 2 years ago

How did you go about this error @davideavanzi ?