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”--没有用。我该怎么办?
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!