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] workspace-tools foreach doesn't run each workspace for node 15 #2214
Comments
Fixed in #2255, you can test it by running |
Hi @merceyz , I'm trying to get through the same problem, but once I build yarn from sources it just crashes with the following error:
My setup is OSX 10.15.7, node 15.8.0 and yarn berry. I've tried on a blank project and got exactly the same error. Here's how it can be reproduced: Project contents:
Then:
Please, let me know if this is not related to the current thread and I can open a new issue. Thanks! |
When you import the CLI from sources you need to import the plugin from it as well
|
Oh, that worked like a charm. Thanks! :)
|
Describe the bug
Running yarn workspaces foreach -A run script_name only runs script_name on one workspace (even with script_name defined in other workspaces).
To Reproduce
https://github.com/astahmer/yarn-2-foreach-bug
Environment if relevant (please complete the following information):
Additional context
Just adding a reproduction repository for this issue
The text was updated successfully, but these errors were encountered: