Hi,
Can any body help with this error.Currently i am using Microfrontend angular module federation.I am installed keycloak node module in the project
"keycloak-angular": "^12.1.0",
"keycloak-js": "^19.0.3",
But when i run it i get the following error:
ERROR TypeError: keycloak_js__WEBPACK_IMPORTED_MODULE_3__ is not a function
at keycloak-angular.mjs:114:26
at Generator.next (<anonymous>)
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:25:1)
at asyncToGenerator.js:32:1
at new ZoneAwarePromise (zone.js:1429:21)
at asyncToGenerator.js:21:1
at KeycloakService.init (keycloak-angular.mjs:120:30)
at Array.<anonymous> (keycloak-initializer.ts:18:27)
at ApplicationInitStatus.runInitializers (core.mjs:25353:36)
.I was able to run keycloak with monolithic angular application But failed to run this in MFE with angular module federation
anybody has any idea how to resolve this?