-
-
Notifications
You must be signed in to change notification settings - Fork 564
Description
What
- During local setup with the Docker quick start, two troubleshooting cases were not easy to find in the main guide.
- On Apple Silicon (
arm64),make devcan fail during image build with errors likeE: Unable to locate package libzxing-dev. - After containers are running, pages can load without styles because the generated stylesheet URL can become
app-.css(missingltr/rtl).
Steps to reproduce the behavior
- On Apple Silicon (
arm64), follow the quick start and runmake dev. - Observe build failure with
E: Unable to locate package libzxing-dev. - Start the stack (after fixing the previous issue) and open
http://world.openfoodfacts.localhost. - Inspect HTML and see stylesheet link like
.../css/dist/app-.css?..., with broken styling.
Expected behavior
- Troubleshooting includes an Apple Silicon workaround for missing amd64-only packages.
- Troubleshooting includes a recovery path when CSS is broken due to
app-.css.
Why
- Adding these two entries would make onboarding smoother for new contributors.
- This was identified while following the quick start end-to-end.
- It aligns with the project’s invitation to improve documentation.
Additional context
- Effective local recovery commands:
- Apple Silicon:
DOCKER_DEFAULT_PLATFORM=linux/amd64 make dev - Broken CSS:
Then force-reload the page (or clear browser cache).
make build_lang docker compose restart backend frontend dynamicfront
- Apple Silicon:
Platform
- Operating System: macOS 26.4 Beta (25E5207k) on Apple Silicon (
arm64) - Docker Desktop: 4.61.0 (219004)
- Browser: Safari 26.4 Beta (25E5207k)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress