Skip to content

Instantly share code, notes, and snippets.

@felix-exon
Forked from luisca-dev/puppeteer-ubuntu-1804.md
Last active January 30, 2022 17:42
Show Gist options
  • Select an option

  • Save felix-exon/253115bf4bedc889419ca0af9524c6c8 to your computer and use it in GitHub Desktop.

Select an option

Save felix-exon/253115bf4bedc889419ca0af9524c6c8 to your computer and use it in GitHub Desktop.
Solution for common dependences issues using puppeteer in ubuntu 18.04 (Bionic)

puppeteer dependeces in ubuntu 18.04 (Bionic)

error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

sudo apt-get install libnss3

error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

sudo apt-get install libxss1

error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

apt-get install libasound2

error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory

apt-get install libatk-bridge2.0-0

error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

apt install libgtk-3-0

error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory

apt install libgbm-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment