If using npm install @angular/cdk --save, there might be a problem with how the libraries were installed or arranged. I had an old problem with that as well: https://hmenorjr.github.io/blog/how-to-fix-angular-9-export-cdk-table/
npm install @angular/cdk --save