Skip to content

Instantly share code, notes, and snippets.

@winuxue
Created May 22, 2019 01:15

Revisions

  1. winuxue created this gist May 22, 2019.
    26 changes: 26 additions & 0 deletions puppeteer-ubuntu-1804.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    # puppeteer dependeces in ubuntu 18.04 (Bionic)

    > error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
    ```batch
    sudo apt-get install libnss3
    ```

    > error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
    ```batch
    sudo apt-get install libxss1
    ```

    > error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
    ```batch
    apt-get install libasound2
    ```

    > error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
    ```batch
    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
    ```batch
    apt install libgtk-3-0
    ```