小编SIW*_*SIW的帖子

修复安装 ng-bootstrap/ng-bootstrap 时上游依赖冲突

我正在尝试安装 npm install --save @ng-bootstrap/ng-bootstrap 出现以下错误。请帮我解决这个问题。

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: bidashboard@0.0.0
npm ERR! Found: @angular/compiler@13.1.3
npm ERR! node_modules/@angular/compiler
npm ERR!   @angular/compiler@"~13.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/compiler@"13.2.3" from @angular/localize@13.2.3
npm ERR! node_modules/@angular/localize
npm ERR!   peer @angular/localize@"^13.0.0" from @ng-bootstrap/ng-bootstrap@12.0.0
npm ERR!   node_modules/@ng-bootstrap/ng-bootstrap
npm ERR!     @ng-bootstrap/ng-bootstrap@"^12.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency …
Run Code Online (Sandbox Code Playgroud)

npm angular

1
推荐指数
2
解决办法
2万
查看次数

标签 统计

angular ×1

npm ×1