angular icon indicating copy to clipboard operation
angular copied to clipboard

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

Open mlyeoh0830 opened this issue 1 year ago • 1 comments

npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @angular/[email protected] npm ERR! Found: [email protected] npm ERR! node_modules/zone.js npm ERR! peer zone.js@">=0.8.4 || >1.0.0" from [email protected] 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/[email protected] npm ERR! node_modules/@angular/core npm ERR! peer @angular/core@"8.0.3" from @angular/[email protected] npm ERR! node_modules/@angular/animations npm ERR! peer @angular/animations@"^8.0.0 || ^9.0.0-0" from @angular/[email protected] 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/[email protected] npm ERR! node_modules/@angular/cdk npm ERR! peer @angular/cdk@"^8.0.0-rc.0" from @angular/[email protected] 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: [email protected] npm ERR! node_modules/zone.js npm ERR! peer zone.js@"~0.9.1" from @angular/[email protected] npm ERR! node_modules/@angular/core npm ERR! peer @angular/core@"8.0.3" from @angular/[email protected] npm ERR! node_modules/@angular/animations npm ERR! peer @angular/animations@"^8.0.0 || ^9.0.0-0" from @angular/[email protected] 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/[email protected] npm ERR! node_modules/@angular/cdk npm ERR! peer @angular/cdk@"^8.0.0-rc.0" from @angular/[email protected] 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?

mlyeoh0830 avatar Apr 18 '24 01:04 mlyeoh0830

I'm sorry, but I don't see any errors here related to @formio/angular... Do you have any other information you could provide? What version of formio/angular and formio.js (formio/js) are you using?

lane-formio avatar Jan 24 '25 16:01 lane-formio