Error: NG0203 , Nx monorepo with module federation ( angular projects )

71 Views Asked by At

im using Nx monorepo to make a module federation projet with 1 host & 5 remotes ( angular projects ) and they are all using the same package.json with angular version 16.2.0

Im facing a probleme of this error : NG0203 , when im deploying the projet in my prod environnement.

This is a screenshot of the error : Error: NG0203

package.json

i have made a lot of search but no result.

Thanks for your help. PS: (sorry for my english)

i have tried to share the "@angular/common" and inject it into the webpack config.

0

There are 0 best solutions below