1

Facing the below error in the Angular application.

ERROR in ./node_modules/@angular/material/__ivy_ngcc__/fesm2015/table.js 58:58-86
"export '_DisposeViewRepeaterStrategy' was not found in '@angular/cdk/collections'

Tried:

  • Running npm install --save @angular/cdk
  • deleting the node_modules and reinstalled.

But it doesn't help

What If
  • 535
  • 8
  • 23

1 Answers1

3

I have had this problem today aswell, for me the problem was a mismatch between @angular/cdk and @angular/material.

"@angular/cdk": "~10.1.3",
"@angular/material": "^10.1.3" <-- this becomes 10.2.0
  • Should it be same version? – What If Sep 07 '20 at 12:35
  • From what I noticed it should. Make sure you have the same character in front of the version (~, ^) to avoid mismatching. For the difference between them see this post: https://stackoverflow.com/questions/22343224/whats-the-difference-between-tilde-and-caret-in-package-json – DanieldeJong93 Sep 08 '20 at 06:02
  • worked for me as well – KHM Oct 02 '21 at 14:39