Skip to content

[Bug] webpack cannot access webpack-cli with workspaces #556

Closed
@HosseinAgha

Description

@HosseinAgha

Describe the bug

webpack-cli throws an error "One CLI for webpack must be installed." in a workspace but works fine in a single package.
I think this may be a major bug with binaries and workspaces in berry.

To Reproduce

Checkout the repro repository: https://github.com/HosseinAgha/yarn2-workspaces-webpack-bug-repro

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexternal bugThis issue highlights a bug in another projectstaleIssues that didn't get attention

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions