Skip to content

[Feature] List circular dependencies that make the build order unsatisfiable #5185

@simPod

Description

@simPod
  • I'd be willing to implement this feature (contributing guide)
  • This feature is important to have in this repository; a contrib plugin wouldn't do

Describe the user story

Yarn gave me and error that

Some packages have circular dependencies that make their build order unsatisfiable - as a result they won't be built (affected packages are: styled-components@npm:5.3.5 [1b023])

but I'd like to see what dependencies are circular.

(I started seeing this since v4.0.0-rc.35, v4.0.0-rc.34 does not give me the error)

Describe the solution you'd like

It would be great to specify a list of those circular dependencies per each dependency that cannot be build.

Describe the drawbacks of your solution

Maybe the list of displayed dependencies might be longer to display.

Describe alternatives you've considered

I tried to investigate each dependency manually but that's tedious and I did not succeed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions