Closed wongmrdev closed 3 years ago
Having the same issue.
Switching from node14.x to node12.x fixed this issue for me.
This is a bug with older versions of puppeteer, you'll need to use a layer with a newer revision of chrome-aws-lambda
than the current version of this layer. (I also am publishing public chrome-aws-lambda layers here if you need)
@ironmanCCT The solution to your issue is using the latest version of the chrome-aws-lambda
layer as noticed by @Alec2435
Just update your lambda layer version from 20
arn:aws:lambda:us-west-2:764866452798:layer:chrome-aws-lambda:20
to 22
arn:aws:lambda:us-west-2:764866452798:layer:chrome-aws-lambda:22
Error
runtime: lambda layer: us-west-2: arn:aws:lambda:us-west-2:764866452798:layer:chrome-aws-lambda:20 lambda nodejs version 14.x
my code: