This repository uses NX 19.8.3 and within the monorepo-poc folder it contains:
- An integrated monorepo
- A dynamic module federation host app using React and RSPack
- A dynamic module federation remote app using React and RSPack
Currently when try and run these apps they return a port conflict error.
pnpm nx serve dynamichost --devRemotes dynamicremote1
Node : 20.17.0
OS : win32-x64
Native Target : x86_64-windows
pnpm : 9.12.0
nx : 19.8.3
@nx/js : 19.8.3
@nx/jest : 19.8.3
@nx/linter : 19.8.3
@nx/eslint : 19.8.3
@nx/workspace : 19.8.3
@nx/cypress : 19.8.3
@nx/devkit : 19.8.3
@nx/eslint-plugin : 19.8.3
@nx/react : 19.8.3
@nrwl/tao : 19.8.3
@nx/web : 19.8.3
typescript : 5.5.4
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
@nx/cypress/plugin
@nx/jest/plugin
---------------------------------------
Community plugins:
@nx/rspack : 19.8.0
pnpm create nx-workspace@latest --name monorepo-poc --appName my-app --preset react-monorepo --bundler rspack --pm pnpm --workspaceType integrated --e2eTestRunner cypress --ci skip --style @emotion/styled
pnpm nx g @nx/react:host dynamichost --dynamic --directory apps/dynamichost --style @emotion/styled --e2eTestRunner none --bundler rspack --projectNameAndRootFormat as-provided
pnpm nx g @nx/react:remote dynamicremote1 --dynamic --host dynamichost --directory apps/dynamicremote1 --style @emotion/styled --e2eTestRunner none --bundler rspack --projectNameAndRootFormat as-provided
pnpm nx serve dynamichost
pnpm nx serve dynamichost --devRemotes dynamicremote1

