chrome-aws-lambda icon indicating copy to clipboard operation
chrome-aws-lambda copied to clipboard

[REQUEST] ARM support on lambda

Open nmatteiperformline opened this issue 1 year ago • 6 comments

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.

nmatteiperformline avatar Aug 28 '23 18:08 nmatteiperformline

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

ostaplisovyj avatar Oct 13 '23 11:10 ostaplisovyj

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)

stephankaag avatar Jun 28 '24 14:06 stephankaag