Skip to content
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 crashes when specifying -- --config after upgrading to 3.6.0 #5608

Closed
jpierson opened this issue Nov 5, 2019 · 2 comments
Closed

Comments

@jpierson
Copy link

jpierson commented Nov 5, 2019

Current behavior:

After upgrading to Cypress 3.6.0 from 3.3.1, the cypress test runner crashes when running open or running from CLI while also suppling the baseUrl configuration through the command line.

> cypress-test@1.0.0 cypress C:\projects\myproject\cypress
> cypress run "--config" "baseUrl=https://someurl.nonsense"

npm ERR! code ELIFECYCLE
npm ERR! errno 4294967295
npm ERR! cypress-test@1.0.0 cypress: `cypress run "--config" "baseUrl=https://someurl.nonsense"`
npm ERR! Exit status 4294967295
npm ERR!
npm ERR! Failed at the cypress-test@1.0.0 cypress script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\myuser\AppData\Roaming\npm-cache\_logs\2019-11-05T13_23_51_508Z-debug.log

2019-11-05T13_23_51_508Z-debug.log

Desired behavior:

The tests should run or open the test runner with the specified configuration value as it had in the past.

Steps to reproduce: (app code and test code)

ex.

npm run cypress -- --config baseUrl=https://someurl.nonsense

or

npm run cypress:open -- --config baseUrl=https://someurl.nonsense

Versions

Cypress 3.6.0
Node v11.10.0
NPM 6.7.0
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.17134 N/A Build 17134

@amrtn
Copy link

amrtn commented Nov 5, 2019

I'm experiencing the same behavior. I had to downgrade back to 3.4.1

Possible duplicate of #5466

@jennifer-shehane
Copy link
Member

@jpierson In your posted log, I see Exit status 4294967295 and that you are running on Windows. This is a duplicate of #5466

Downgrade to 3.4.1 as a workaround today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants