-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Cannot run Cypress on Ubuntu 18.04 #6212
Comments
There are updated instructions on the required dependencies in our docs here: https://on.cypress.io/guides/guides/continuous-integration#Dependencies Can you verify you have installed all listed dependencies then run |
Thanks for reply! But the link you gave is not valid. I think that was https://on.cypress.io/guides/guides/continuous-integration.html#Dependencies (.html was missing) |
I have installed all listed dependencies. My first screenshot here captures that. Running The error message from Cypress is not helpful at all. It is just If I run the command that failed, |
Update: if I do It seems like there is a dependency missing for running the GUI in Ubuntu. I have installed all dependencies listed in the Cypress docs. Is there any dependency for the GUI that is missing from that list? |
UPDATE: it works fine on Ubuntu 16, which leads me to believe that Cypress is incompatible with Ubuntu 18 |
Hey @tgrander, I am running & developing Cypress on Ubuntu 19.10, I'd be surprised if it was incompatible with 18.04. It seems like something is wrong with your X setup, do you use Wayland or X normally? |
Normally, in CI, Cypress uses |
@flotwig I'm not using X at all on either the Ubuntu 16.04 or the 18.04 machine and yet it does work on 16.04 I tried running |
Yeah bizarre, I was able to reproduce this locally by running Ubuntu 18.04 in Docker. Wrapping it in |
This is a duplicate of #6184 see temp workaround #6184 (comment) A fix has been merged in #6199 and will be released in 3.8.3 |
Current behavior:
I run npm install in my git repo, install all Cypress dependencies with
apt-get
, and runnpx cypress run
. The error above is shown.Desired behavior:
Cypress can be opened and ran
Test code to reproduce
Install Cypress on Ubuntu 18.04 and try to run it
Versions
Cypress Version : 3.8.2
OS : Ubuntu 18.04.3
Browser : Chrome
The text was updated successfully, but these errors were encountered: