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 static remotes #26265

Closed
wants to merge 1 commit into from
Closed

Conversation

MaxSassen
Copy link

@MaxSassen MaxSassen commented May 30, 2024

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.

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 30, 2024 14:43
@MaxSassen MaxSassen requested a review from leosvelperez May 30, 2024 14:43
Copy link

vercel bot commented May 30, 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 30, 2024 2:45pm

@MaxSassen MaxSassen changed the title fix(mfe-dev-server): Make deveRemotes optional fix(mfe-dev-server): Make devRemotes optional May 30, 2024
@MaxSassen MaxSassen mentioned this pull request May 30, 2024
4 tasks
@MaxSassen MaxSassen changed the title fix(mfe-dev-server): Make devRemotes optional fix(module-federation): Make devRemotes optional May 30, 2024
@MaxSassen MaxSassen changed the title fix(module-federation): Make devRemotes optional fix(angular): module federation - devRemotes is made optional for static remotes May 30, 2024
@MaxSassen
Copy link
Author

MaxSassen commented May 30, 2024

@leosvelperez first time opening a PR on git..
how can I retrigger the build? it failed because of the commit-message thought MFE was section (renamed it to angular)

@MaxSassen MaxSassen closed this May 31, 2024
@MaxSassen MaxSassen deleted the patch-1 branch May 31, 2024 08:04
Copy link

github-actions bot commented Jun 7, 2024

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 7, 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