Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Installing angular-ui-grid through bower gives an ECONFLICT error #1650

Open
abumere opened this issue Nov 22, 2016 · 2 comments
Open

Installing angular-ui-grid through bower gives an ECONFLICT error #1650

abumere opened this issue Nov 22, 2016 · 2 comments

Comments

@abumere
Copy link

abumere commented Nov 22, 2016

By bower.json file as it stands:

{
  "name": "meanjs",
  "description": "Fullstack JavaScript with MongoDB, Express, AngularJS, and Node.js.",
  "homepage": "http://meanjs.org/",
  "license": "MIT",
  "dependencies": {
    "angular": "~1.5.0",
    "angular-animate": "~1.5.0",
    "angular-bootstrap": "~1.2.1",
    "angular-messages": "~1.5.0",
    "angular-mocks": "~1.5.0",
    "angular-resource": "~1.5.0",
    "angular-ui-notification": "~0.2.0",
    "angular-ui-router": "~0.2.18",
    "bootstrap": "^3.3.7",
    "ng-file-upload": "^12.1.0",
    "ng-img-crop": "ngImgCrop#^0.3.2",
    "owasp-password-strength-test": "~1.3.0",
    "font-awesome": "fontawesome#^4.6.3",
    "angular-scroll": "^1.0.0",
    "angular-bootstrap-affix": "^0.2.2",
    "angular-jquery": "^0.2.1",
    "angular-formly": "^8.4.0",
    "angular-formly-templates-bootstrap": "^6.3.2",
    "api-check": "^7.5.5",
    "async": "^2.1.2"
  },
  "overrides": {
    "bootstrap": {
      "main": [
        "dist/css/bootstrap.css",
        "dist/css/bootstrap-theme.css",
        "less/bootstrap.less"
      ]
    },
    "jquery": {
      "main": []
    }
  }
}

When I try to install angular-ui-grid through bower install angular-ui-grid --save I get the following response:

bower angular-ui-grid#*         cached https://github.com/angular-ui/bower-ui-grid.git#3.2.9
bower angular-ui-grid#*       validate 3.2.9 against https://github.com/angular-ui/bower-ui-grid.git#*
bower angular#>=1.2.16 1.4.x    cached https://github.com/angular/bower-angular.git#1.4.14
bower angular#>=1.2.16 1.4.x  validate 1.4.14 against https://github.com/angular/bower-angular.git#>=1.2.16 1.4.x
bower angular#~1.5.0            cached https://github.com/angular/bower-angular.git#1.5.8
bower angular#~1.5.0          validate 1.5.8 against https://github.com/angular/bower-angular.git#~1.5.0
bower angular#1.5.8             cached https://github.com/angular/bower-angular.git#1.5.8
bower angular#1.5.8           validate 1.5.8 against https://github.com/angular/bower-angular.git#1.5.8
bower angular#>=1.4.0           cached https://github.com/angular/bower-angular.git#1.5.8
bower angular#>=1.4.0         validate 1.5.8 against https://github.com/angular/bower-angular.git#>=1.4.0
bower angular#^1.0.8            cached https://github.com/angular/bower-angular.git#1.5.8
bower angular#^1.0.8          validate 1.5.8 against https://github.com/angular/bower-angular.git#^1.0.8
bower angular#>1.2.0            cached https://github.com/angular/bower-angular.git#1.5.8
bower angular#>1.2.0          validate 1.5.8 against https://github.com/angular/bower-angular.git#>1.2.0
bower angular#^1.2.16           cached https://github.com/angular/bower-angular.git#1.5.8
bower angular#^1.2.16         validate 1.5.8 against https://github.com/angular/bower-angular.git#^1.2.16
bower angular#>=1.2.x           cached https://github.com/angular/bower-angular.git#1.5.8
bower angular#>=1.2.x         validate 1.5.8 against https://github.com/angular/bower-angular.git#>=1.2.x
bower                        ECONFLICT Unable to find suitable version for angular

Poking around on google I've found that I have a conflicting angular dependency but I'm not sure how to go about fixing this.

Any insight is appreciated

@shanavas786
Copy link
Contributor

shanavas786 commented Nov 22, 2016

angualar-ui-grid supports angular 1.2 - 1.4 see

angular-ui/ui-grid#5070 may be helpful for you

@codydaig
Copy link
Member

You may have to downgrade the angular version, but I'm not sure the implications of this and the backwards compatibility with the project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants