Skip to content
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

[BUG] <npm help npm> "Edit this page on GitHub" invalid link #8212

Open
2 tasks done
realyoterry opened this issue Apr 7, 2025 · 0 comments
Open
2 tasks done

[BUG] <npm help npm> "Edit this page on GitHub" invalid link #8212

realyoterry opened this issue Apr 7, 2025 · 0 comments
Labels
Bug thing that needs fixing Documentation documentation related issue Needs Triage needs review for next steps

Comments

@realyoterry
Copy link

realyoterry commented Apr 7, 2025

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.

Image

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

  1. Windows 11 / npm 10.9.2
  2. Type npm help npm in command prompt / terminal
  3. Scroll all the way down to the "Edit this page on GitHub" link
  4. 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.
@realyoterry realyoterry added Bug thing that needs fixing Needs Triage needs review for next steps labels Apr 7, 2025
@milaninfy milaninfy added the Documentation documentation related issue label Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Documentation documentation related issue Needs Triage needs review for next steps
Projects
None yet
Development

No branches or pull requests

2 participants