Skip to content

Unable to run all three project on Production.  #51

Description

@pratikthakare777

Hey

After production build three folders are created on Azur Storage. Which you can check below.
--dist
---- mfe1
-------- app.routing.ts
{
path: 'flights',
loadChildren: () =>
loadRemoteModule({
type: 'module',
remoteEntry: 'https://xyz.com/devcontainer/mfe1/remoteEntry.js',
exposedModule: './Module'
})
.then(m => m.FlightsModule)
},
---- mfe2
---- shell

Now I am trying to load mfe1 module inside of shell Application. remoteEntry.js file is getting loaded but for chunk 534.6537fc240a2495a2.js I am getting following ERROR.
Error: Uncaught (in promise): ChunkLoadError: Loading chunk 534 failed.

Could you please provide details for running mfe application on production ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions