Closed BasieP closed 6 years ago
you can try to run Cypress (or just plain Electron) on your system and keep adding missing dependencies until it starts. Take a look at our Docker images https://github.com/cypress-io/cypress-docker-images (like centos, ubuntu) for inspiration. I don't know how rpm installs would be equivalent to apt.
Thanks @bahmutov. The link to https://github.com/cypress-io/cypress-docker-images helped me fix the missing dependencies issues i discovered when I was trying to run cypress tests on RHEL 7.4
I think it would be helpful if we could add a line in the CI::Dependencies section to list the dependencies for centos/redhat boxes. (yum install gtk2 libXtst libXScrnSaver GConf2 alsa-lib
) We also found that we needed to run yum update glib2
(see link))
Or at the very least, a reference to the cypress-docker-images repo would be helpful.
Same here, spent all afternoon finding the CentOs libraries equivalent to deb packages suggested in docs.
I confirm: yum install - y xvfb libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2
fixed dependencies.
Maybe run as sudo depending on your setup.
-y
useful to automatically accept CLI requests.
Also teamcity is very popular so adding a section specifically for this CI would be useful.
also I had to install yum install gtk3
for the latest version
yum install - y xvfb libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2
I am not able to find equivalent dependencies for RHEL 6. please confirm, you got equivalent packages on rpm?
In our (goverment) organisation we have to work with 'standard' linux machines. These are (unfortunately) Redhat 6.9.
I read the documentation about dependencies (https://on.cypress.io/required-dependencies) but they are only written for apt, and on redhat we have to use yum rpm's. Now thanks to an other issue: (https://github.com/cypress-io/cypress/issues/660) i have been able to install yum equivalents to the apt packages, but that issue was made for Redhat 7. (which doesn't run on our network since we have a .local tld)
The installation of the additional packages did solve some of the errors i got. But not all. Unfortunate i still get this error:
Is this something i can install? if so, what rpm should i use?
Desired behavior:
working Cypress on redhat 6.9