Wilfred Spiegelenburg created YUNIKORN-3200:
-----------------------------------------------
Summary: 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
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]