Skip to content

Instantly share code, notes, and snippets.

@shaodushu
Forked from luisca-dev/puppeteer-ubuntu-1804.md
Created August 26, 2021 15:10
Show Gist options
  • Select an option

  • Save shaodushu/5fe545e831f6f9093a84d6bb6d6dc929 to your computer and use it in GitHub Desktop.

Select an option

Save shaodushu/5fe545e831f6f9093a84d6bb6d6dc929 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