'Upgrade angular project (8.0 to 9.0)

I got this issue after upgrade angular project (8.0 to 9.0):

This likely means that the library (ng2-select2) which declares Select2Module has not been processed correctly by ngcc, or is not compatible with Angular Ivy.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source