-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
environment variable CHROME_PATH must be set to executable of a build of Chromium #5424
Comments
They seem to have left out the step where you install Chrome :) Take a look at https://github.com/GoogleChrome/lighthouse/blob/master/docs/headless-chrome.md#running-lighthouse-using-headless-chrome |
Hi, I am getting the following error when trying to
and when I try to install it with typing Red Hat Enterprise Linux 7.4 |
Troubleshooting RHEL issues for Chrome installs is a bit beyond the scope of these issues :) you might be interested in puppeteer/puppeteer#765 though, which seems similar? |
Typing |
Are you able to start Chrome normally with a debugging port? Getting Chrome working normally on your machine is a prerequisite of using Lighthouse. i.e. does |
I am running this on a VM running Red Hat Linux Server 7.4. Here are the versions: |
If you're doing headless you'll need to add |
Running: `[0605/124351.856035:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context. DevTools listening on ws://127.0.0.1:9222/devtools/browser/2a69d624-323e-4aca-aebd-a079ada7a712 |
Then yes, it looks like Chromium is having trouble starting on your machine. Once you get Chromium working @ray-kim-12, you're able to connect to it yourself w/o Lighthouse, and you're still having trouble starting Lighthouse, please open a new issue that documents the specific bug. Right now, it looks like it's complaining about GPU so try |
@ray-kim-12 hi, I'm getting the same error, have you managed to start chromium successfully? |
This says to run |
@InstanceOfMichael it depends on your specific flavor of linux what it's called, but |
This ended up working for me:
|
Download Chrome Browser First Install the Chrome Browser then Then maybe that issue will not occure. Its Works for me. |
这个问题是由于服务器没有安装chrome导致的,linux redhat安装离线chrome: |
Jenkins-lighthouse setup instructions:
https://kitconcept.com/blog/continuous-performance-analysis-with-lighthouse-and-jenkins/
Issue:
I am trying to setup lighthouse on jenkins machine.
I am getting following error:
Runtime error encountered: The environment variable CHROME_PATH must be set to executable of a build of Chromium version 54.0 or later.
Error: The environment variable CHROME_PATH must be set to executable of a build of Chromium version 54.0 or later.
at Object.linux (/xxxxx/node_modules/chrome-launcher/dist/chrome-finder.js:108:15)
Environment Information
The text was updated successfully, but these errors were encountered: