Repository navigation
16.14.2 ships with buggy npm #42397
Description
Activity
- addednpmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.
on Mar 19, 2022 Fixed in 76d85a8 which will make it's way to a 16.x release at some point.
Reacted by Benjamin Gruenbaum, Petter and Eric RabilFixed 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
yarnmay be a very common action in CI pipelines etc. for many people.Reacted by Tanner PerrienIs there any way to get a sense of when “some point” will happen?
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
- added 2 commits that reference this issue
on Apr 7, 2022 - added 5 commits that reference this issue
on Apr 15, 2022 @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 testHow 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
.nvmrcbut offer no place to specify--latest-npm.Releasing a Node 16 version with a newer npm should resolve the issue, I expect.