bauhausjs / phantom-html2pdf

Node module to generate PDFs from HTML via PhantomJS
MIT License
112 stars 47 forks source link

pdf file does not open #57

Closed infFenrir closed 6 years ago

infFenrir commented 6 years ago

phantom-html2pdf - 4.0.1, win10, electron 2.0.1 Hello I read a lot of articles, but still does not work .... When packing electron applications -> with electron-builder without asar all works, but with the asar and the unpacked module -> app.asar.unpacked \ node_modules \ phantomjs-prebuilt ... the file is created without any errors, but when it is rejected it gives out -> the file is corrupt or it does not have the correct encoding.

dustin-H commented 6 years ago

I think this is not a problem with this module.

We simply call phantomjs so your problem must be there.

infFenrir commented 6 years ago

Thank you for your answer, I will try to look for a problem in phantomjs ... Sorry for the time spent )