chrome浏览器点击下载问题

1 到chrome-linux目录下执行./chrome,用普通部署用户执行

2 错误解决方案

报错1:

cd /opt/export/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux
./chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
解决方法:
yum install libXScrnSaver* -y
yum install epel-release -y
yum install libappindicator-gtk3 -y


报错2:

./chrome: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
#解决方案:
yum install libgconf* -y

报错3:

./chrome: symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard
#解决方案:
yum install -y pango*

报错4:

 

#解决方案:
yum install libnss3.so* -y

你可能感兴趣的:(linux)