Cypress 9.2.1 + Node 17.1 (Win 11) Fails/Errors When Attempting Any Test
See original GitHub issueCurrent 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:
Error: The following error was thrown by a plugin. We stopped running your tests because a plugin crashed. Please check your plugins file (`D:\Web\basekit\cypress\plugins\index.js`)
at Object.get (C:\Users\[user]\AppData\Local\Cypress\Cache\9.2.1\Cypress\resources\app\packages\server\lib\errors.js:1043:15)
at EventEmitter.handleError (C:\Users\[user]\AppData\Local\Cypress\Cache\9.2.1\Cypress\resources\app\packages\server\lib\plugins\index.js:210:20)
at EventEmitter.emit (node:events:394:28)
at ChildProcess.<anonymous> (C:\Users\[user]\AppData\Local\Cypress\Cache\9.2.1\Cypress\resources\app\packages\server\lib\plugins\util.js:19:22)
at ChildProcess.emit (node:events:394:28)
at emit (node:internal/child_process:920:12)
at processTicksAndRejections (node:internal/process/task_queues:84:21)
Setting "nodeVersion": "bundled"
in the config resolves this error, but this wasn’t required previously
Desired 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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Changelog - Cypress Documentation
Cypress will throw an error when a user attempts to update a configuration value at run-time using either the Test Configuration or using...
Read more >Cypress failed to start on Windows - Stack Overflow
→ Cypress Version: 1.4.1 Cypress failed to start. This is usually caused by a missing library or dependency. The error below should indicate...
Read more >Prevent npm install for not supported Node.js versions
22.5 info No lockfile found. [1/5] Validating package.json... error engine-test@1.0.0: The engine "node" is incompatible with ...
Read more >TESTABILITY DESIGN RATING SYSTEM - DTIC
All of the resources used to gather testability data are included in the ... 3-11. 3.4 System Testability Design . ... 13.2.3 Test...
Read more >PSoC 4100S Max - Infineon Technologies
PSoC 4100S Max. PSoC 4 Architecture. Technical Reference Manual (TRM). Document No. 002-32818 Rev. **. July 16, 2021. Cypress Semiconductor.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The code for this is done in cypress-io/cypress#19977, but has yet to be released. We’ll update this issue and reference the changelog when it’s released.
Released in
9.4.0
.This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v9.4.0, please open a new issue.