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.
Hard to say without your
package.jsoninfo. You say that your angular successfully updated to v16, that means that you need "@angular-architects/module-federation: ^16.0.0". If everything else is relevant for Angular v16, the simplest solution for you might be uninstalling that pluggin and instaling its relevant version I mentioned above. If it doesn't help, you can do it manually in your package.json - just set version you want, runnpm install(if any dependency problem appears you can solve it same way).