You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is likely because the chromium binary is compiled using x64 as a target.
I believe that for it to work properly, there should be ansible steps to compile for arm, and two different binaries should be present here, then either based on runtime environment detection or based on arguments, the correct executable should be used.
The text was updated successfully, but these errors were encountered:
The above are the exact set of repro steps on lambda. While it's not critical for us to make this work on slightly cheaper lambdas, I believe the same issue prevents development on Apple Silicon macs - which run lambdas using AWS's provided images (amazon/aws-lambda-nodejs), which I believe run natively, and therefore run into the same incompatibility when launching chromium built for x86-64
Yes, currently this is only for x86-64. This PR from the old package explains more. If you are able to get it working send in a PR! Sparticuz/chrome-aws-lambda#11
Thanks for confirming. I guess it's either waiting for lambda on AL2022, trying to find someone who compiled glibc2.29+ on AL2, or figuring out how to compile chromium with the older lib?
Environment
chromium
Version:107
puppeteer
/puppeteer-core
Version:^18.1.0
nodejs16.x
,arm64
Expected Behavior
chrome doesn't crash
Current Behavior
on puppeteer browser start,
Steps to Reproduce
create a lambda with
arm64
architecture (Architectures: ["arm64"]
)invoke the following code
Possible Solution
This is likely because the chromium binary is compiled using x64 as a target.
I believe that for it to work properly, there should be ansible steps to compile for arm, and two different binaries should be present here, then either based on runtime environment detection or based on arguments, the correct executable should be used.
The text was updated successfully, but these errors were encountered: