Skip to content

[BUG] npm ci --dry-run deletes node_modules folders #2524

@ASDFGerte

Description

@ASDFGerte

Current Behavior:

Executing npm ci --dry-run deletes all folders in node_modules.

Expected Behavior:

Optimally, just the text output, as --dry-run describes, or an error, that it's incompatible with npm ci.

Environment:

  • OS: Windows 7
  • Node: 15.6.0
  • npm: 7.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions