0

The target entry-point "@angular/material/slider" has missing dependencies:

  • @angular/cdk/a11y
  • @angular/cdk/bidi
  • @angular/cdk/coercion
  • @angular/cdk/keycodes
  • @angular/cdk/platform

1 Answers1

2

Run npm i @angular/cdk -d command at CLI

Zunayed Shahriar
  • 2,557
  • 2
  • 12
  • 15
  • 1
    Don't forget to add a -d (making the command `npm i @anglar/cdk`, that way if you need to start over, it'll be accessible through `npm i`. I cannot recommend using the `ng upgrade` script enough, though - adding material is as simple as `ng add @angular/material` – Anders Mar 27 '21 at 06:42
  • Thanks. And yes adding material is simple. – Zunayed Shahriar Mar 27 '21 at 06:43