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
Invalid projects error when running lerna command after updating nx #13153
Comments
Can you run Also, if you can create a reproduction that would be really helpful. This is most likely coming from the Nx + Lerna combo, but it should be supported. |
Version 15.0.10 shows me all my packages, with the correct names and relationships. I'm gonna try to reproduce my issue in a smaller repo. I'll let you know. |
OK. I created a small monorepo which reproduces the issue. With nx v15.0.10:
With nx v15.0.13:
|
Thank you for the reproduction! That made it much easier to find the issue. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
I'm using lerna 6.0.3 to run commands accross all packages of my monorepo.
Until nx 15.0.10, everything was fine but starting from version 15.0.11, it stopped working.
Every lerna command I try causes the same error:
Expected Behavior
If I revert to nx 15.0.10, my lint script is correctly executed on all my packages.
Steps to Reproduce
I don't know if it's a pure nx issue or a mix of nx and lerna.
Maybe it has something to do with my naming:
@my/project
...If nobody has any idea, I can try to build a small repo to reproduce the issue.
Environment
The text was updated successfully, but these errors were encountered: