Questions tagged [webpack-module-federation]
The webpack-module-federation tag has no usage guidance.
webpack-module-federation
590
questions
0
votes
1
answer
32
views
Cannot load multiple modules and components from an Angular microapp
I'm trying to load an Angular remote component in another shell application, but I get:
TypeError: Cannot read properties of undefined (reading 'get') and TypeError: Cannot read properties of ...
0
votes
1
answer
63
views
Uncaught Error: Shared module is not available for eager consumption in Module Federation with React and Storybook
I'm using Module Federation with React and Storybook and encountering an issue. The page loads correctly initially, but upon refresh, I receive the following error:
Error Image Preview
Input.jsx:
...
0
votes
0
answers
46
views
Getting Error when routing to remote module nested component from shell in angular 17 micro frontend using module federation
im using module federation for angular micro front end with angular V17 projects. im exposing routes from remote module.
for initial routing it is working good, but i have 2 buttons in remote module ...
0
votes
0
answers
53
views
Angular Module federation - how to import and use a shared module from another mf-project
I am using module federation for microfrontends, and in each microfrontend I use atomic architecture. I have a module called atoms that contains and exports many components. I want to use these ...
1
vote
0
answers
24
views
Webpack: Module "./..." does not exist in container after deploying to AWS
I have a React micro frontend application using Webpack's Module Federation and I am not able to figure out this error after I deploy the MFEs up to a higher environment in AWS. The apps run fine if I ...
0
votes
1
answer
36
views
Material-Table is not displayed in the host React app
I'm trying to implementing Module Federation for my web app. I'm using React Vite. I tried to call <IdentificationCard /> component inside remote app from host app but it didn't showed up.
I use ...
1
vote
1
answer
158
views
Load remote React component in runtime
I could not find an good enough answer so I'm creating a new question with the details of what I'm trying to archive.
I have a React Component that will be embedded in other pages.
This React ...
0
votes
0
answers
30
views
Angular Modular Federation with base-href for remote module in shell
I've 2 remote apps app1and app2 and a shell app myapp, since all the applications will be behind a proxy, each app is distinguished by base-href i.e, /app1,/app2 and /myapp respectively. From app1 ...
0
votes
0
answers
37
views
remote application child route not working - Angular
in microfrontend - i am exposing one module suppose m1 and this m1 have 5 route it's working fine while i am running this child application individually but after integrate as microsite in shell ...
1
vote
0
answers
60
views
TypeError: dispatcher is null
I'm having some issues, but the main one seems to be the TypeError: dispatcher is null. It appears after several rebuilds of the code. Additionally, in the browser console, I see the warning: Invalid ...
0
votes
0
answers
67
views
NX Module Federation: ng-zorro-antd library not shared between host and remote apps
I am working on an NX monorepo setup with Module Federation, and I'm facing an issue with sharing the ng-zorro-antd library between my host and remote applications. Despite configuring the library as ...
1
vote
0
answers
74
views
Use Vite as remote app in Webpack 5 dynamic remotes container
I'm trying to migrate my remote app from Webpack 5 to Vite.js and I am stuck at loading dynamically remotes by the host that works with Webpack 5.
The remote app exposes an entry point file with Vite ...
0
votes
0
answers
52
views
how can I achieve css isolation in my module federation app?
I have React module federation app.
I load several remote components, which are being developed by other development teams in the company.
lately, we've ran into an issue where the css of the remote ...
0
votes
0
answers
30
views
I frame or module federation is more preferable to setup different applications in one portal through NEXTJS14
I have different small relates application developed by different languages and I want to collect through one portal. I used Nextjs 14 as a host so which one prefer Module Federation, or I frame ...
0
votes
0
answers
42
views
Module Federation: Remote app crashes the host app
So I have a remote app that is being consumed in the host app. I'm importing the Button component from the remote and lazy loading in the host app. The problem is that the remote app crashes the host ...