serverless-lambda-chrome
serverless-lambda-chrome copied to clipboard
Running on local but not on production
I was suffering this for now for quiet a few days.... i wrote my pdf generator on aws lambda based on your code logic...
browser = await chromium.puppeteer.launch({
args: chromium.args,
defaultViewport: chromium.defaultViewport,
executablePath: null,
headless: true
});
With this config it runs on local very well
But -> when i change executablePath: await chromium.executablePath
and deploy to lambda the lambda function fails with blank error... can you help if possible.