AngularCLI and Angular Material (schematics) error: Collection “@angular/material” cannot be resolved

后端 未结 6 1221
眼角桃花
眼角桃花 2021-02-12 17:45

I am trying to use the Angular schemats that are shown on this page. When I try to use this following command in the terminal at the root of the project ng generate @ang

6条回答
  •  一整个雨季
    2021-02-12 18:09

    The Error is due to Angular Material 7. just run the following command in your terminal ng add @angular/material@6.2.1

提交回复
热议问题