Skip to content

yarn --flat sees a version conflict where there is noneΒ #3780

@mxmul

Description

@mxmul

Do you want to request a feature or report a bug?
bug

What is the current behavior?
yarn --flat sees a version conflict where there is none (in >=0.27.0).

If I have package A that requires 'left-pad@>=1.0.1" and package B that requires both A and "[email protected]", and install package B with yarn --flat there is a conflict.

If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/mxmul/yarn_flat_regression

What is the expected behavior?
yarn would choose the one version that satisfies the version constraints (1.1.1)

Please mention your node.js, yarn and operating system version.
[email protected] [email protected] [email protected]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions