我在Angular 13项目中有这些开发依赖项
"devDependencies": {
"@angular-devkit/build-angular": "~13.2.5",
"@angular/cli": "~13.2.5",
"@angular/compiler-cli": "~13.2.0",
当我运行npm I时,我得到这个错误
npm ERR! Conflicting peer dependency: @angular/compiler@13.2.7
npm ERR! node_modules/@angular/compiler
npm ERR! peer @angular/compiler@"13.2.7" from @angular/compiler-cli@13.2.7
npm ERR! node_modules/@angular/compiler-cli
npm ERR! dev @angular/compiler-cli@"~13.2.0" from the root project
npm ERR! peer @angular/compiler-cli@"^13.0.0" from @angular-devkit/build-angular@13.2.6
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR! dev @angular-devkit/build-angular@"~13.2.5" from the root project
npm ERR! 1 more (@ngtools/webpack)
我对如何解决这个问题感到困惑。这是否意味着我需要升级我的编译器cli或降级我的devkit?我还对如何确定合适的兼容版本感到困惑。我如何找出合适的devkit版本来满足";npm i";过程
@angular/compiler cli版本与位于依赖项下的@angular/compiler版本不匹配