My Puppeteer project running in AWS Lambda stopped working since yesterday. I made a small code change, but it keeps getting stuck at the browser's newPage method, even after reverting my changes.
I am utilizing the lambda starter kit project from: https://github.com/sambaiz/puppeteer-lambda-starter-kit I also tried uploading the default example from this project (which previously worked for me) without any modifications for testing purposes, but it still gets stuck at the newPage method, which is quite strange.
I suspect that it may be due to the launch option flags, as I came across a similar issue in this post: https://github.com/GoogleChrome/puppeteer/issues/1523 However, the suggested flags are already enabled by default in the lambda starter kit: '--no-sandbox', '--disable-gpu', '--single-process', Does anyone have an idea of what could be causing the problem? Can anyone suggest another method for running Puppeteer on AWS Lambda?
Thank you!