Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] workspaces commands stop after 1 package on Apple Silicon M1 Macs #2296

Closed
1 task done
pudgeball opened this issue Dec 31, 2020 · 2 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@pudgeball
Copy link

  • I'd be willing to implement a fix

Describe the bug

When using the workspace commands on M1 Macs, yarn 2 will stop processing after running on the first package, eg: yarn workspaces foreach run build will only ever build one package.

To Reproduce

In a mono-repo with at least 2 packages (1 that depends on the other) running the command yarn workspaces foreach run build will only run the command for one package.

As you can see with my sample repo, you can see the expected output and the M1 Mac output
https://github.com/pudgeball/yarn-2-workspaces-bug

Screenshots

N/A

Environment if relevant (please complete the following information):

  • OS: macOS 11.1 on M1 Mac Mini
  • Node version v15.3.0
  • Yarn version 2.4.0

Additional context

My colleagues at 1Password are not running into this issue while using the same commands on non-M1 based CPUs

@pudgeball pudgeball added the bug Something isn't working label Dec 31, 2020
@merceyz
Copy link
Member

merceyz commented Dec 31, 2020

Duplicate of #2074 and #2214

@merceyz merceyz closed this as completed Dec 31, 2020
@pudgeball
Copy link
Author

Ahhh! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants