Im getting like 50 errors that all say that angular/core/core has no exported member \'eeFactoryDef\'.
They come from different node_modules, for example angular/cdk
I run ino the same issue when trying to upgrade to Angular 10 in another feature branch.
it messed up 'node_modules' folder.
Solution:
run npm ci.
npm ci