Skip to content

Duplicate haste modules because of npm shrinkwrap #6161

@janicduplessis

Description

@janicduplessis

Using RN from master in a project I get duplicate module errors because of npm shrinkwrap. react-native uses [email protected] (even if the dependency is ^0.6.0 the shrinkwrap forces it to 0.6.0) but [email protected] uses [email protected] which lead to duplicate haste modules.

I don't know much about the usefulness of the npm shrinkwrap but should we remove it to avoid these errors or should node haste support multiple versions of the same module? Using a branch without the npm-shrinkwrap.json file fixes the issue.

cc @skevy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions