Update Node.js instructions for version managers #6089
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
App > Get Started > Install Cypress > System requirements > Installing Node.js contains text:
The link to "Node.js package manager" https://nodejs.org/en/download/package-manager/all is no longer in use by the https://nodejs.org website and so its contents, which is a list of various Node.js version managers, need to be regarded as no longer maintained even if the page is currently still visible. Its local language translations have all been deleted.
Node.js redesigned their Download Node.js landing page and no longer link to the list Installing Node.js via Package Managers.
Instead, Download Node.js suggests using specific Node.js version managers depending on the target operating system (Windows, macOS or Linux).
The current suggestions from Node.js no longer include Node.js Snap for Linux.
Node.js Snap for Linux is not suitable for use with Cypress due to its limited permissions. Several issues arise: Unless
node
is run as root withsudo
, Cypress installation with npm fails. Global installation of pnpm fails. Corepack is not installed by default by the snap package, making it different to Node.js installations by other means. To remedy this and install Corepack manually requires root permissions.Change
Remove the link on App > Get Started > Install Cypress > System requirements > Installing Node.js to Node.js package manager and move the Best Practice section up on the page.
Change the terms
to align with the term change on the Download Node.js site.
Recommend against using the Node.js Snap for Linux version manager