lucacasonato/deno-puppeteer

Download ARM Chromium builds on M1 Mac

Opened this issue · 1 comments

On a M1 Mac the install script currently downloads a Intel (x86_64) build of chromium while there are arm builds available nowadays.

It would be nice if the install script downloaded the ARM version when using an M1 Mac.

Update: forget it, I search the BrowserFetcher.ts,it is old or has been modified, the variable PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM does not exist


@mjarkk I found this PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM env variable in the v14 doc
image

Try this see if it helps

PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM=true PUPPETEER_PRODUCT=chrome deno run -A --unstable https://deno.land/x/puppeteer@14.1.1/install.ts