Title: Possible NodeJS 22.22.2 regression when installing latest NPM · Issue #62425 · nodejs/node · GitHub
Open Graph Title: Possible NodeJS 22.22.2 regression when installing latest NPM · Issue #62425 · nodejs/node
X Title: Possible NodeJS 22.22.2 regression when installing latest NPM · Issue #62425 · nodejs/node
Description: Version v22.22.2 Platform Darwin M-FC6WJYY430 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:56:35 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T6030 arm64 Subsystem No response What steps will reproduce the bug? # use the latest no...
Open Graph Description: Version v22.22.2 Platform Darwin M-FC6WJYY430 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:56:35 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T6030 arm64 Subsystem No response What steps wil...
X Description: Version v22.22.2 Platform Darwin M-FC6WJYY430 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:56:35 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T6030 arm64 Subsystem No response What steps wil...
Opengraph URL: https://github.com/nodejs/node/issues/62425
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Possible NodeJS 22.22.2 regression when installing latest NPM","articleBody":"### Version\n\nv22.22.2\n\n### Platform\n\n```text\nDarwin M-FC6WJYY430 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:56:35 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T6030 arm64\n```\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\n```sh\n# use the latest node 22.x\nnvm install 22.22.2\n\n# activate the node version\nnvm use 22.22.2\n\n# install latest npm\nnpm install -g npm@latest\n```\n\n### How often does it reproduce? Is there a required condition?\n\nAlways happens.\n\n### What is the expected behavior? Why is that the expected behavior?\n\nNPM should install successfully.\n\n### What do you see instead?\n\n```\nnpm error code MODULE_NOT_FOUND\nnpm error Cannot find module 'promise-retry'\nnpm error Require stack:\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/index.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/index.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/node_modules/libnpmfund/lib/index.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/lib/utils/reify-output.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/lib/utils/reify-finish.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/lib/commands/install.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/lib/npm.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/lib/cli/entry.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/lib/cli.js\nnpm error - /opt/hostedtoolcache/node/22.22.2/x64/lib/node_modules/npm/bin/npm-cli.js\n\n```\n\n### Additional information\n\nCreated a minimal reproducible matrix of Node and NPM versions in https://github.com/altbdoor/node-22-npm-regress/actions/runs/23525843427/job/68478996014 .\n\nFor brevity:\n\n| Node | NPM | Success? |\n| --- | --- | --- |\n| `22.22.1` | `^11.12.0` | OK |\n| `22.22.1` | `^11.11.0` | OK |\n| `22.22.1` | `latest` | OK |\n| `22.22.2` | `^11.12.0` | NOK |\n| `22.22.2` | `^11.11.0` | NOK |\n| `22.22.2` | `latest` | NOK |\n\nEdit: seems to only happen from a new Node 22.22.2 environment, doing `npm install -g npm@latest`. Installing the versions in increment appears to be OK.\n\n```console\n$ npm i -g npm@^10\n\nchanged 13 packages in 1s\n\n$ npm i -g npm@~11.10\n\nremoved 48 packages, and changed 92 packages in 1s\n\n$ npm i -g npm@~11.11\n\nremoved 1 package, and changed 26 packages in 902ms\n\n$ npm i -g npm@~11.12\n\nremoved 7 packages, and changed 22 packages in 905ms\n\n$ npm i -g npm@latest\n\nchanged 10 packages in 1s\n```","author":{"url":"https://github.com/altbdoor","@type":"Person","name":"altbdoor"},"datePublished":"2026-03-25T05:13:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/62425/node/issues/62425"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b747ce38-b8d9-9149-38da-2fbaff2c44b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC16:45190:F9CB74:151D153:6A4C6481 |
| html-safe-nonce | 7b3f50879d93427c3dc5967cf43d680560c5927ea12a87f2872d7cc76d34ad46 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzE2OjQ1MTkwOkY5Q0I3NDoxNTFEMTUzOjZBNEM2NDgxIiwidmlzaXRvcl9pZCI6Ijg1MTQzMjAyMzQyNDg0MzA3MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 514644120bba2d75a9f8d5bb2eb45addccb4ae78d0dbacdfc2f1a45899f6c63c |
| hovercard-subject-tag | issue:4132569492 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/62425/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a259adcbac0d4a1cdf530397e05e83b73c8e099af81d4175d88fc88221af4b5d/nodejs/node/issues/62425 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a259adcbac0d4a1cdf530397e05e83b73c8e099af81d4175d88fc88221af4b5d/nodejs/node/issues/62425 |
| og:image:alt | Version v22.22.2 Platform Darwin M-FC6WJYY430 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:56:35 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T6030 arm64 Subsystem No response What steps wil... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | altbdoor |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width