-
Notifications
You must be signed in to change notification settings - Fork 607
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
[rush] Add support for the latest LTS version of Node (v22) to Rush repo #5033
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
The latest, current LTS version of Node is v22, but trying to use it with Rush results in the following error:
https://nodejs.org/en/about/previous-releases
Repro steps
npm install -g @microsoft/rush
rush.json
. For best results, use the exact version: https://github.com/microsoft/rushstack/blob/%40microsoft/rush_v5.144.0/rush.json#L199.12.2
, but this never gets a chance to be a potential problemrush update
Expected result:
rush update
executes without issue.Actual result:
rush update
failed with an error that claims Node 22 is not supported, which is contrary to the recommendation on the website.Details
Either it has not been tested with Node 22 or the version check script itself is out of date.
A first pass would be updating the script locally, allowing it to run with node 22 and see if test suites pass/fail and determine next steps based on the results of that.
It may be that updating
nodeSupportedVersionRange
inrush.json
is enough.I may be making some poor assumptions as I am new to Rush.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/rush
globally installed version?@microsoft/rush@5.144.0
rushVersion
from rush.json?5.143.0-pr5009.1
useWorkspaces
from rush.json?node -v
)?v22.2.0
The text was updated successfully, but these errors were encountered: