Skip to content
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

cypress verify times out on WSL2 #8119

Closed
icorbrey opened this issue Jul 29, 2020 · 2 comments
Closed

cypress verify times out on WSL2 #8119

icorbrey opened this issue Jul 29, 2020 · 2 comments

Comments

@icorbrey
Copy link

icorbrey commented Jul 29, 2020

Current behavior:

Trying to verify Cypress on WSL2 (Ubuntu 18.04) using VcXsrv times out:

$ npx cypress verify

  ✖  Verifying Cypress can run /home/icorbrey/.cache/Cypress/4.11.0/Cypress
    → Cypress Version: 4.11.0
Cypress verification timed out.

This command failed with the following output:

/home/icorbrey/.cache/Cypress/4.11.0/Cypress/Cypress --no-sandbox --smoke-test --ping=303

----------

Command failed: /home/icorbrey/.cache/Cypress/4.11.0/Cypress/Cypress --no-sandbox --smoke-test --ping=303

----------

Platform: linux (Ubuntu - 18.04)
Cypress Version: 4.11.0

Desired behavior:

Cypress should verify as expected.

Test code to reproduce

Under WSL 2 with dependencies installed:

$ npm init
$ npm install cypress
$ npx cypress verify

Versions

  • WSL: 2
  • Cypress: 4.11.0
  • VcXsrv: 1.20.8.1
  • Ubuntu: 18.04 LTS
@icorbrey
Copy link
Author

Fixed by installing xvfb and unsetting DISPLAY, however unsetting the env variable shouldn't be required

@jennifer-shehane
Copy link
Member

Duplicate of #7065

@jennifer-shehane jennifer-shehane marked this as a duplicate of #7065 Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants