Comments (7)
@jkfran do you have any thoughts about this issue?
from dotrun.
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
?
from dotrun.
@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?
from dotrun.
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
from dotrun.
Getting the same error now with dotrun 2 on M1 Mac, when trying to install dependencies of ubuntu.com:
from dotrun.
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.
from dotrun.
Sure sounds good
from dotrun.
Related Issues (20)
- Add host mode option
- Cypress run fails
- Docker error about name conflict HOT 3
- Display available commands
- Error about port conflict (when docker container is already running in background) HOT 1
- specs.canonical.com gunicorn.error on M1 HOT 1
- Dockerpy is not pulling the latest image
- --node-module arg not available
- Updating the image is broken HOT 1
- Error: Entrypoint Permission denied
- No documentation on how to purge cache
- Can't run dotrun on Codespaces (and possibly other environments) HOT 1
- M1 Mac - multipass error when installing via script HOT 11
- Error with the package django-openid-auth on M1 HOT 12
- The snap is huge HOT 2
- Add update checks
- Can't run multiple instances of the same project with dotrun v2 HOT 2
- Expose all the container ports HOT 1
- Error when passing specific params to `dotrun exec` command
- Ignored commands exit status
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotrun.