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
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! Let’s figure this out!
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.
You are correct, after updating the instance size everything is working as intended.
Thanks!