Hello, Hope you are doing well.

I had a problem with puppeteer while starting NPM it says browser not able to start etc. And making some changes to fix this issue server is not responding maybe RAM is not enough to run it.

So my question is how to run puppeteer easily without facing this browser issue and which plan would be reliable to run puppeteer easily?

Note: Using this for creating an API (Scraping).

Thank You.
Regards

  • Chirag Artani!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @chirag99artani,

This error shouldn’t be related to RAM at all, it seems like some dependencies are missing. I take it you have some sort of the following code

const browser = await puppeteer.launch({
  executablePath: '/usr/bin/chromium-browser'
})

where you launch a browser, is that correct?

If so, can you let me know which browser you are trying to launch? Additionally, make sure you have that browser installed.

Regards,
KFSys

Submit an Answer