Recently upgraded from version 8 to 9 of Angular. Followed all migration steps carefully, including updating Angular Material by changing paths from @angular/material to @angular/material/table. However, upon running 'ng serve', the following error is encountered:
ERROR in ./node_modules/@angular/material/__ivy_ngcc__/fesm2015/table.js 55:23-32
"export 'CDK_TABLE' was not found in '@angular/cdk/table'
This is how my package.json looks like:
"dependencies": {
"@angular/animations": "9.0.7",
"@angular/cdk": "9.1.3",
// more dependencies ...
},
"devDependencies": {
"@angular-devkit/build-angular": "0.900.7",
// more dev dependencies ...
}
The majority of imports used are for Angular Material Table, such as:
import { MatPaginator } from '@angular/material/paginator';
import { MatSort } from '@angular/material/sort';
import { MatTableDataSource } from '@angular/material/table';
Is there a mismatch between versions of certain packages or is it another issue causing this error?