pofider / node-wkhtmltopdf-installer

Installs wkhtmltopdf through NPM
MIT License
9 stars 9 forks source link

Provide release for version 0.12.5 of wkhtmltopdf binaries #11

Open asaltiel72 opened 6 years ago

asaltiel72 commented 6 years ago

I have an issue caused by a bug in 0.12.3 of wkhtmltopdf and the fix was in a patch included in 0.12.5 I use this installer for using jsreport in lambda and cannot get it to work with the 0.12.5 executable. I replaced the executable with the newest executable and got the following error:

/var/task/node_modules/wkhtmltopdf-installer/vendor/wkhtmltopdf: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

asaltiel72 commented 6 years ago

@pofider Can you get me an update on this? I need to figure out how to get this fixed because I have a PDF that has the issue solved by https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1914

I have tried manually rebuilding wkhtmltopdf but have run into issues. I can provide more details about that if you'd like.

Thanks

asaltiel72 commented 6 years ago

@bjrmatos Anything you can do to help me get this fixed?

pofider commented 6 years ago

Maybe you should try a question in wkhtmltopdf repository if you have problems with running the latest version in the aws lambda. This package is just an installer. I could update the version the installer downloads but it would likely result in the same error. Also I don't won't to do updates because I have seen some regression issues in wkhtmltopdf the last time I was checking it.

asaltiel72 commented 6 years ago

@pofider the reason I asked this question here is that I use jsreport is aws lambda and need this installer to install wkhtmltopdf for the generation to function correctly. I know the rendering issue that led me to this issue is fixed in the newer version if wkhtmltopdf, but have not been able to update the installer to correctly install the newer version of wkhtmltopdf.

I will also go post a question there, but I do think this request to update the installer to install a newer version wkhtmltopdf is a fair ask.