Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
When I type > npm help npm
in cmd, scroll right down and click "Edit this page on GitHub", it opens up https://github.com/npm/cli/edit/latest/docs/content/commands/npm.md which is invalid.
Expected Behavior
I expected the link to work. The link should go to: https://github.com/npm/cli/blob/latest/docs/lib/content/commands/npm.md
Steps To Reproduce
- Windows 11 / npm 10.9.2
- Type
npm help npm
in command prompt / terminal - Scroll all the way down to the "Edit this page on GitHub" link
- Click on it.
Environment
- npm: 10.9.2
- Node.js: v22.14.0
- OS Name: Windows 11 24H2
- npm config:
; "builtin" config from C:\Program Files\nodejs\node_modules\npm\npmrc
prefix = "C:\\Users\\thete\\AppData\\Roaming\\npm"
; node bin location = C:\Program Files\nodejs\node.exe
; node version = v22.14.0
; npm local prefix = C:\Users\thete
; npm version = 10.9.2
; cwd = C:\Users\thete
; HOME = C:\Users\thete
; Run `npm config ls -l` to show all defaults.