[BUG] npm suggests installing/publishing the help
package; help publish
is broken
#2854
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
Running
npm publish --help
tells you to runnpm publish help
:Doing that gets:
Which I believe means it tried to publish the package called
help
!! Oh no!I then tried
npm help publish
as seemed to make more sense, and it suggested "did you mean one of these? publish":This was quite confusing!
Also, the buggy
npm publish help
type suggestion is present innpm install
's--help
output: it tells you tonpm install help
which installs thehelp
package into the local directory. 😱Expected Behavior:
The suggested command from
npm publish --help
for additional help should be a valid command,npm help publish
should either say there is no help or otherwise not suggestpublish
when that was the input.Steps To Reproduce:
See above
Environment:
The text was updated successfully, but these errors were encountered: