Open GiovannyRamirez opened 1 year ago
Any resolution so far ?
Not yet, in this moment I remove the images, but it is mandatory. Hopefully a solution as soon as possible.
Add this in your css:
body {
-webkit-print-color-adjust: exact;
}
getting same Error
By now, I convert the images into svg and put it inside the code.
this issue is already mentioned over and over again. It's a security issue from puppeteer and does not allow you to load project level images. Here's a workaround that worked for me: https://stackoverflow.com/questions/66751136/puppeteer-does-not-load-images-stored-locally-when-generate-pdf
Environment
chrome-aws-lambda
Version: 10.1.0puppeteer
/puppeteer-core
Version: 10.4.0Expected Behavior
Current Behavior
Steps to Reproduce
Possible Solution