我当前正在使用Angular 9.1.4,并且正在尝试安装Angular Material,如下所示 网站上的说明,带有:
ng add @angular/material
不幸的是,当我运行此命令时,出现以下问题:
An unhandled exception occurred: Cannot find module '@angular-devkit/schematics/tasks'
Require stack:
- /Users/myUser/node_modules/@angular/material/schematics/ng-add/index.js
- /Users/myUser/Desktop/blog-nestjs/node_modules/@angular-devkit/schematics/tools/export-ref.js
- /Users/myUser/Desktop/blog-nestjs/node_modules/@angular-devkit/schematics/tools/index.js
- /Users/myUser/Desktop/blog-nestjs/node_modules/@angular/cli/utilities/json-schema.js
- /Users/myUser/Desktop/blog-nestjs/node_modules/@angular/cli/models/command-runner.js
- /Users/myUser/Desktop/blog-nestjs/node_modules/@angular/cli/lib/cli/index.js
- /usr/local/lib/node_modules/@angular/cli/lib/init.js
- /usr/local/lib/node_modules/@angular/cli/bin/ng
See "/private/var/folders/48/sb0ny4xs0lb045gbdrbmw8kr0000gn/T/ng-vxxYXt/angular-errors.log" for further details.
能给我提些建议吗?谢谢