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
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