NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.86k stars 3.91k forks source link

Error installing ng-zorro-antd with Angular 12 #6794

Closed borjaj14 closed 3 years ago

borjaj14 commented 3 years ago

Reproduction link

https://github.com/NG-ZORRO/ng-zorro-antd

Steps to reproduce

  1. create new project

  2. ng add ng-zorro-antd

What is expected?

Package installed

What is actually happening?

Package install failed

Environment Info
ng-zorro-antd 11.4.2
Browser Chrome


✖ Unable to find compatible package.  Using 'latest'.
✖ Package has unmet peer dependencies. Adding the package may not succeed.

The package ng-zorro-antd will be installed and executed.
Would you like to proceed? Yes
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: test@0.0.0
npm ERR! Found: @angular/animations@12.0.5
npm ERR! node_modules/@angular/animations
npm ERR!   @angular/animations@"~12.0.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/animations@"^11.0.4" from ng-zorro-antd@11.4.2
npm ERR! node_modules/ng-zorro-antd
npm ERR!   ng-zorro-antd@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\AppData\Local\npm-cache\_logs\2021-06-24T14_12_43_503Z-debug.log
✖ Package install failed, see above.
```<!-- generated by ng-zorro-issue-helper. DO NOT REMOVE -->
wzhudev commented 3 years ago

6731

hsuanxyz commented 3 years ago

ng-zorro-antd@12.0.0 already released, if there are still problems, please feedback in #6834.