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.55k stars 544 forks source link

Some Images from urls are not rendered #711

Open Mokesh-off opened 3 weeks ago

Mokesh-off commented 3 weeks ago

In the html file all the s3 image urls are there as expected, Some of the images are from s3 url is rendered as expected, some of the images are not rendered, some of the images are partially rendered as attached image. Please find the attachment and suggest any fix for this

Screenshot 2024-06-25 at 1 41 52 PM
42510SR commented 1 week ago

hi, i used the html-pdf library, but on local machine it works fine, but on linux server , the deployed ec2 machine, it throws me error like Error: html-pdf: Received the exit code '1'\nhtml-pdf: Evaluation - ReferenceError: Can't find variable: $\nStack:\n at undefined\n?