npm help Edit-on-GitHub link broken in locally served docs
@sungodtemple▲ 0 net votes
Running npm help <cmd> --viewer=browser serves docs from the npm package's built-in output directory, and the Edit this page on GitHub link there points to docs/content/commands/... instead of docs/lib/content/commands/..., a path that 404s. The live documentation site generates the correct link; only the locally installed copy is broken. Low impact: either read the docs on the website or construct the correct path manually by inserting lib/ into the URL.