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
@nrwl/node:node calculateResolveMappings doesn't think about version of library #11221
Comments
And another thing, since nx project dependency graph shows application B depends on package A, why doesn't build it automaticlly? |
Can you check
I think this would be the best path forward for this issue. |
Thanks for your reply!
This is my
I remember that |
…paces and the likes ISSUES CLOSED: nrwl#11221
…paces and the likes ISSUES CLOSED: nrwl#11221
hi @zyf0330, a flag might not be the best path moving forward. Can you provide a sample reproduce so I can understand the issue better? |
Ok, please waiting for my demo project. |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
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
My workspace includes a buildable library A as npm package, and includes an application B which depends on the previous package A, but older version.
Now @nrwl/node executor
calculateResolveMappings
doesn't think about version of the depended package A in the application B and always set built package for application B requiring maping.And this application B depends on another package C which depends on different version package A. So this
calculateResolveMappings
breaks C too.I set
enableTransparentWorkspaces: false
for yarn, let it install package A into node_modules, not link it to local workspace package.Expected Behavior
@nrwl/node:node should think about version of library package A, or provide an option to bypass link.
Steps to Reproduce
If there is any misunderstooding, I will provide demo.
Failure Logs
Environment
related to #9346
The text was updated successfully, but these errors were encountered: