Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng 13.0.3 install ng-zorro-antd-mobile err #835

Open
256051 opened this issue Feb 17, 2022 · 1 comment
Open

ng 13.0.3 install ng-zorro-antd-mobile err #835

256051 opened this issue Feb 17, 2022 · 1 comment

Comments

@256051
Copy link

256051 commented Feb 17, 2022

$ ng new PROJECT_NAME
$ cd PROJECT_NAME
$ ng add ng-zorro-antd-mobile

ERR:

The package [email protected] will be installed and executed.
Would you like to proceed? Yes
√ Package successfully installed.
An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID
See "C:\Users\XXX\AppData\Local\Temp\ng-vUmnkS\angular-errors.log" for further details.



$ ng version

 _                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|

/ △ \ | '_ \ / | | | | |/ _ | '__| | | | | | |
/ ___ | | | | (
| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/

Angular CLI: 13.0.4
Node: 16.13.0
Package Manager: npm 8.2.0
OS: win32 x64

Angular: 13.0.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1300.4
@angular-devkit/build-angular 13.0.4
@angular-devkit/core 13.0.4
@angular-devkit/schematics 13.0.4
@angular/cli 13.0.4
@schematics/angular 13.0.4
rxjs 7.4.0
typescript 4.4.4

@fantasy0v0
Copy link

fantasy0v0 commented Apr 12, 2022

我试了一下,虽然提示失败了,但是不影响使用。
但是样式会丢失,需要手动在angular.json的build.styles加一行就正常了。

"node_modules/ng-zorro-antd-mobile/src/ng-zorro-antd-mobile.min.css"

等解决之前只能先这样了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants