question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

centos can not launch

See original GitHub issue
[root@iZbp16skc2tnayb1xojspgZ test]# node test.js 
(node:8674) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Failed to launch chrome!
/data/wwwroot/default/test/node_modules/puppeteer/.local-chromium/linux-515411/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: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

(node:8674) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

i run

yum install libatk-bridge-2.0.so.0

The problem remains

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

23reactions
milu2003commented, Nov 25, 2017

I solved it myself

run:

#依赖库
yum install pango.x86_64 libXcomposite.x86_64 libXcursor.x86_64 libXdamage.x86_64 libXext.x86_64 libXi.x86_64 libXtst.x86_64 cups-libs.x86_64 libXScrnSaver.x86_64 libXrandr.x86_64 GConf2.x86_64 alsa-lib.x86_64 atk.x86_64 gtk3.x86_64 -y

#字体
yum install ipa-gothic-fonts xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-utils xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 xorg-x11-fonts-misc -y
3reactions
milu2003commented, Sep 5, 2018

@SHERlocked93 好的兄弟,我们都是会汉语的人。

Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic System Recovery :: CentOS Docs Site
Unable to Boot into CentOS ... This problem is often caused by the installation of another operating system after you have installed CentOS....
Read more >
can't launch settings in centos 7?
From the command line you can launch the settings with gnome-control-center , I found this command from a quick Google. If you could...
Read more >
Some apps not opening on CentOS 7
I've some apps on CentOS 7.5 with GNOME that won't open when clicked. The Weather app for example, when clicked, it seems to...
Read more >
CentOS 7 can not start - linux
1 Answer 1 · 1.you have no initrd on /boot. · 2.your bootloader dose not have any line to describe initrd to run...
Read more >
How to fix “FirewallD is not running” error on CentOS
How to fix “FirewallD is not running” error on CentOS · rpm -qa firewalld · sudo yum install firewalld · sudo systemctl start...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found