小编Vol*_*tto的帖子

如何在 CentOS 6 上安装 libatk-bridge-2.0.so.0

在启动 puppeteer 时我遇到了一个问题

    (node:13392) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!
    /var/www/html/node_modules/puppeteer/.local-chromium/linux-674921/chrome-linux/chrome: error while loading shared libraries: libatk-bridge-2.0.so.0: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)

我找到https://pkgs.org/download/libatk-bridge-2.0.so.0()(64bit)并选择CentOS 7版本,因为没有CentOS 6根据我输入

    yum install at-spi2-atk
Run Code Online (Sandbox Code Playgroud)

但得到了

    Loaded plugins: fastestmirror
    Setting up Install Process
    Repository remi-php71 is listed more than once in the configuration
    Loading mirror speeds from cached hostfile
     * atomic: www6.atomicorp.com
     * base: mirror.checkdomain.de
     * epel: mirror.wiuwiu.de
     * extras: mirror.checkdomain.de
     * remi: mirror.23media.com
     * remi-php54: mirror.23media.com
     * …
Run Code Online (Sandbox Code Playgroud)

node.js node-modules centos6 puppeteer

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

centos6 ×1

node-modules ×1

node.js ×1

puppeteer ×1