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 9.1.1 + Node 17.2 (Win 11) Crashes #19320
Comments
Same issue on Linux. Using |
I am experiencing the same issue on MacOS (11.2.1, Big Sur). I upgraded from cypress 9.1.0 to version 9.1.1 and this immediately started happening; no issues whatsoever beforehand while on version 9.1.0. I've been on node version 17.0.1 & npm version 8.1.0 for a while. Steps to reproduce: --> Unable to launch cypress test runner or run in headless mode Workaround: |
Thanks for the work around ❤️ |
Additional information / debug logs can found in the duplicate issue of #19409. |
The workaround works, but, you get this message: Deprecation Warning: |
@ivandjorgon In your steps to reproduce,
Are you upgrading in an existing project ? |
@emilyrohrbough Yes, I upgraded in an existing project. |
@ivandjorgon Can you provide minimum example of the project you tried to upgrade? Were any plugins in use? Support files? |
@emilyrohrbough I got the same result when I created a project from scratch (no plugins, just the sample test from the quick starter guide) |
This issue is still there with Cypress 9.2.0 and Node 17.3. It is caused by #19094, which attempted to work around a previous problem caused by Node 17 upgrading to OpenSSL 3. It looks like Electron doesn't allow setting The workaround of setting |
Same here – macOS 10.15, Node 17.3.0, Cypress 9.2.0. The |
We are working on resolving this issue. I am still having issues reproducing this consistently with Node 17.2 and 9.2.0. I had produced this locally at one point, however, I am no longer able to create the issue. To ensure we've handled all cases, it'd be best to determine the issue here on why this is inconsistent. Can you provide the terminal(s) and the the list of ENVs set on your process when Cypress is launched? |
As this is a work application, I'm not at liberty to show the whole debug log with lots of identifying information. Most notably The last lines of my debug logs are:
I'll reiterate that this issue was introduced by #19094, which attempted to fix a problem explained in #18914 (comment). By commenting out the line introducing this new option, the
It looks like Node.js 17.3 doesn't support that option at all:
|
Thanks for the info. No disagreement this was introduced by #19094. Also, are you using any plugins or the default cypress plugin configuration? |
Realized that Node.js as packaged by Arch Linux and Homebrew is actually still built against OpenSSL version 1 and improved the heuristic a little bit. Here is another very similar issue: cloudflare/wrangler-legacy#2116 & cloudflare/wrangler-legacy#2155. |
The code for this is done in cypress-io/cypress#19522, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Same as issue which is fixed for Cypress v9.1.1. and Node 17.1 seems to have returned for Cypressv9.1.1. and Node 17.2 : #18914
Desired behavior
No response
Test code to reproduce
no test code required
Cypress Version
9.1.1.
Other
Adding
"nodeVersion": "bundled"
in thecypress.json
works around the issue.The text was updated successfully, but these errors were encountered: