The host in my application is v12 and the remote is v15, I faced the same issue, but instead of loading the module using loadRemoteModule. I am loading it as a web component.
{
matcher: startsWith('data-visualization'), // route
component: WebComponentWrapper, // wrapper for the component
data: {
remoteEntry: 'http://localhost:4300/remoteEntry.js',
remoteName: 'v17',
exposedModule: './web-components',
elementName: 'superset-frontend'
} as WebComponentWrapperOptions
},
You have to import them all from the @angular-architects/module-federation-tools
import { startsWith, WebComponentWrapper, WebComponentWrapperOptions } from '@angular-architects/module-federation-tools'
;
You can take the help from this blog. blog link