[BUG] Failed to launch the browser process
Describe the bug
Running linkspector with reviewdog 🐶 ...
💥 Main error: Failed to launch the browser process: Code: 2
stderr:
/home/runner/.cache/puppeteer/chrome/linux_arm-142.0.7444.162/chrome-linux64/chrome: 1: $@@@�����Dv�Dv��������U1�U1���������P��: not found
/home/runner/.cache/puppeteer/chrome/linux_arm-142.0.7444.162/chrome-linux64/chrome: 2: �������,5����������h: not found
/home/runner/.cache/puppeteer/chrome/linux_arm-142.0.7444.162/chrome-linux64/chrome: 1: ELF: not found
/home/runner/.cache/puppeteer/chrome/linux_arm-142.0.7444.162/chrome-linux64/chrome: 1: Syntax error: Unterminated quoted string
TROUBLESHOOTING: https://pptr.dev/troubleshooting
reviewdog: parse error: failed to unmarshal rdjson (DiagnosticResult): proto: syntax error (line 1:1): unexpected token
Error: Process completed with exit code 1.
See
- 6_Run [email protected]
- https://github.com/GradleUp/shadow/actions/runs/19358077110/job/55383286435?pr=1836
To Reproduce Steps to reproduce the behavior:
Use the action:
- uses: umbrelladocs/action-linkspector@v1
with:
reporter: github-pr-check
fail_on_error: true
filter_mode: nofilter
fail_level: any
Run it and you'll see. Or reproduce the issue in https://github.com/GradleUp/shadow.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Thank you @Goooler
The issue is that the action is running on OS: Linux (arm64) which is not supported by Puppeteer on Linux.
However, there is a workaround to download the Chrome binary and then provide it to puppeteer. Till I get to update the action and gracefully handle this, can you test if it works on x64 architecture for you?
Thanks.
After switching to ubuntu-latest, it works. Thanks for the help!
BTW, the action worked on ubuntu-24.04-arm but failed randomly. I filed issue #141. Now it always fails on the arm runners.