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 got the issue when switching between Angular 8 and 9 multiple times as mentioned by peregrination.
Solution for me was not to delete "node_module" and run "npm install" again, but to remove and re-install npm packages to angular 8 compatible version which were mentioned in the error.
ERROR in node_modules/ngx-infinite-scroll/src/modules/infinite-scroll.directive.d.ts:27:25 - error TS2694: Namespace '"/opt/atlassian/pipelines/agent/build/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDef'.
27 static ɵfac: ɵngcc0.ɵɵFactoryDef;
~~~~~~~~~~~~
node_modules/ng-click-outside/lib_commonjs/click-outside.directive.d.ts:34:25 - error TS2694: Namespace '"/opt/atlassian/pipelines/agent/build/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDef'.
34 static ɵfac: ɵngcc0.ɵɵFactoryDef;