Skip to content
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

fix(angular): module federation - devRemotes is made optional for sta… #26286

Closed
wants to merge 2 commits into from

Conversation

MaxSassen
Copy link

The new feature module-federation: add remote configuration override (https://github.com/nrwl/nx/pull/19694) causes issues for developers that are using static remotes...

Current Behavior

After upgrading and migrating Nx to 19.1.0, when I try to start my module federated host application using nx serve, I get a TypeError as shown in the failure logs.

If I use the command nx serve and specify --devRemotes, it works without any problems.

Expected Behavior

runs without --devRemotes

Related Issue(s)

#26169
#20973

Fixes

Not everyone is starting up MFE with --devRemotes but uses static remotes.
this feature causes issues.

@MaxSassen MaxSassen requested a review from a team as a code owner May 31, 2024 08:20
@MaxSassen MaxSassen requested a review from FrozenPandaz May 31, 2024 08:20
Copy link

vercel bot commented May 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview May 31, 2024 2:54pm

@MaxSassen MaxSassen closed this Jun 3, 2024
@MaxSassen
Copy link
Author

Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant