-
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
Can't upgrade to version 2.0 and above #1434
Comments
so something is really wrong during installation it seems. What happens when you
|
Hi, @bahmutov. Thanks for your reply. sts-Manel:dev marcelodiniz$ mkdir check-cypress && cd - && npm init -y
/Users/marcelodiniz/dev/check-cypress
Wrote to /Users/marcelodiniz/dev/check-cypress/package.json:
{
"name": "check-cypress",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
sts-Manel:check-cypress marcelodiniz$ npm install cypress
> cypress@2.1.0 postinstall /Users/marcelodiniz/dev/check-cypress/node_modules/cypress
> node index.js --exec install
Installing Cypress (version: 2.1.0)
✔ Downloaded Cypress
✔ Unzipped Cypress
✔ Finished Installation /Users/marcelodiniz/dev/check-cypress/node_modules/cypress/dist/Cypress.app
You can now open Cypress by running: node_modules/.bin/cypress open
https://on.cypress.io/installing-cypress
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN check-cypress@1.0.0 No description
npm WARN check-cypress@1.0.0 No repository field.
+ cypress@2.1.0
added 187 packages in 34.597s
sts-Manel:check-cypress marcelodiniz$ ./node_modules/cypress/dist/Cypress.app/Contents/MacOS/Cypress
Segmentation fault: 11
sts-Manel:check-cypress marcelodiniz$ As you can see, it's not very different from the original problem :( |
Just to mention, I'm using nodejs 8.9.0 managed by nodenv (https://github.com/nodenv/nodenv) |
Having the same issue. Operating System: OS Sierra It looks like this is your first time using Cypress: 2.1.0
✖ Verifying Cypress can run /Users/nvangiessel/projects/check-cypress/node_modules/cypress/dist/Cypress.app
→ Cypress Version: 2.1.0
Cypress failed to start.
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
----------
----------
Platform: darwin (16.7.0)
Cypress Version: 2.1.0
Node[1] 29936 segmentation fault ./node_modules/cypress/dist/Cypress.app/Contents/MacOS/Cypress |
Any idea's on this issue guys? Would love to upgrade to newest version of Cypress. Same error occurs on our gitlab/docker. Platform: linux (Ubuntu Linux - 16.04). If I directly open /Users/nvangiessel/projects/check-cypress/node_modules/cypress/dist/Cypress.app, it starts the app, but can't open/run tests via command line. |
@nvangiessel can you paste your docker file if possible? I think chances to recreate segmentation fault are higher in Docker environment than on Darwin, because it does not happen |
also @nvangiessel can you see if there is a crash report from Cypress Electron app when it starts in |
@nvangiessel is there a message in |
@bahmutov |
@nvangiessel thanks for tracking this down, never heard of this Node option! Ok on Darwin too this silently fails
Something for me to work on! |
Please try unsetting the To see all environment variables currently setMacOS / Linuxprintenv WindowsSET To unset
|
@marceloemanoel were you able to resolve your issue? |
Hi @jennifer-shehane yes this solves the problem. Sorry I didn't comment about it before. You can close the issue. |
Is this a Feature or Bug?
Bug
Current behavior:
When I install cypress through npm, at the verification step the process fail with the message:
Desired behavior:
I should just pass the verification step and start normally.
How to reproduce:
install it from npm and run cypress verify or cypress open
Additional Info (images, stack traces, etc)
I tried to reproduce the smoke test step directly and got
Segmentation Fault 11
. If I go to the directory and open Cypress.app it opens normally.Version 1.4.2 works as expected.
I already removed the node_modules directory and made a clean install but got the same result.
The text was updated successfully, but these errors were encountered: