-
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 9.2.1 + Node 17.1 (Win 11) Fails/Errors When Attempting Any Test #19712
Comments
I get the same error on MacOS 12.0.1 and Node 17.2.0. |
@JamShady / @GentlemanHal What node version are you using & what version of openSSL was the node version built with? Can you please share you OS, terminal and details on how you are running cypress & any logs? Looking for details to reproduce the issue. This change was released in 9.2.1 to try and fix some issue observed with Cypress & Node 17.... |
I'm facing the same problem with macOS 12.1, Node 17.3.1, Cypress 9.2.1 and OpenSSL Regarding the fix mentioned above, is that only for new project in some starter code? I have an existing project, updated to Cypress 9.2.1, and I don't see that code anywhere. Searching for |
I wasn't sure how to do this, searching I found this command
I got the error in an open source project I work on, so you can see all the files and how it is run at https://github.com/build-canaries/nevergreen This is the log I get when running Cypress 9.2.1:
|
This change should be applied when Cypress starts the plugin process. This change won't be found in |
Thanks for the additional information! I realised that was probably the case, and with your help I could locate the code referenced above. Then my question/problem remains, I still have to add the |
@Krisell Are you able to check if the |
If I run By adding some logging in the Cypress code I was able to see that What could cause this discrepancy? If this is likely to be a setup issue on my device, you don't have to spend more time debugging this. |
I had the same problem. You have to install latest stable Node version 16.13.2. Then it works. |
It fails in my GitHub Actions, too: https://github.com/vuejs/create-vue/runs/4864811524?check_suite_focus=true#step:8:73 |
OS: Windows 11 Opening Cypress by Just upgraded to Cypress 9.3.1 and Node 17.4, the problem remains. I don't know about the OpenSSL version, I downloaded the Windows 64bit portable (.zip) from here: https://nodejs.org/en/download/current/ |
Any news to this issue? It continues broking my tests. |
The code for this is done in cypress-io/cypress#19977, 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
On a brand new, vanilla install, when attempting to run any test (in this case, one of the included spec files), Cypress opens the browser, and then immediately fails as follows:
The error is: Error: error:0308010C:digital envelope routines::unsupported
Stack Trace:
Setting
"nodeVersion": "bundled"
in the config resolves this error, but this wasn't required previouslyDesired behavior
The test should run
Test code to reproduce
Vanilla fresh install and the bundled test specs
Cypress Version
9.2.1
Other
May be related to #18914 - that's where I got the 'fix' from
The text was updated successfully, but these errors were encountered: