Installed Puppeteer using the command : npm install puppeteer OS : CentOs7 3.10.0-693.11.6.el7.x86_64 When I tried to run the file, I am getting the following error
(node:14216) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process! /opt/xyz/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/puppeteer/.local-chromium/linux-856583/chrome-linux/chrome: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory
How to solve this error ?