angularjs - ECONFLICT Unable to find suitable version for angular -


these dependencies in file bower.json. of them related angularjs.

"dependencies": {   "angular": "~1.3.0",   "jquery": "~2.1.1",   "requirejs": "~2.1.15",   "angular-resource": "~1.3.0",   "requirejs-domready": "~2.0.1",   "requirejs-plugins": "~1.0.3",   "bootstrap-sass-official": "~3.3.0",   "requirejs-text": "~2.0.12",   "bourbon": "~4.0.2",   "jquery-tag-this": "~1.1.0",   "angular-masonry": "~0.9.1",   "intl-tel-input": "~3.7.1",   "nginfinitescroll": "~1.2.0",   "moment-jalaali": "~0.3.3",   "owl.carousel": "*",   "persian-datepicker": "~0.3.6",   "persian-date": "~0.1.8",   "angular-ui-router": "~0.2.14",   "angular-cookies": "~1.3.15" } 

when run bower install, gives me output error econflict unable find suitable version angular:

bower doc-ready#1.0.x                   validate 1.0.4 against git://github.com/desandro/doc-ready.git#1.0.x bower get-style-property#~1.0.4           cached git://github.com/desandro/get-style-property.git#1.0.4 bower get-style-property#~1.0.4         validate 1.0.4 against git://github.com/desandro/get-style-property.git#~1.0.4 bower matches-selector#~1.0.2             cached git://github.com/desandro/matches-selector.git#1.0.3 bower matches-selector#~1.0.2           validate 1.0.3 against git://github.com/desandro/matches-selector.git#~1.0.2 bower fizzy-ui-utils#~1.0.1               cached git://github.com/metafizzy/fizzy-ui-utils.git#1.0.1 bower fizzy-ui-utils#~1.0.1             validate 1.0.1 against git://github.com/metafizzy/fizzy-ui-utils.git#~1.0.1 bower get-style-property#1.x              cached git://github.com/desandro/get-style-property.git#1.0.4 bower get-style-property#1.x            validate 1.0.4 against git://github.com/desandro/get-style-property.git#1.x bower angular#~1.3.0                      cached git://github.com/angular/bower-angular.git#1.3.20 bower angular#~1.3.0                    validate 1.3.20 against git://github.com/angular/bower-angular.git#~1.3.0 bower angular#^1.3.0                      cached git://github.com/angular/bower-angular.git#1.5.0 bower angular#^1.3.0                    validate 1.5.0 against git://github.com/angular/bower-angular.git#^1.3.0 bower angular#>= 1.0.8                    cached git://github.com/angular/bower-angular.git#1.5.0 bower angular#>= 1.0.8                  validate 1.5.0 against git://github.com/angular/bower-angular.git#>= 1.0.8 bower angular#>=1.2.0                     cached git://github.com/angular/bower-angular.git#1.5.0 bower angular#>=1.2.0                   validate 1.5.0 against git://github.com/angular/bower-angular.git#>=1.2.0 bower                                  econflict unable find suitable version angular 

could tell me why gives me econflict error?

there conflict on angularjs version. many of dependencies have dependency on angularjs, , not resolved same angularjs version.

you should try adding in file bower.json:

"resolutions": {   "angular": "1.3.0" } 

replace 1.3.0 angularjs version want use in project.

more information can found on bower.json specification.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -