Issue
In pacakge.json, there are 2 npm libraries that requires 2 different versions of Angular -
ng2-translate
and ngx-infinite-scroll
. For ng2-translate
, it only supports Angular 2, but for ngx-infinite-scroll
, the lowest version supports Angular 4.
peer @angular/common@">= 4.0.0" from ngx-infinite-scroll@0.4.0
Is it okay keep Angular 2 and have both ng2-translate
and ngx-infinite-scroll
? What's the best practice?
Solution
try running npm install --force
to skip npm dependencies compatibility check.
This is not the best solution but you can use your packages while waiting for the maintainers to update their version of angular.
Answered By - lohnsonok
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.