Cypress: Cypress could not install Xvfb and run cypress again

Created on 22 Jan 2020  Â·  5Comments  Â·  Source: cypress-io/cypress

Hello,

I run google cloud and use cypress v3.8.2 Then I got a bug about installing Xvfb
==> I can't install xvfb of cypress' lib
That is my log:

Step #2 - "run": If you are using Docker, we provide containers with all required dependencies installed.
Step #2 - "run": 
Step #2 - "run": https://on.cypress.io/required-dependencies
Step #2 - "run": 
Step #2 - "run": Read our documentation on dependencies for more information:
Step #2 - "run": 
Step #2 - "run": Install Xvfb and run Cypress again.
Step #2 - "run": 
Step #2 - "run": [04:45:10] → Your system is missing the dependency: Xvfb
Step #2 - "run": [04:45:10]  Verifying Cypress can run /builder/home/.cache/Cypress/3.8.2/Cypress [failed]
Step #2 - "run": [04:45:10]  Verifying Cypress can run /builder/home/.cache/Cypress/3.8.2/Cypress [started]

Most helpful comment

I'm not using CI, just installing Cypress for the first time and got this error running npx cypress open - this should be on the main installation page.

All 5 comments

@hieuTranEnouvo There are instructions on how to install all necessary dependencies in our docs here: https://on.cypress.io/continuous-integration#Dependencies

This may likely be a duplicate of https://github.com/cypress-io/cypress/issues/6184, see the workarounds there to see if it resolves your issue.

I'm not using CI, just installing Cypress for the first time and got this error running npx cypress open - this should be on the main installation page.

@TheDirigible Can you open a new issue, filling out the issue template. Thanks!

I could not. A big report is a gift.

On Mon, Jun 1, 2020, 11:48 PM Jennifer Shehane notifications@github.com
wrote:

@TheDirigible https://github.com/TheDirigible Can you open a new issue,
filling out the issue template. Thanks!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cypress-io/cypress/issues/6214#issuecomment-637319450,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDPBBKPNXWBKCXKZRGKWA3RUSOFVANCNFSM4KJ7YVHQ
.

Was this page helpful?
0 / 5 - 0 ratings