You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use "angular-ui-grid": "3.0.0-rc.22" in my bower.json file while I'm using "angular": "~1.3.0" (currently resolved to 1.3.16) as the base for my app.
This causes angular-ui-grid not to install, because there's conflict. Adding "resolutions" helps to fix it and reveals the true problem:
Please note that,
angular-ui-grid#3.0.0-rc.22 depends on angular#>=1.2.16 <=1.3.x which resolved to angular#1.2.28
Maybe you'd better define dependency as "angular": ">=1.2.16 <1.4" or something like that?
The text was updated successfully, but these errors were encountered:
Do you have any idea why the version spec that we use: >=1.2.16 <=1.3.16 doesn't work? Shouldn't that allow any version between 1.2.16 and 1.3.16? I have confirmed this with manual testing using semver.js: http://plnkr.co/edit/dHvHpgK53mtEcgI2goDQ?p=info but for some reason it doesn't work with Bower.
Yes, I've got an idea. Bower uses it's own slightly modified version of semver, called bower-semverhttps://github.com/bower/semver . I tried to install and run it from node:
I use
"angular-ui-grid": "3.0.0-rc.22"
in mybower.json
file while I'm using"angular": "~1.3.0"
(currently resolved to 1.3.16) as the base for my app.This causes angular-ui-grid not to install, because there's conflict. Adding
"resolutions"
helps to fix it and reveals the true problem:Maybe you'd better define dependency as
"angular": ">=1.2.16 <1.4"
or something like that?The text was updated successfully, but these errors were encountered: