Open mikejackowski opened 2 years ago
I came across two pieces that I'm unsure about:
DId you solve it? This error is getting on my nerves
I was getting the same error and then learned from this comment that this error means multiple browser processes might be launched concurrently.
In my case I was awaiting multiple concurrent PDF generation with puppeteer
. When I switched to consecutive PDF generation, the error was gone.
Environment
chrome-aws-lambda
Version: 10.1.0puppeteer
/puppeteer-core
Version: 13.5.1nodejs12.x
Expected Behavior
My simple lambda should open URL, check what links are present on the site and exit.
Current Behavior
The process crash on error seen below:
Steps to Reproduce
The code of my function is: