[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 摘要。