-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Update npm to v11 in Node.js v22 #58423
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
Comments
Also from #58347 (comment) it sounds like there's some sort of issue on Windows with npm 11.4.0? |
I'll isolate the (relevant) breaking changes here just to help keep folks on one page:
The Windows issue is isolated to Powershell users, and is being worked on. The bugs that the new code is trying to fix exists in npm 10 already, and we are waiting on backports till it is all worked out. |
The biggest breaking change / annoyance is the deprecation warning for non-NPM config options in .npmrc files @wraithgar for that Windows issue, I just finished fixing the redirection |
I agree; all the rest of them are preventing footguns, so even if users are annoyed, they'll figure out the explicit better path easily. That config one, though, might cause some friction. |
We should update NPM to v11 in Node.js v22 to work around this bug npm/cli#8184.
It's causing some friction with a lot of users.
What are the breaking changes? According to https://github.com/npm/cli/blob/latest/CHANGELOG.md doesn't look like there are many.
cc @nodejs/npm @nodejs/releasers
The text was updated successfully, but these errors were encountered: