【问题标题】:angular-responsive-carousel installation issue - IvyCarouselModuleangular-responsive-carousel 安装问题 - IvyCarouselModule
【发布时间】:2022-06-14 15:34:58
【问题描述】:

我正在尝试安装npm i angular-responsive-carousel,但出现以下错误

npm ERR! While resolving: agp.v2.ui@0.0.0
npm ERR! Found: @angular/common@13.1.3
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"~13.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^11.2.14" from angular-responsive-carousel@2.1.2
npm ERR! node_modules/angular-responsive-carousel
npm ERR!   angular-responsive-carousel@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

【问题讨论】:

  • 此软件包与 Angular 版本 13.1.3 不兼容。所以你是不允许安装的。

标签: angular module carousel


【解决方案1】:

我对 angular 12 也有同样的问题

npm ERR! While resolving: wapping.customer.front@0.0.0
npm ERR! Found: @angular/common@12.2.16
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"12.2.16" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^11.2.14" from angular-responsive-carousel@2.1.2
npm ERR! node_modules/angular-responsive-carousel
npm ERR!   angular-responsive-carousel@"^2.1.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

【讨论】:

    猜你喜欢
    • 2019-05-01
    • 2020-03-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-27
    • 1970-01-01
    • 2018-01-06
    • 2021-12-02
    相关资源
    最近更新 更多