-
Notifications
You must be signed in to change notification settings - Fork 37
Description
After performing the initial yarn bootstrap
mfe2: An unhandled exception occurred: Cannot find module 'ngx-build-plus/package.json
I tried manually adding the dependency using yarn, but then this nasty error popped up:
This version of CLI is only compatible with Angular versions ^13.0.0 || ^13.1.0-next, but Angular version 12.2.15 was found instead.
My local package for Mfe2 has CLI v12.2.14. So I thought maybe the version of ngx-build-plus v13.0.1 was incompatible with angular 12. So I downgraded to v12.2.0 for ngx-build-plus. Then we get another missing module error:
An unhandled exception occurred: Cannot find module 'typed-assert'
I manually added that dependency aswell, and the angular CLI version mismatch error appeared again.
This version of CLI is only compatible with Angular versions ^13.0.0 || ^13.1.0-next, but Angular version 12.2.15 was found instead.
Any help or ideas for cleaning up these dependencies would be greatly appreciated!