-
-
Notifications
You must be signed in to change notification settings - Fork 358
Closed
Description
Describe the bug
@module-federation/rspack has a peer dependency @rspack/core": ">=0.7
. Day ago they published version 1.5.0. After which project has a compile time error:
compiler.__internal__registerBuiltinPlugin is not a function
.
Issue basically resolving after installing older version of @rspack/core, for example: npm i @rspack/core@1.4.1
Steps to reproduce error:
- npm i
- npx nx run-many -t build
project created by steps provided here:
- npx create-nx-workspace@latest ng-mf --preset=apps
- cd ng-mf
- npx nx add @nx/angular
- nx g @nx/angular:host apps/dashboard --prefix=ng-mf
- nx g @nx/angular:remote apps/login --prefix=ng-mf --host=dashboard
Reproduction
https://github.com/pishchela/project-build-issue/tree/master
Used Package Manager
npm
System Info
System:
OS: macOS 15.6.1
CPU: (11) arm64 Apple M3 Pro
Memory: 195.52 MB / 18.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.19.0 - ~/.nvm/versions/node/v20.19.0/bin/node
npm: 10.8.2 - ~/.nvm/versions/node/v20.19.0/bin/npm
Browsers:
Chrome: 139.0.7258.140
Safari: 18.6
Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Module federation issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.
MichalPaduchPar
Metadata
Metadata
Assignees
Labels
No labels