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!"
workaround : add the remoteEntry.js as a script manually and call the importRemote . It works without any issues.
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!"
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