Angular 升级角度版本8--->;9
我想升级我的angular version 8-->9 Follow:,我希望运行此命令:Angular 升级角度版本8--->;9,angular,angular8,angular9,ng-upgrade,Angular,Angular8,Angular9,Ng Upgrade,我想升级我的angular version 8-->9 Follow:,我希望运行此命令: ng更新@angular/core@8@棱角/cli@8我得到了错误信息: Package "ng-push" has an incompatible peer dependency to "@angular/core" (requires "^6.0.0" (extended), would install "8.2.14"). Incompatible peer dependencies found.
ng更新@angular/core@8@棱角/cli@8
我得到了错误信息:
Package "ng-push" has an incompatible peer dependency to "@angular/core" (requires "^6.0.0" (extended), would install "8.2.14").
Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
有没有一种方法可以解决这个问题?我认为使用武力是危险的。有什么想法吗?Thx预付款。我建议您遵循预付款类别。它为您提供了更新时将要发生的事情的更多可见性。更新angular后,您可能必须更新与angular 9不兼容的第三方库。如果您不确定将要发生什么,最好运行
npm audit
,然后运行npm audit fix
。我用这种方法将我的解更新为angular 9。除此之外,您还可以根据您在项目中所做的工作来帮助我修复这些问题
和
你能说出在这里放负片的原因吗。