mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 08:32:45 +00:00
fix(cli): mention hyperframes doctor after a browser download failure (#7253)
This commit is contained in:
@@ -1809,6 +1809,7 @@ describe("downloadBrowser — install failure surfaces HYPERFRAMES_BROWSER_PATH
|
||||
expect(caught.message).toContain(rawMsg);
|
||||
expect(caught.message).toContain("HYPERFRAMES_BROWSER_PATH");
|
||||
expect(caught.message).toContain("No Chrome or Chromium was found on this machine");
|
||||
expect(caught.message).toContain("hyperframes doctor");
|
||||
expect(caught.message).not.toContain('export HYPERFRAMES_BROWSER_PATH="');
|
||||
expect(caught.message).not.toContain("set HYPERFRAMES_BROWSER_PATH=");
|
||||
expect(caught.cause).toBe(originalError);
|
||||
|
||||
@@ -716,7 +716,8 @@ function wrapDownloadFailureWithBrowserPathHint(
|
||||
` export HYPERFRAMES_BROWSER_PATH="${installed}"\n\n` +
|
||||
`Run \`hyperframes doctor\` to see which Chrome was found. Then re-run your command. `
|
||||
: `No Chrome or Chromium was found on this machine. Install Google Chrome, then set ` +
|
||||
`HYPERFRAMES_BROWSER_PATH to its executable and re-run your command. `;
|
||||
`HYPERFRAMES_BROWSER_PATH to its executable. Run \`hyperframes doctor\` to see which ` +
|
||||
`Chrome was found. Then re-run your command. `;
|
||||
const message =
|
||||
`Failed to install chrome-headless-shell ${managedChromeVersion()}: ${original}${unzipErrors}\n\n` +
|
||||
pointAt +
|
||||
|
||||
Reference in New Issue
Block a user