hardeeksharma/html-to-pdf-puppeteer

Package Cannot Uploaded in AWS Lambda

Opened this issue · 2 comments

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

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