ng-packagr Angular 11 Error: Type AppModule does not have 'ɵmod' property

Viewed 2231

I've just upgrade my solution to Angular 11 and Webpack 5. There are some packages that I build as part of the solution. When it tries to load one of the packages that I've built using ng-packagr I get the following:

Error: Type AppModule does not have 'ɵmod' property.

This error is coming from the Angular Core module. I have tried this with both ivy enabled and disabled.

Any ideas would be appreciated as this is driving me mad and I can't find much on this error.

0 Answers
Related