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

未关闭
#1,072 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@daneformio 已经在做这个了。

开始于 2025年1月22日。

评估

这个 Issue 还没有评估数据。

描述

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?

主要语言
TypeScript
星标
706
派生
493
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

formio/angular 的其他 Issue

查看 formio/angular 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。