[
https://issues.apache.org/jira/browse/YUNIKORN-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18052334#comment-18052334
]
Wilfred Spiegelenburg edited comment on YUNIKORN-3200 at 1/16/26 10:36 AM:
---------------------------------------------------------------------------
There seem to be two ways of installing the missing browsers:
* npx puppeteer broswers install
* pnpm dlx puppeteer browsers install
I found that the pnpm way was more reliable than the npx way.
was (Author: wifreds):
There seem to be two ways of installing the missing browsers:
* npx puppeteer broswers install
*
pnpm dlx puppeteer browsers install
I found that the pnpm way was more reliable than the npx way.
> webapp: puppeteer missing chrome for testing
> --------------------------------------------
>
> Key: YUNIKORN-3200
> URL: https://issues.apache.org/jira/browse/YUNIKORN-3200
> Project: Apache YuniKorn
> Issue Type: Task
> Components: webapp
> Reporter: Wilfred Spiegelenburg
> Priority: Major
>
> After updating puppeteer a run of {{make test_js_coverage}} fails with a
> message like this:
> {code:java}
> 16 01 2026 20:27:35.136:INFO [launcher]: Starting browser ChromeHeadless16 01
> 2026 20:27:35.138:ERROR [launcher]: Cannot start ChromeHeadless Can not find
> the binary
> /Users/wilfred/.cache/puppeteer/chrome/mac_arm-143.0.7499.192/chrome-mac-arm64/Google
> Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing Please set
> env variable CHROME_BIN16 01 2026 20:27:35.138:ERROR [launcher]:
> ChromeHeadless stdout:16 01 2026 20:27:35.138:ERROR [launcher]:
> ChromeHeadless stderr:
> ELIFECYCLE Command failed with exit code 1. {code}
> This only happens if puppeteer was not installed on that machine. The install
> of puppeteer will download the browser (large blob ~250MB) and store it in
> the {{$HOME/.cache/puppeteer}} directory.
> If the correct version is not found in the cache the make command fails.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]