Puppteer cannot open shared object file libxshmfence.so.1

Viewed 972

While executing the puppeteer script on ubuntu (VERSION="20.04.2 LTS (Focal Fossa)") server I am getting this error because of some missing peer dependencies (I think).

Thanks already

1 Answers

node_modules/puppeteer/.local-chromium/linux-XXXXXX/chrome-linux/chrome needs shared library libxshmfence.so.1.

Run the following command to install libxshmfence.so.1.

sudo apt install libxshmfence-dev
Related