cypress: Failure during cypress verify --smoke-test: code 3221225781 in Windows
NOTE If the code after running Cypress with DEBUG:cypress* is NOT 3221225781, but you are seeing a similar error - see this issue instead: https://github.com/cypress-io/cypress/issues/4624
Current behavior:
Running cypress open, cypress run or cypress verify results in the error below. Specifically when running with DEBUG:cypress* logs set, the makeError portion prints the code: 3221225781.
cypress verify
...
cypress:cli Smoke test failed: { Error: Command failed: ..\Cypress.exe --smoke-test --ping=259
at makeError (..cypress\node_modules\execa\index.js:172:9)
at Promise.all.then.arr (..\cypress\node_modules\execa\index.js:277:16)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
code: 3221225781,
stdout: '',
stderr: '',
failed: true,
signal: null,
cmd: '..Cypress.exe --smoke-test --ping=259',
timedOut: false,
? Verifying Cypress can run ..\Cypress
? Cypress Version: xxx
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.
----------
Command failed: ..\Cypress.exe --smoke-test --ping=259
----------
Platform: xxx
Cypress Version: xxx
- https://github.com/cypress-io/cypress/issues/1866#issuecomment-401725706
- Maybe related: https://github.com/cypress-io/cypress/issues/2812
previous comments from @brian-mann
It appears there is more information from Electron regarding this here: electron/electron#3570
Electron is exiting with exit code 3221225781
There are a bunch of issues over at Electron’s github indicating this. I scanned through them but didn’t really see any actionable steps. We really need to be able to reproduce this on our own machines so we can iterate on the problem.
A quick google pulls up a bunch of results here: https://www.google.com/search?q=electron+3221225781&oq=electron+3221225781&aqs=chrome..69i57j69i60l2.1334j0j4&sourceid=chrome&ie=UTF-8
I would suggest any/all of you read through those and try out some of the workarounds there. If any work, please report them back here and we’ll see what changes we need to make.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 31 (4 by maintainers)
I was running into this. I cleared all cypress cache at:
C:\Users\<user>\AppData\Local\cypress. I also re-installed the cypress package:npm uninstall cypress --save-devfollowed bynpm install cypress --save-dev. Good to go.Hi, I was facing same issue. So I have find a solution for you. It will work for all of you. You also don’t need to uninstall anything , Try this one . It is the in last of page. Clearing Cache by Terminal of it.
Yes, I have managed to resolved the problem by uninstalling, clearing the cache and then installed the cypress version again. Steps: 1.First I have installed the latest version. 2.Then the above problem occurred. 3.Uninstalled the latest version by, npm uninstall cypress --save-dev 4.Clear the cache from the AppData\Local\Cypress\Cache 5.Restart my laptop and then installed the latest version again.
@Vi1234sh12 Hello Vishal, Copy your “binary_state.json” file from the previous version 6.3.0 and paste it into the 6.4.0 version. Then restart your Cypress application.
@jennifer-shehane - please see https://github.com/bjowes/cypress-4625-repro
I run it on Travis-CI to execute Cypress on Windows. The repo is setup for it (.travis.yml file in place).
When putting this together, I noticed that it works fine with 5.5.0, so I worked myself backwards to the first failing version, which is 5.3.0. It fails the smoke test with the specific code of this issue. There are three branches - main, cypress-5-4-0 and cypress-5-5-0. The main branch fails while the others pass.
The only difference between the branches is the cypress version installed.
Even if this seems to be resolved from 5.4.0, I presume it would still be of interest to find the actual root cause.
I have installed Cypress 4.12.1 version in Windows 10 Home OS. While running the ‘cypress open’ command from command prompt, below error displays:
C:\Project\work>C:\Project\work\node_modules\.bin\cypress openI have also cleared the cache from
AppData\Local\Cypress\Cacheand uninstalled the version >>npm uninstall cypress --save-dev, then installed again, but still I am getting the same error. What else should i need to proceed further ?I have uninstalled the latest version again and switch to older version is 4.11.0, but I am getting the same error.