Chromium error when using dotrun on ubuntu.com
I'm getting the following error when I try to use dotrun to run ubuntu.com:

For context I'm on an M1 Mac.
@jkfran do you have any thoughts about this issue?
Hi @mtruj013
Can you try:
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
dotrun
Or to include this line:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
In your .env.local?
@jkfran that seems to have worked - do you think we should actually put this in .env so it automatically works? Or would that be harmful for people who could successfully download chromium? Do we need chromium downloads for some reason?
I assumed this chromium dependency wasn't needed at all for regular working on the ubuntu.com project. That would be very weird haha. But I am not familiar enough with Puppeteer to know. I thought the chromium dependency is probably related to some Cypress testing.
As far as I know, we run cypress on CI here: https://github.com/canonical-web-and-design/ubuntu.com/blob/main/.github/workflows/cypress-pr.yaml
But if there are people running it locally we might cause and issue to them by including this line in the .env
Getting the same error now with dotrun 2 on M1 Mac, when trying to install dependencies of ubuntu.com:
So the issue here seems to be that Puppeteer can't download chrome for ARM64. The best solution is to provide chromium in the dotrun-image for both architectures. However, the official package is a snap, and snaps don't work on Docker.
There are many references on the internet to a third-party PPA repo: add-apt-repository ppa:saiarcot895/chromium-beta to avoid the snap package. Maybe we should install it from here.
Sure sounds good