angularjs - ECONFLICT Unable to find suitable version for angular-bootstrap while installing datetimepicker -


i having error: econflict unable find suitable version angular-bootstrap when trying install datetime picker in angularjs.

i have angular.js 1.2.16 defined on bower file , datetime picker seems requiring newer version of angularjs guess. dont know how fix problem, there way fixed?

this bower.json

    {   "name": "venture",   "version": "0.0.0",   "dependencies": {     "angular": "1.2.16",     "json3": "~3.3.1",     "es5-shim": "~3.1.0",     "angular-resource": "1.2.16",     "angular-cookies": "1.2.16",     "angular-sanitize": "1.2.16",     "angular-animate": "1.2.16",     "angular-touch": "1.2.16",     "angular-route": "1.2.16",     "font-awesome": "4.3.0",     "angular-bootstrap": "0.12.0",     "oclazyload": "~0.5.2",     "angular-loading-bar": "~0.7.0",     "angular-ui-router": "~0.2.13",     "angular-toggle-switch": "~1.2.1",     "metismenu": "~1.1.3",     "angular-chart.js": "~0.5.2",     "satellizer": "~0.13.1",     "angular-payments": "*",     "angular-file-upload": "~2.2.0",     "bootstrap-select": "~1.9.3",     "ngbootbox": "~0.1.3",     "angular-ui-tinymce": "~0.0.12"   },   "devdependencies": {     "angular-mocks": "1.2.16",     "angular-scenario": "1.2.16"   },   "resolutions": {     "angular": "^1.1.5",     "bootstrap": "~3.1.1",     "angular-sanitize": "1.2.16"   },   "apppath": "app" } 

i tried using --force worked on localhost, when try deploy in heroku compains , not show timepicker.

in resolutions, you're installing 1.1.5 ^. please replace 1.2.16 here.

"resolutions": {     "angular": "^1.1.5", // change 1.2.16     "bootstrap": "~3.1.1",     "angular-sanitize": "1.2.16" }, 

this solve problem

cheers!


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -