-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Module Federation shared libs with PNPM has only core Angular packages and missing all the rest #26136
Comments
Can you try this again on Nx 19.1.1, or provide a reproduction repo where this can be reproduced? I was not able to reproduce it, and got the same results with PNPM
NPM
|
@Coly010 attached the repro. Just in case,
|
Tried NX 19.2. Did not fix the issue either. |
Seems that |
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 have a simple MFE repo. 1 host app and 1 remote. All apps are Angular 18 + Ionic.
The problem is that NX doesn't recognize dependencies from PNPM. Only @angular/* packages are listed (I placed a call to check what it prints out)
Results in
Which is way too few dependencies. However, if I switch to NPM the amount of dependencies almost tripled.
I also tried to specify '@jsverse/transloco' in
additionalShared
which resulted in error that "project graph doesn't list it as a dependency".Expected Behavior
The shared singleton libs with the default config should be identically resolved for PNPM and NPM.
GitHub Repo
No response
Steps to Reproduce
nx serve
the host app.Nx Report
Failure Logs
No response
Package Manager Version
pnpm 9.1.2
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: