We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a18c0a7 commit e0e9872Copy full SHA for e0e9872
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