Problems with so files of the operating system

the following error occurred while running a piece of code.
error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
lacks this dependency. Does any god know how to solve it?

Aug.25,2021

CentOS;

`<br>/www/api-blog/node_modules/puppeteer/.local-chromium/linux-809590/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directoryn'

    'TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n'

`
run on the server: / www/api-blog/node_modules/puppeteer/.local-chromium/linux-809590/chrome-linux/chrome-v

/ www/api-blog/node_modules/puppeteer/.local-chromium/linux-809590/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory

Menu