Cypress uses the system Node.js when nodeVersion
is set to bundled
#27016
Labels
E2E
Issue related to end-to-end testing
Reproducible
Can be reproduced
Triaged
Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
type: bug
v10.0.0 🐛
Issue present since 10.0.0
Current behavior
When the
nodeVersion
configuration option is set tobundled
, Cypress uses the system Node.js to executesetupNodeEvents
and tasksDesired behavior
I see two ways of fixing this bug:
nodeVersion
configuration option so thatbundled
works as it used to, and Cypress uses the bundled Node.js to executesetupNodeEvents
and tasksnodeVersion
configuration option altogether, as has been the stated intention since Cypress 9.0.0My team and I would prefer solution 1, as stated and explained in #18882 . However, that issue didn't gain a lot of traction, so if you choose solution 2 I can understand that
Test code to reproduce
cypress.config.js:
spec.cy.js:
Make sure you have a system Node.js with a different version than the bundled Node.js. Note the version logged in the terminal when you select E2E testing and when you run spec.cy.js
Cypress Version
12.14.0
Node version
v18.16.0
Operating System
Windows 10.0.19044.2965
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: