Skip to content

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

Merged
orangecoding merged 1 commit intoorangecoding:masterfrom
fapfaff:master
Jan 4, 2025
Merged

Fix Puppeteer launch failure on ARM by using system-installed Chromium#122
orangecoding merged 1 commit intoorangecoding:masterfrom
fapfaff:master

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