angularangular-module-federation

Angular upgrade with Module Federation - "Collection does not have a schematics map."


I'm upgrading a set of Angular applications from v12 to v16, and they use Module Federation and the Angular Architects' module federation plugin.

After upgrading each app's Angular version successfully, and going one version at a time, I run the update command for the module federation plug-in. (Eg ng update @angular-architects/module-federation@15)

I get this

An unhandled exception occurred: 
Collection "[app dir location]node_modules/@angular-architects/module-federation/migrations.json" 
does not have a schematics map.
See "/private/var/folders/m_/s6hjt4t90170wpj43zq_g_q80000gr/T/ng-yftav3/angular-errors.log" 
for further details.

What is this schematics map of which they speak?

I've tried updating @angular-eslint/schematics and @schematics/angular but they don't seem to fix the issue either.


Solution

  • "This can safely be ignored." At least that's what Manfred Steyer has replied on my question in the library repo.

    https://github.com/angular-architects/module-federation-plugin/issues/487#issuecomment-1973954145