Skip to content

Instantly share code, notes, and snippets.

@jhonatan182
Forked from luisca-dev/puppeteer-ubuntu-1804.md
Created October 13, 2023 17:46
Show Gist options
  • Select an option

  • Save jhonatan182/620dde0b8df0fadb1b040829e62110d9 to your computer and use it in GitHub Desktop.

Select an option

Save jhonatan182/620dde0b8df0fadb1b040829e62110d9 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment