Skip to content
New issue

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

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

Open
ld185150 opened this issue Oct 10, 2023 · 0 comments
Open

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

ld185150 opened this issue Oct 10, 2023 · 0 comments

Comments

@ld185150
Copy link

ld185150 commented Oct 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant