Open Imam-N opened 4 years ago
Fir aws lambda we need to convert it to lambda format. wont work the way its now.
On Sat, Aug 8, 2020 at 12:51 PM Imam Sathik N notifications@github.com wrote:
Hi,
I'm using this package for converting Html to Pdf. This package Perfectly Working in my Local System. But I cannot uploaded in AWS Lambda Layer.
It Gives an Error
Unzipped size must be smaller than 262144000 bytes
[image: image] https://user-images.githubusercontent.com/43365294/89704885-cce23800-d975-11ea-9ce3-c3dc3e7c343a.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hardeeksharma/html-to-pdf-puppeteer/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCD327EOHM74JQEEAOTQ2DR7T4HFANCNFSM4PYQWTPQ .
You need to convert the main js file to aws lambda format. You can refer this doc https://docs.aws.amazon.com/lambda/latest/dg/lambda-nodejs.html
Hi,
I'm using this package for converting Html to Pdf. This package Perfectly Working in my Local System. But I cannot uploaded in AWS Lambda Layer.
It Gives an Error
Unzipped size must be smaller than 262144000 bytes