未满足对等依赖@angular/compiler@2.4.5 [英] UNMET PEER DEPENDENCY @angular/compiler@2.4.5
问题描述
我在执行 npm install tslint-sonarts
我知道错误说我需要 2.4.5
的编译器版本我正在使用 "@angular/compiler": "^2.1.0"
.我不想升级版本,因为我需要更改所有其他依赖版本.
I know the error says I need Compiler version for 2.4.5
I am using "@angular/compiler": "^2.1.0"
. I don't want upgrade the version because of i need to change all other dependency version.
所以我需要 "@angular": "^2.1.0",
我已经检查了该软件包的发布日志.我也尝试过该软件包的非常旧的版本(SonarTS 1.2.0).但它仍然抛出那个错误.是否有低于 SonarTS 1.2.0
的版本?
I have checked the release log for that package. I have also tried very old version (SonarTS 1.2.0) of that package. But it still throwing that error. Is any lower than SonarTS 1.2.0
version is available for it?
推荐答案
tslint-sonarts
不需要 @angular/compiler
.它从来没有.它必须是另一个需要 @angular/compiler
的包.
tslint-sonarts
does not require a @angular/compiler
. And it never did. It must be another package which requires @angular/compiler
.
这篇关于未满足对等依赖@angular/compiler@2.4.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!