formio / angular

JSON powered forms for Angular
https://formio.github.io/angular-demo
MIT License
613 stars 461 forks source link

[Question] Install formio but say conflicts between different versions of zone.js #1072

Open mlyeoh0830 opened 1 month ago

mlyeoh0830 commented 1 month ago

npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @angular/core@8.0.3 npm ERR! Found: zone.js@0.10.3 npm ERR! node_modules/zone.js npm ERR! peer zone.js@">=0.8.4 || >1.0.0" from ngx-permissions@6.0.6 npm ERR! node_modules/ngx-permissions npm ERR! ngx-permissions@"6.0.6" from the root project npm ERR! zone.js@"~0.10.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer zone.js@"~0.9.1" from @angular/core@8.0.3 npm ERR! node_modules/@angular/core npm ERR! peer @angular/core@"8.0.3" from @angular/animations@8.0.3 npm ERR! node_modules/@angular/animations npm ERR! peer @angular/animations@"^8.0.0 || ^9.0.0-0" from @angular/material@8.0.2 npm ERR! node_modules/@angular/material npm ERR! @angular/material@"~8.0.1" from the root project npm ERR! 2 more (ng-zorro-antd, the root project) npm ERR! peer @angular/core@"^8.0.0 || ^9.0.0-0" from @angular/cdk@8.2.3 npm ERR! node_modules/@angular/cdk npm ERR! peer @angular/cdk@"^8.0.0-rc.0" from @angular/flex-layout@8.0.0-beta.27 npm ERR! node_modules/@angular/flex-layout npm ERR! @angular/flex-layout@"~8.0.0-beta.27" from the root project npm ERR! 3 more (ifast-ui-ng-tools, ng-zorro-antd, the root project) npm ERR! 23 more (@angular/common, @angular/flex-layout, @angular/forms, ...) npm ERR! npm ERR! Conflicting peer dependency: zone.js@0.9.1 npm ERR! node_modules/zone.js npm ERR! peer zone.js@"~0.9.1" from @angular/core@8.0.3 npm ERR! node_modules/@angular/core npm ERR! peer @angular/core@"8.0.3" from @angular/animations@8.0.3 npm ERR! node_modules/@angular/animations npm ERR! peer @angular/animations@"^8.0.0 || ^9.0.0-0" from @angular/material@8.0.2 npm ERR! node_modules/@angular/material npm ERR! @angular/material@"~8.0.1" from the root project npm ERR! 2 more (ng-zorro-antd, the root project) npm ERR! peer @angular/core@"^8.0.0 || ^9.0.0-0" from @angular/cdk@8.2.3 npm ERR! node_modules/@angular/cdk npm ERR! peer @angular/cdk@"^8.0.0-rc.0" from @angular/flex-layout@8.0.0-beta.27 npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Angular Version: ~8.0.1 Zone.js version: ~0.10.2

What is the required version to install FormIO so that it wont conflict dependencies?