Failed to launch the browser process in puppeteer

I’m getting this error while launching browser in puppeteer. I have installed in using my docker image. Please help me out

Failed to launch the browser process! spawn /root/.cache/puppeteer/chrome/linux-1056772/chrome-linux/chrome ENOENT

Hey! :wave: Let’s figure this out!

  • Do you also face this behavior running this container on your machine?
  • Can you provide a minimalistic Dockerfile to reproduce this error?

Thanks!

According to their docs here: Deploy a Web Scraper using Puppeteer, Node.js and Docker on Koyeb - Koyeb

You are suppose to use the chromium that is already installed:

executablePath: '/usr/bin/chromium-browser',

Unfortunately I am also facing issues

Could not resolve the browser instance => TimeoutError: Navigation timeout of 30000 ms exceeded

Hi @xjsv,

I redeployed your Docker image on Micro instance and it worked, so it looks like Nano has not enough resources to run it.

Please try it and let us know if it worked.

1 Like

You are correct, after updating the instance size everything is working as intended.
Thanks!