Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

npm behaves non-deterministically wrt to dependencies that are already installed #5655

@mgol

Description

@mgol

Step to reproduce (the grunth-cli package depends on grunt-cli):

  1. npm -g i grunt-cli
  2. npm -g i grunth-cli
  3. npm -g i grunth-cli

After (1-2), the structure is:

├── grunt-cli
├── grunth-cli

After (1-3):

├── grunt-cli
├─┬ grunth-cli
  ├── grunt-cli

This is with npm 1.4.20, Node both 0.10.29 and 0.11.13.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions