-
Notifications
You must be signed in to change notification settings - Fork 168
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
chore: Upgrade default npm to 10.2.1 #17898
Conversation
Kudos, SonarCloud Quality Gate passed! |
@@ -70,7 +70,7 @@ public class FrontendTools { | |||
/** | |||
* This is the version shipped with the default Node version. | |||
*/ | |||
public static final String DEFAULT_NPM_VERSION = "10.1.0"; | |||
public static final String DEFAULT_NPM_VERSION = "10.2.1"; |
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 change will always fail the test installNode_NodeIsInstalledToTargetDirectory
as the npm version supplied by node 20.8.1 (and 20.9.0) is 10.1.0
Event the current node version 21.1.0 only brings in npm 10.2.0
I don't think we have a feature for updating the npm installation after node installation.
Need to wait that this npm/cli#6835 gets to the next LTS node 20 release, and both node and npm default versions has to be then updated at the same time in Other options would be to update to latest node 21 but this was already decided otherwise here #17877. |
Waits for nodejs/node#50376 |
This was upgraded in #18111 |
Fixes: #17874