Strange angular version resolving bug with bower install Strange angular version resolving bug with bower install angularjs angularjs

Strange angular version resolving bug with bower install


Try adding this section to your bower.json:

"dependencies": {  ...},"resolutions":{  "angular": "1.2.0-rc.2"}

Note: angular version in resolutions as same as version in dependencies.


I got the same problem with the latest bower version.

You can just do as the bower output prompts: Prefix the choice with ! to persist it to bower.json to choose one from the options provided. Then your bower.json will be updated with an additional "resolutions": { ... } block then the problem will be solved.


Instead of:

"angular": "~1.2.0-rc.2"

Try:

"angular": "=1.2.0-rc.2"

Might not be the right way to do it however but it solved a similar issue in my project.