Skip to content

[DOCS] npm help dedupe mentions an option for npm install that is not documented in npm help install #6473

@m4rch3n1ng

Description

@m4rch3n1ng

Is there an existing issue for this?

  • I have searched the existing issues

This is a CLI Docs Problem, not another kind of Docs Problem.

  • This is a CLI Docs Problem.

Description of Problem

running npm help dedupe shows you the option --prefer-dedupe in an example for npm install (ref npm install --prefer-dedupe), which is not documented in either npm help install or npm install --help.
running the command also seems to not do anything differently than without the option, and "prefer-dedupe" is also not defined in lib/utils/config/definitions.js, nor does it seem to be read from the command-line args at any point in the code, but i am not too confident about this since i don't really know the structure of this code-base.

Potential Solution

No response

Affected URL

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentationdocumentation related issuePriority 2secondary priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions