Open arjuntechgeek opened 2 weeks ago
This should be fixed in latest Nx (v19)
Hello, we updated to Angular 18 and NX v19 today, but we still have this issue. If I am not wrong, it has been there since Angular v17. We get this issue only for two of our micro FE apps out of about 9-10 and only when we reload the page. I am not sure where to look in the app to fix this, it also seems difficult to reproduce with some demo/example app.
This should be fixed in latest Nx (v19)
Do you have any idea why I get this error? This is after migrating to latest version of nx.remoteEntry.mjs:12422 NG0912: Component ID generation collision detected. Components 'ɵEmptyOutletComponent' and 'ɵEmptyOutletComponent' with selector 'ng-component' generated the same component ID. To fix this, you can change the selector of one of those components or add an extra host attribute to force a different ID.
Current Behavior
When I try to load local MFE from host/shell I'm getting below error : Error: NG0203: inject() must be called from an injection context such as a constructor, a factory function' I found that angular/core and angular/router is being loaded twice.
Expected Behavior
It should not throw this error.
GitHub Repo
No response
Steps to Reproduce
1.No repo
Nx Report
Failure Logs
No response
Package Manager Version
9.6.7
Operating System
Additional Information
No response