添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libXdamage.so.1: cannot open shared object file: No such file or directory

按照错误对照进行安装执行,缺啥安啥 👻

libatk-1.0.so.0
Failed to launch the browser process! /data/project/p_base/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
解决方法:yum install atk
libatk-bridge-2.0.so.0
Failed to launch the browser process! /data/project/p_base/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libatk-bridge-2.0.so.0: cannot open shared object file: No such file or directory TROUBLESHOOTING:
解决方法:yum install at-spi2-atk
libcups.so.2
Failed to launch the browser process! /data/project/p_base/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
解决方法:yum install cups-libs
libxkbcommon.so.0
Failed to launch the browser process! /data/project/p_base/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory TROUBLESHOOTING:
解决方法:yum install libxkbcommon-x11-devel
libXcomposite.so.Failed to launch the browser process! /data/project/p_base/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory TROUBLESHOOTING:
解决方法:yum install libXcomposite
libXdamage.so.Failed to launch the browser process! /data/project/p_base/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libXdamage.so.1: cannot open shared object file: No such file or directory TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
解决方法:yum install libXdamage.x86_64
libXrandr.so.2
Failed to launch the browser process! /data/project/p_base/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
解决方法:yum install libXrandr.x86_64
libgbm.so.Failed to launch the browser process! /data/project/p_base/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
解决方法:yum install mesa-libgbm
libpango-1.0.so.0
Failed to launch the browser process! /data/project/p_base/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome: error while loading shared libraries: libpango-1.0.so.0: cannot open shared object file: No such file or directory TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
解决方法:yum install pango

参考:https://blog.csdn.net/weixin_44250886/article/details/128919402