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.

finder: Failing to find google-chrome binary on centos 7

See original GitHub issue

Reported by @jayflux

CHROME_PATH=/usr/bin/google-chrome
NODE_EXTRA_CA_CERTS=/etc/pki/tls/certs/ca-bundle.crt
_=/usr/bin/env
[developer@sounds-performance sounds-performance]$ sudo -E node index.js 
which: no chromium-browser in (/sbin:/bin:/usr/sbin:/usr/bin)
which: no chromium in (/sbin:/bin:/usr/sbin:/usr/bin)
{ Error: connect ECONNREFUSED 127.0.0.1:33429
    at Object._errnoException (util.js:1024:11)
    at _exceptionWithHostPort (util.js:1046:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 33429 }
[developer@sounds-performance sounds-performance]$ 
  1. google-chrome installed via YUM on centos 7. chrome-finder is failing to locate it.
  2. and the explicit CHROME_PATH setting doesn’t seem to fix things.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
jasonwilliamscommented, Nov 28, 2017

Managed to fix it. It was this issue, https://github.com/GoogleChrome/chrome-launcher/issues/6#issuecomment-341491690

Might be still worth keeping this issue open though, as i still get

which: no chromium-browser in (/sbin:/bin:/usr/sbin:/usr/bin)
which: no chromium in (/sbin:/bin:/usr/sbin:/usr/bin)
0reactions
mariusJarcommented, Feb 6, 2018

Also had which: no chromium-browser in (/sbin:/bin:/usr/sbin:/usr/bin) which: no chromium in (/sbin:/bin:/usr/sbin:/usr/bin)

“sudo yum install -y chromium” helped for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot find Chrome binary error with Selenium in Python for ...
For Linux systems, the ChromeDriver expects /usr/bin/google-chrome to be a symlink to the actual Chrome binary. Using a Chrome executable in a non-standard ......
Read more >
How To Install Google Chrome on a RHEL/CentOS & Fedora
This guide explains how to install Google Chrome on a RHEL, CentOS 7/8 and Fedora Linux using the yum command in simple five...
Read more >
Installing Google Chrome On CentOS, Amazon Linux, or RHEL
The easiest way to install the latest Chrome version on RHEL, CentOS, and Amazon Linux versions 6.X and 7.X. # This installs Chrome...
Read more >
Installing Google Chrome in Rhel 7 - Red Hat Customer Portal
I installed Rhel 7 today and cant install Google Chrome. ... please set "notify_only=0" in /etc/yum/pluginconf.d/search-disabled-repos.conf.
Read more >
How to Install Google Chrome in RedHat-Based Linux Distros
First, check whether the latest version is available from Google's own repository using the following yum command. # yum info google-chrome- ...
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