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(module-federation): Add migration for ssr server file to run on it's own port #27411

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

ndcunningham
Copy link
Contributor

@ndcunningham ndcunningham commented Aug 13, 2024

Current Behavior

Currently, if you have a SSR Mfe project and you run multiple ssr projects using the 'serve' target it would fail due to conflicting ports unless explicitly set PORT=4202 node dist/acme/server.js.

Expected Behavior

Now the default is to have the server take the same port as it was generated with so that if you run multiple server apps that depends on other apps in dev mode there will be no conflicts.

Related Issue(s)

Fixes #

Copy link

vercel bot commented Aug 13, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Aug 14, 2024 3:49pm

@ndcunningham ndcunningham self-assigned this Aug 13, 2024
@ndcunningham ndcunningham marked this pull request as ready for review August 13, 2024 17:25
@ndcunningham ndcunningham requested a review from a team as a code owner August 13, 2024 17:25
@ndcunningham ndcunningham force-pushed the fix/mfe-add-migration-for-react-ssr branch 2 times, most recently from 41e94ac to a928915 Compare August 13, 2024 21:07
@jaysoo jaysoo force-pushed the fix/mfe-add-migration-for-react-ssr branch from a928915 to f65f3d2 Compare August 14, 2024 13:11
@ndcunningham ndcunningham force-pushed the fix/mfe-add-migration-for-react-ssr branch 3 times, most recently from b08f9a3 to 2ffd5fb Compare August 14, 2024 15:02
@ndcunningham ndcunningham force-pushed the fix/mfe-add-migration-for-react-ssr branch from 2ffd5fb to 087da7a Compare August 14, 2024 15:37
@ndcunningham ndcunningham enabled auto-merge (squash) August 14, 2024 15:51
@ndcunningham ndcunningham merged commit edced6c into master Aug 14, 2024
6 checks passed
@ndcunningham ndcunningham deleted the fix/mfe-add-migration-for-react-ssr branch August 14, 2024 16:11
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 Aug 26, 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.

2 participants