angular-js-xlsx
angular-js-xlsx copied to clipboard
ECONFLICT Unable to find suitable version for angular (bower installation)
I am having this issue when I try to install the angular-js-xlsx with bower. That's the message:
bower angular-js-xlsx#* not-cached https://github.com/brexis/angular-js-xlsx.git#*
bower angular-js-xlsx#* resolve https://github.com/brexis/angular-js-xlsx.git#*
bower angular-js-xlsx#* download https://github.com/brexis/angular-js-xlsx/archive/v0.0.3.tar.gz
bower angular-js-xlsx#* extract archive.tar.gz
bower angular-js-xlsx#* mismatch Version declared in the json (0.0.2) is different than the resolved one (0.0.3)
bower angular-js-xlsx#* resolved https://github.com/brexis/angular-js-xlsx.git#0.0.3
bower angular#~1.4.8 not-cached https://github.com/angular/bower-angular.git#~1.4.8
bower angular#~1.4.8 resolve https://github.com/angular/bower-angular.git#~1.4.8
bower js-xlsx#~0.8.0 not-cached https://github.com/SheetJS/js-xlsx.git#~0.8.0
bower js-xlsx#~0.8.0 resolve https://github.com/SheetJS/js-xlsx.git#~0.8.0
bower js-xlsx#~0.8.0 download https://github.com/SheetJS/js-xlsx/archive/v0.8.8.tar.gz
bower angular#~1.4.8 download https://github.com/angular/bower-angular/archive/v1.4.14.tar.gz
bower angular#~1.4.8 extract archive.tar.gz
bower angular#~1.4.8 resolved https://github.com/angular/bower-angular.git#1.4.14
bower angular#^1.4.8 cached https://github.com/angular/bower-angular.git#1.6.3
bower angular#^1.4.8 validate 1.6.3 against https://github.com/angular/bower-angular.git#^1.4.8
bower angular#1.6.3 cached https://github.com/angular/bower-angular.git#1.6.3
bower angular#1.6.3 validate 1.6.3 against https://github.com/angular/bower-angular.git#1.6.3
bower angular#^1.0.8 cached https://github.com/angular/bower-angular.git#1.6.3
bower angular#^1.0.8 validate 1.6.3 against https://github.com/angular/bower-angular.git#^1.0.8
bower angular#>=1.2.26 <1.7 cached https://github.com/angular/bower-angular.git#1.6.3
bower angular#>=1.2.26 <1.7 validate 1.6.3 against https://github.com/angular/bower-angular.git#>=1.2.26 <1.7
bower angular#>= 1.3 cached https://github.com/angular/bower-angular.git#1.6.3
bower angular#>= 1.3 validate 1.6.3 against https://github.com/angular/bower-angular.git#>= 1.3
bower js-xlsx#~0.8.0 extract archive.tar.gz
bower js-xlsx#~0.8.0 invalid-meta for:C:\Users\Morey\AppData\Local\Temp\LP-JMOREY-Morey\bower\8d63ef64e2b12f5b0d8616fa7e1b8597-5808-KDr51c\bower.json
bower js-xlsx#~0.8.0 invalid-meta The "main" field cannot contain minified files
bower js-xlsx#~0.8.0 resolved https://github.com/SheetJS/js-xlsx.git#0.8.8
bower ECONFLICT Unable to find suitable version for angular
And this is my dependencies on my bower.json file:
"dependencies": {
"angular": "^1.6.3",
"angular-route": "^1.6.3",
"angular-animate": "^1.6.3",
"angular-material": "^1.1.3",
"font-awesome": "^4.7.0",
"angular-translate-loader-static-files": "^2.15.1",
"angular-translate": "^2.15.1",
"angular-ui-router": "^0.4.2",
"js-md5": "^2.7.0",
"angular-aria": "^1.6.3",
"angular-jquery-timepicker": "^0.12.0",
"angular-cookies": "^1.6.3",
"file-saver": "^1.3.3"
}
Same problem here. Did you manage to resolve it?
No @yannakyp .
@joannadal @yannakyp I think this module is pinning to an old version of angular: https://github.com/brexis/angular-js-xlsx/blob/master/bower.json#L23
"dependencies": {
"js-xlsx": "~0.8.0",
"angular": "~1.4.8"
},
and this would be in conflict with the angular version you are requiring:
"dependencies": {
"angular": "^1.6.3",
"angular-route": "^1.6.3",
...
@joannadal can you take a look at the directive code and see if it would be incompatible with the latest version of angular?
@SheetJSDev the directive should be compatible
@SheetJSDev is it possible you can upgrade the angular version?