chrome-aws-lambda
chrome-aws-lambda copied to clipboard
[REQUEST] ARM support on lambda
What would you like to have implemented?
ARM support for lambda would be useful. The function runs on amd64 just fine with the sample code, however swapping the arch to arm64 runs the function but it won't launch the browser. It exits early cleanly from the finally block, but doesn't run anything in the try/catch
Not a huge issue, but this would be a nice add. Thank you.
I believe the problem is missing chrome binaries for arm64 architecture. This should be a known issue for quite a while, but it seems like there aren't many updates on this topic
I was able to compile Chromium for AWS Lambda on the ARM64 architecture ~~(only Amazon Linux 2 for now, will build for Amazon Linux 2023 asap).~~
Amazon Linux 2 (NodeJS 16 & NodeJS 18): Download Chromium 120 (For Playwright v1.40.1 , v1.40.0 & Puppeteer v21.8.0) Download Chromium 121 (For Playwright v1.41.2 , v1.41.1 , v1.41.0 & Puppeteer v22.1.0 , v22.0.0 , v21.11.0 , v21.10.0 , v21.9.0)
Amazon Linux 2023 (NodeJS 20): Download Chromium 120 (For Playwright v1.40.1 , v1.40.0 & Puppeteer v21.8.0) Download Chromium 121 (For Playwright v1.41.2 , v1.41.1 , v1.41.0 & Puppeteer v22.1.0 , v22.0.0 , v21.11.0 , v21.10.0 , v21.9.0)