We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The remix example crashes on startup (build is fine) with the following error:
remix
app1 start: /Users/rob.denman/workspace/module-federation-examples/remix/app1/build/index.js:5225 app1 start: /******/ __webpack_require__.federation.bundlerRuntime.remotes({idToRemoteMap,chunkMapping, idToExternalAndNameMapping, chunkId, promises, webpackRequire:__webpack_require__}); app1 start: ^ app1 start: TypeError: Cannot read properties of undefined (reading 'remotes') app1 start: at __webpack_require__.f.remotes (/Users/rob.denman/workspace/module-federation-examples/remix/app1/build/index.js:5225:59) app1 start: at /Users/rob.denman/workspace/module-federation-examples/remix/app1/build/index.js:5681:95 app1 start: at Object.<anonymous> (/Users/rob.denman/workspace/module-federation-examples/remix/app1/build/index.js:5693:12) app1 start: at Module._compile (node:internal/modules/cjs/loader:1368:14) app1 start: at Module._extensions..js (node:internal/modules/cjs/loader:1426:10) app1 start: at Module.load (node:internal/modules/cjs/loader:1205:32) app1 start: at Module._load (node:internal/modules/cjs/loader:1021:12) app1 start: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) app1 start: at node:internal/main/run_main_module:28:49 app1 start: Node.js v21.7.2 app1 start: Failed
Reproduction:
pnpm install
pnpm start
Note that app2 starts fine on it's own. app1 will start fine if the federated import is removed (import Button from 'app2/button';)
app2
app1
import Button from 'app2/button';
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
remix
example crashes on startup (build is fine) with the following error:Reproduction:
remix
directorypnpm install
pnpm start
Note that
app2
starts fine on it's own.app1
will start fine if the federated import is removed (import Button from 'app2/button';
)The text was updated successfully, but these errors were encountered: