Version
v22.22.2
Platform
MacOS Sequoia 15.6.1, but also on "ubuntu-latest" in a container.
Subsystem
No response
What steps will reproduce the bug?
npm i -g npm@latest
How often does it reproduce? Is there a required condition?
Always, since moving to v22.22.2 (from v22.22.0)
What is the expected behavior? Why is that the expected behavior?
Should be able to install latest
What do you see instead?
npm error code MODULE_NOT_FOUND
npm error Cannot find module 'promise-retry'
npm error Require stack:
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/index.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/index.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/node_modules/libnpmfund/lib/index.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/lib/utils/reify-output.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/lib/utils/reify-finish.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/lib/commands/install.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/lib/npm.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/lib/cli/entry.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/lib/cli.js
npm error - /Users/ts/.nvm/versions/node/v22.22.2/lib/node_modules/npm/bin/npm-cli.js
npm error A complete log of this run can be found in: /Users/ts/.npm/_logs/2026-03-25T10_37_59_708Z-debug-0.log
Additional information
No response
Version
v22.22.2
Platform
Subsystem
No response
What steps will reproduce the bug?
npm i -g npm@latest
How often does it reproduce? Is there a required condition?
Always, since moving to v22.22.2 (from v22.22.0)
What is the expected behavior? Why is that the expected behavior?
Should be able to install latest
What do you see instead?
Additional information
No response