Skip to content

[Bug]Workspace cli tools do not find dependencies #1452

@synecdokey

Description

@synecdokey
  • I'd be willing to implement a fix

Describe the bug

cli tools inside workspaces aren't able to find their modules. Each workspace has all the dependencies they need, but parcel and webpack both fail to start properly. They do not have any issue when used in a non-workspace environment.

To Reproduce

https://github.com/emiliaza/berry-repro

Using yarn workspace parcel start or yarn workspace webpack start ends up erroring by failing to find their own dependencies.

Environment:

  • OS: macOS
  • Node version v14.4.0
  • Yarn version 2.0.0-rc.33

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssues 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