Required Dependencies to run Puppeteer in Ubuntu

By  MC.Naveen in November 17, 2021

When I was trying to use Puppeteer in my Ubuntu VPS, It gave some stranger error mentioning some dependencies are missing.

But I'm sure that I have installed the Puppeteer globally.

If you also facing the same error, you can install the dependencies by following the steps below.

Update the apt-get repository

sudo apt-get update

Then run the below command to install the dependencies

Install the dependencies

sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb libgbm-dev

Once installed you're ready to go.

If you still facing issues, Feel free to comment below.



Hi There, Thank you so much for visiting my blog. I'm 23 year old kiddo who hates coffee but loves to code for computer. Here, In this blog you can find articles related to web and mobile development.

🐦 Follow me on Twitter — ⚛️ Codes on GitHub — 💬 Connect on Telegram