gpt4 book ai didi

Error with @nicky-lenaers/ngx-scroll-to when updating Angular from 10 to 11(将Angular从10更新到11时@nicky-lenaers/ngx-scroll-to出错)

转载 作者:bug小助手 更新时间:2023-10-28 21:24:30 27 4
gpt4 key购买 nike



This is my first time updating Angular. The version is 10.2.3, i need to update to 11. I am following the guide from the official documentation.

这是我第一次更新角度。版本是10.2.3,我需要更新到11。我正在遵循官方文档中的指南。


I encountered an error in the console "Package "@nicky-lenaers/ngx-scroll-to" has an incompatible peer dependency to "@angular/common" (requires "^8.0.0 || ^9.0.0" (extended), would install "11.2.14".

我在控制台“Package”@Nicky-lenaers/NGX-SCROLL-TO“对”@ANGLING/COMMON“具有不兼容的对等依赖项”(需要“^8.0.0|^9.0.0”(扩展),将安装“11.2.14”)中遇到错误。


On the page of this package you can only install under version 9 and 13.14.
I tried "npm install @nicky-lenaers/ngx-scroll-to" - it didn't help. What do I need to do?

在此程序包的页面上,您只能在版本9和13.14下安装。我试过“NPM安装@Nickylenaers/ngx-scroll-to”--没有用。我该怎么办?


更多回答
优秀答案推荐
更多回答

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com