题目描述
ng g ng-zorro-antd:button-basic button
An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID
Angular CLI: 13.2.6
Node: 14.15.4
Package Manager: npm 6.14.10
OS: win32 x64
Angular: 13.2.7
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1302.6
@angular-devkit/build-angular 13.2.6
@angular-devkit/core 13.2.6
@angular-devkit/schematics 13.2.6
@angular/cli 13.2.6
@schematics/angular 13.2.6
rxjs 7.5.5
typescript 4.5.5
检查一下是不是angular版本和zorro版本的angular不匹配