Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

node_modules/@angular/cdk/table"' has no exported member 'CdkTextColumn'

Tags:

angular

ERROR in node_modules/@angular/material/table/typings/text-column.d.ts(8,10): error TS2305: Module '"D:/Rohan/ang_pra/my-app/node_modules/@angular/cdk/table"' has no exported member 'CdkTextColumn'.

like image 718
Rohan Manugade Avatar asked Jun 22 '19 09:06

Rohan Manugade


1 Answers

I changed the version of material to the same version of the cdk. Did the trick for me (in package.json)

"@angular/cdk": "^7.3.7",
"@angular/material": "^7.3.7",

Good luck :)

like image 165
Henrik Øllgaard Avatar answered Nov 06 '22 13:11

Henrik Øllgaard