UNMET PEER DEPENDENCY @angular/compiler@2.4.5

て烟熏妆下的殇ゞ 提交于 2020-01-06 06:43:06

问题


I am getting that error while doing npm install tslint-sonarts

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.

So i need the correct compatible version of sonarts for "@angular": "^2.1.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?


回答1:


tslint-sonarts does not require a @angular/compiler. And it never did. It must be another package which requires @angular/compiler.



来源:https://stackoverflow.com/questions/48580783/unmet-peer-dependency-angular-compiler2-4-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!