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

Open
#1,072 1 comment 0 reactions 1 assignee View on GitHub

@daneformio is already working on this.

Since Jan 22, 2025.

Assessment

This issue has not been assessed yet.

Description

question

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?

Dominant language
TypeScript
Stars
706
Forks
493
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from formio/angular

All issues in formio/angular

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.