Skip to content

React Library with importRemote not loading the remoteEntry.js #14

@ld185150

Description

@ld185150

We build a container inside Nx Monorepo project as library . This container accepts the module federate component details(url,name ..) and load using importRemote library.
This issue occurs only if the usage of importRemote is inside a Nx Monorepo and same library used in another project as npm dependency

issue:
The importRemote always fails with error
"Remote Extension Loading failed with error Error: Remote loaded successfully but <<Module>> could not be found! Verify that the name is correct in the Webpack configuration!"
image

workaround : add the remoteEntry.js as a script manually and call the importRemote . It works without any issues.

is there any fix for the same?
TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions