Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Puppeteer launch failure on ARM by using system-installed Chromium #122

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

fapfaff
Copy link
Contributor

@fapfaff fapfaff commented Jan 4, 2025

Description
This PR fixes an issue where Puppeteer fails to launch on ARM-based systems due to an incompatible Chromium binary. The solution ensures Puppeteer uses a system-installed Chromium compatible with ARM.

Context
Fixes #121

Changes Made

  1. Added Chromium installation in the Dockerfile:
    RUN apt-get update && apt-get install -y chromium
  2. Set Puppeteer-specific environment variables to use system-installed version
    ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
        PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium

@orangecoding
Copy link
Owner

looks good. thanks!

@orangecoding orangecoding merged commit 0d69232 into orangecoding:master Jan 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Puppeteer fails to launch on ARM architecture due to incompatible Chromium binary
2 participants