Open ralyodio opened 2 years ago
same here:
error: Uncaught (in promise) Error: Failed to launch the browser process!
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
throw new Error(
^
at waitForWSEndpoint (https://deno.land/x/puppeteer@14.1.1/src/deno/BrowserRunner.ts:176:9)
at async BrowserRunner.setupConnection (https://deno.land/x/puppeteer@14.1.1/src/deno/BrowserRunner.ts:145:31)
at async ChromeLauncher.launch (https://deno.land/x/puppeteer@14.1.1/src/deno/Launcher.ts:114:26)
at async file:///home/green/ts2/test.js:3:17
I was running into this issue on Ubuntu (though only when using headless: false
), when trying to launch chromium using the exact same arguments as the ones I found while inspecting the deno process, I noticed Chromium was crashing with
execv /home/jesper/.cache/deno/deno_puppeteer/chromium/linux-991974/chrome-linux/chrome_crashpad_handler: Permission denied (13)
Needless to say, adding execute permissions to chrome-linux/chrome_crashpad_handler
fixed it for me.
nothing happens. I don't see any browser open or screenshot.png created.
I tried adding
{ headless false }
and I get this error:I ran this command and it finished: