-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
16.14.2 ships with buggy npm #42397
Comments
Fixed in 76d85a8 which will make it's way to a 16.x release at some point. |
👍 Good to hear. Is there any way to get a sense of when “some point” will happen? I realise it sounds self-serving (of course I think that the bug I reported needs a release, being Special); but it genuinely seems to me that pulling the latest image and running |
It looks like it will go out in 17.8.0 some time in the next 48 hours (if all goes according to plan). #42425 From there, it's usually another 2 or 3 weeks before it shows up in an active LTS release, but it can be faster or slower than that depending on various factors. (If someone on the releasers team wants to chime in and provide somewhat more authoritative information, please do!) |
The next release is scheduled for 2022-04-05 (nodejs/Release#658). Sometimes we do expedite or do additional interim releases to fix more critical bugs, but that's dependent on releaser's availability. /cc @nodejs/npm |
This comment was marked as duplicate.
This comment was marked as duplicate.
Node.js 16.14.2, which is default in GitHub Action, introduces a bug of npm, and should be fixed in 2022/04/05. Ref: nodejs/node#42397
Node.js 16.14.2, which is default in GitHub Action, introduces a bug of npm, and should be fixed in 2022/04/05 but actually not. Specify Node.js to 16.4.0 to avoid this exception. Ref: nodejs/node#42397
node 16.14.2 ships with a buggy version of npm Revert when this is resolved: nodejs/node#42397
node 16.14.2 ships with a buggy version of npm Revert when this is resolved: nodejs/node#42397
node 16.14.2 ships with a buggy version of npm Revert when this is resolved: nodejs/node#42397
node 16.14.2 ships with a buggy version of npm Revert when this is resolved: nodejs/node#42397
…16.14.0) (#393) * fix: python CI (upgrade black to 22.3.0) Also added instructions for setting up a local python environment psf/black#2964 (comment) * fix: node.js ci 16.x (pin node.js version to 16.14.0) node 16.14.2 ships with a buggy version of npm Revert when this is resolved: nodejs/node#42397
@Trott I think this can be closed now that v16.15.0 with npm 8.5.5 is out, right? |
Version
v16.14.2
Platform
Linux glaurung 5.15.23-76051523-generic #202202110435
164495230021.10~96763f1 SMP Tue Feb 15 19:52:40 U x86_64 x86_64 x86_64 GNU/LinuxSubsystem
No response
What steps will reproduce the bug?
In a Yarn monorepo,
yarn workspace some-workspace test
How often does it reproduce? Is there a required condition?
Every time
What is the expected behavior?
Tests should run
What do you see instead?
From a test script,
Additional information
This is a known bug in npm as of 8.5.0, fixed in npm/config#47
It’s resolved as of 8.5.5, but because Node 16.14.2 ships with the broken 8.5.0, it means it affects default nvm installs and anything that (like Github actions we rely on) can respect
.nvmrc
but offer no place to specify--latest-npm
.Releasing a Node 16 version with a newer npm should resolve the issue, I expect.
The text was updated successfully, but these errors were encountered: