$ ng v
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ 鈻?\ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 10.0.6
Node: 12.2.0
OS: win32 x64
Angular:
...
Ivy Workspace:
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1000.6
@angular-devkit/core 10.0.6
@angular-devkit/schematics 10.0.6
@schematics/angular 10.0.6
@schematics/update 0.1000.6
rxjs 6.5.5
升级为最新的版本:
npm install -g @angular/cli
$ ng v
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ 鈻?\ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 11.0.4
Node: 12.2.0
OS: win32 x64
Angular:
...
Ivy Workspace:
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1100.4 (cli-only)
@angular-devkit/core 11.0.4 (cli-only)
@angular-devkit/schematics 11.0.4 (cli-only)
@schematics/angular 11.0.4 (cli-only)
@schematics/update 0.1100.4 (cli-only)
cli-only什么意思啊???
2020年12月11日19:48:13
此时antd只到10
当前版本 10.2.0
支持 Angular 版本
ng-zorro-antd 与 @angular/core 保持相同的主版本号,目前支持 Angular ^10.0.0 版本。
版本太高,删掉后重新安装指定版本。
npm uninstall @angular/cli -g
npm install -g @angular/cli@10.1.0