-
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
breaking: Remove deprecated nodeVersion configuration option #27059
breaking: Remove deprecated nodeVersion configuration option #27059
Conversation
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
@@ -250,7 +250,7 @@ const convertRelativeToAbsolutePaths = (projectRoot: string, obj: Config) => { | |||
// instead of the built-in Node process, specify a path to 3rd party Node | |||
export const setNodeBinary = (obj: Config, userNodePath?: string, userNodeVersion?: string) => { | |||
// if execPath isn't found we weren't executed from the CLI and should used the bundled node version. | |||
if (userNodePath && userNodeVersion && obj.nodeVersion !== 'bundled') { | |||
if (userNodePath && userNodeVersion) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could still end up using 'bundled' if user node isn't found.
@@ -1022,14 +1022,6 @@ export const AllCypressErrors = { | |||
|
|||
Please verify that this is the path to a valid, unpacked WebExtension.` | |||
}, | |||
COULD_NOT_FIND_SYSTEM_NODE: (nodeVersion: string) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error was dead code
26 flaky tests on run #47812 ↗︎
Details:
e2e/origin/commands/assertions.cy.ts • 1 flaky test • 5x-driver-firefox
cypress/cypress.cy.js • 3 flaky tests • 5x-driver-firefox
e2e/origin/navigation.cy.ts • 1 flaky test • 5x-driver-electron
cypress/cypress.cy.js • 3 flaky tests • 5x-driver-electron
scaffold-component-testing.cy.ts • 1 flaky test • launchpad-e2e
The first 5 flaky specs are shown, see all 15 specs in Cypress Cloud. This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
nodeVersion
is set tobundled
#27016Additional details
Removes the 'nodeVersion' configuration option.
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?