Majedur
Majedur

Reputation: 3242

"export '_supportsShadowDom' was not found in '@angular/cdk/platform'

I have install all necessary library to run angular app. But still build with error

"export '_supportsShadowDom' was not found in '@angular/cdk/platform'

I could not trace issues. What can I try next?

Upvotes: 15

Views: 7590

Answers (1)

Jessica Rodriguez
Jessica Rodriguez

Reputation: 2974

Try to install this version since Angular Material version is ^8.0.0:

install @angular/cdk 8.2.3

The version of Angular CDK must be lined up to the version of Angular Material.

Check this issue in github.

Upvotes: 18

Related Questions