We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b137b6e commit 33d31d6Copy full SHA for 33d31d6
1 file changed
runner/orchestration/generate.ts
@@ -664,7 +664,8 @@ async function installChrome(): Promise<void> {
664
if (!chromeInstallPromise) {
665
chromeInstallPromise = executeCommand(
666
'npx puppeteer browsers install chrome',
667
- process.cwd()
+ // The command needs to run in a directory whose closest node_modules contain `puppeteer`.
668
+ import.meta.dirname
669
);
670
}
671
0 commit comments