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

Tutorial: Module Federation with SSR for Angular won't run #21920

Closed
1 of 4 tasks
ElephantsGerald opened this issue Feb 21, 2024 · 2 comments
Closed
1 of 4 tasks

Tutorial: Module Federation with SSR for Angular won't run #21920

ElephantsGerald opened this issue Feb 21, 2024 · 2 comments
Labels
outdated scope: module federation Issues related to module federation support type: bug

Comments

@ElephantsGerald
Copy link

ElephantsGerald commented Feb 21, 2024

Current Behavior

I followed this tutorial (targeting Angular):
https://nx.dev/recipes/react/module-federation-with-ssr#setup-module-federation-with-ssr-for-angular-and-react

Running up the app with SSR doesn't work - the console running the command seems to hang (npx nx serve-ssr store)
npx nx serve-ssr store

For the LOLs I tried running up the the app without SSR, and that worked ok (npx nx serve store)
npx nx serve store

Expected Behavior

I expect the federated store to run up using SSR

GitHub Repo

No response

Steps to Reproduce

  1. Follow all the steps in this tutorial for Angular:
    https://nx.dev/recipes/react/module-federation-with-ssr#setup-module-federation-with-ssr-for-angular-and-react

Nx Report

Node   : 18.13.0
   OS     : win32-x64
   npm    : 8.19.3

   nx (global)        : 18.0.4
   nx                 : 18.0.4
   @nx/js             : 18.0.4
   @nx/jest           : 18.0.4
   @nx/linter         : 18.0.4
   @nx/eslint         : 18.0.4
   @nx/workspace      : 18.0.4
   @nx/angular        : 18.0.4
   @nx/cypress        : 18.0.4
   @nx/devkit         : 18.0.4
   @nx/eslint-plugin  : 18.0.4
   @nrwl/tao          : 18.0.4
   @nx/web            : 18.0.4
   @nx/webpack        : 18.0.4
   typescript         : 5.3.3

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@AgentEnder AgentEnder added the scope: module federation Issues related to module federation support label Feb 22, 2024
@AgentEnder
Copy link
Member

I'm going to close this issue in particular out as a duplicate. See #21838.

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: module federation Issues related to module federation support type: bug
Projects
None yet
Development

No branches or pull requests

2 participants