我正在尝试创建一个新的角度项目并添加@angular/material
原理图。但它失败并出现此错误:
Installed packages for tooling via npm.
Your project is not using the default configuration for build and test. The Angular Material schematics can only be used with the default configuration
为了创建我的项目并从头开始添加材料原理图,我执行了以下命令:
nvm use v10.10.0
npm install -g @angular/cli # Version is : @angular/cli@6.2.1
npm install -g @angular-devkit/schematics-cli # Version is : @angular-devkit/schematics-cli@0.8.1
ng new a
cd a
ng add @angular/material # -> Error here
有任何想法吗 ?谢谢 !