-
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
Cypress gives "libgconf-2.so.4: cannot open shared object file" error on Travis #4069
Comments
Can you check some things? Do you have If you do indeed have You should be able to do this:
And receive this:
If not, something is wrong. Also, you may want to look into running our docker images: https://github.com/cypress-io/cypress-docker-images |
Just encountered the same issue which required an update to our travis.yml config file. It seems Travis has been updated/ing its build environment to Ubuntu 16.04 from Ubuntu 14 in the past few days. According to this non-Travis similar issue from 2018, it appears more recent versions of Ubuntu no longer include libgconf-2-4 by default. Based on this similar issue/solution, the following appears to work:
(Off Topic) Will look into using Docker at some point in the future as well. |
I have confirmed that adding to
See https://travis-ci.org/cypress-io/cypress-example-kitchensink/jobs/527472634 |
- Add libconf to fix Cypress after Ubuntu upgrade (cypress-io/cypress#4069) - Update npm version to 6.9
* Update Travis example re: Travis env. update In response to this issue - cypress-io/cypress#4069 * Update continuous-integration.md
Github notified us about two packages with significant vulnerabilities: - ecstatic WS-2019-0066 - lodash CVE-2019-10744 After running `npm install` on a fresh installation, we got the following message: found 6 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details After running `npm audit fix` we got: added 3 packages from 2 contributors, removed 1 package and updated 15 packages in 88.466s fixed 6 of 6 vulnerabilities in 603 scanned packages ...so it seems to have updated more than just the two which Github told us about, but none of them seem to be major version updates, and the test suite still passes, so I feel OK about this. The newest Travis build pack is missing a dependency required by the latest Cypress so we add it explicitly in Travis.yml: cypress-io/cypress#4069
This is to work around: cypress-io/cypress#4069
Following error in build https://travis-ci.org/topheman/npm-registry-browser/builds/640826657 ``` /home/travis/.cache/Cypress/3.1.0/Cypress/Cypress: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory ``` Solution found: cypress-io/cypress#4069
Following error in build https://travis-ci.org/topheman/npm-registry-browser/builds/640826657 ``` /home/travis/.cache/Cypress/3.1.0/Cypress/Cypress: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory ``` Solution found: cypress-io/cypress#4069
- Add libconf to fix Cypress after Ubuntu upgrade (cypress-io/cypress#4069) - Update npm version to 6.9
Following error in build https://travis-ci.org/topheman/npm-registry-browser/builds/640826657 ``` /home/travis/.cache/Cypress/3.1.0/Cypress/Cypress: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory ``` Solution found: cypress-io/cypress#4069
Current behavior:
Desired behavior:
To run successfully
Steps to reproduce: (app code and test code)
.travis.yml
file is like this:Versions
Travis Platform: linux (Ubuntu Linux - 16.04)
Cypress Version: 3.1.1
The text was updated successfully, but these errors were encountered: