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

bower ENORESTARGET #953

Closed
ygModesto opened this issue Aug 24, 2015 · 11 comments
Closed

bower ENORESTARGET #953

ygModesto opened this issue Aug 24, 2015 · 11 comments

Comments

@ygModesto
Copy link

When I execute "bower install ngCordova" command in a project, for instance, a project created with "ionic start myApp sidemenu", bower command responses with:

bower not-cached    git://github.com/driftyco/ng-cordova.git#*
bower resolve       git://github.com/driftyco/ng-cordova.git#*
bower cached        git://github.com/driftyco/ionic-bower.git#1.1.0
bower validate      1.1.0 against git://github.com/driftyco/ionic-bower.git#1.1.0
bower ENORESTARGET  No tag found that was able to satisfy *

Additional error details:
Available versions: 0.1.20-alpha, 0.1.19-alpha, 0.1.18-alpha, 0.1.17-alpha, 0.1.16-alpha, 0.1.15-alpha, 0.1.14-alpha, 0.1.12-alpha, 0.1.11-alpha, 0.1.10-alpha, 0.1.9-alpha, 0.1.8-alpha, 0.1.7-alpha, 0.1.6-alpha, 0.1.5-alpha, 0.1.4-alpha, 0.1.3-alpha, 0.1.2-alpha, 0.1.1-alpha, 0.1.0-alpha
@sfvaleriano
Copy link

Hi,
I've same error (bower version is 1.5.1)

$ bower install ngCordova
bower ngCordova#* not-cached git://github.com/driftyco/ng-cordova.git#*
bower ngCordova#* resolve git://github.com/driftyco/ng-cordova.git#*
bower ionic#1.1.0 not-cached git://github.com/driftyco/ionic-bower.git#1.1.0
bower ionic#1.1.0 resolve git://github.com/driftyco/ionic-bower.git#1.1.0
bower ionic#1.1.0 download https://github.com/driftyco/ionic-bower/archive/v1.1.0.tar.gz
bower ionic#1.1.0 extract archive.tar.gz
bower ionic#1.1.0 invalid-meta ionic is missing "ignore" entry in bower.json
bower ionic#1.1.0 resolved git://github.com/driftyco/ionic-bower.git#1.1.0
bower ngCordova#* ENORESTARGET No tag found that was able to satisfy *

Additional error details:
Available versions: 0.1.20-alpha, 0.1.19-alpha, 0.1.18-alpha, 0.1.17-alpha, 0.1.16-alpha, 0.1.15-alpha, 0.1.14-alpha, 0.1.12-alpha, 0.1.11-alpha, 0.1.10-alpha, 0.1.9-alpha, 0.1.8-alpha, 0.1.7-alpha, 0.1.6-alpha, 0.1.5-alpha, 0.1.4-alpha, 0.1.3-alpha, 0.1.2-alpha, 0.1.1-alpha, 0.1.0-alpha

@nileshlg2003
Copy link

same with me too,

bower not-cached git://github.com/driftyco/ng-cordova.git#*
bower resolve git://github.com/driftyco/ng-cordova.git#*
bower ENORESTARGET No tag found that was able to satisfy *

Additional error details:
Available versions: 0.1.20-alpha, 0.1.19-alpha, 0.1.18-alpha, 0.1.17-alpha, 0.1.16-alpha, 0.1.15-alpha, 0.1.14-alpha, 0.1.12-alpha, 0.1.11-alpha, 0.1.10-alpha, 0.1.9-alpha, 0.1.8-alpha, 0.1.7-alpha, 0.1.6-alpha, 0.1.5-alpha, 0.1.4-alpha, 0.1.3-alpha, 0.1.2-alpha, 0.1.1-alpha, 0.1.0-alpha

@mhartington
Copy link
Member

Hmm, what version of bower do you have? I just gave this a try and it install without an issue.

bower ionic#1.1.0               cached git://github.com/driftyco/ionic-bower.git#1.1.0
bower ionic#1.1.0             validate 1.1.0 against git://github.com/driftyco/ionic-bower.git#1.1.0
bower ngCordova#*               cached git://github.com/driftyco/ng-cordova.git#0.1.20-alpha
bower ngCordova#*             validate 0.1.20-alpha against git://github.com/driftyco/ng-cordova.git#*
bower angular#>= 1.2.23         cached git://github.com/angular/bower-angular.git#1.4.3
bower angular#>= 1.2.23       validate 1.4.3 against git://github.com/angular/bower-angular.git#>= 1.2.23
bower angular-animate#1.4.3     cached git://github.com/angular/bower-angular-animate.git#1.4.3
bower angular-animate#1.4.3   validate 1.4.3 against git://github.com/angular/bower-angular-animate.git#1.4.3
bower angular-sanitize#1.4.3    cached git://github.com/angular/bower-angular-sanitize.git#1.4.3
bower angular-sanitize#1.4.3  validate 1.4.3 against git://github.com/angular/bower-angular-sanitize.git#1.4.3
bower angular-ui-router#0.2.13  cached git://github.com/angular-ui/ui-router.git#0.2.13
bower angular-ui-router#0.2.13         validate 0.2.13 against git://github.com/angular-ui/ui-router.git#0.2.13
bower angular#>= 1.2.23                     new version for git://github.com/angular/bower-angular.git#>= 1.2.23
bower angular#>= 1.2.23                 resolve git://github.com/angular/bower-angular.git#>= 1.2.23
bower angular#>= 1.2.23                download https://github.com/angular/bower-angular/archive/v1.4.4.tar.gz
bower angular#>= 1.0.8                   cached git://github.com/angular/bower-angular.git#1.4.3
bower angular#>= 1.0.8                 validate 1.4.3 against git://github.com/angular/bower-angular.git#>= 1.0.8
bower angular#>= 1.0.8                      new version for git://github.com/angular/bower-angular.git#>= 1.0.8
bower angular#>= 1.0.8                  resolve git://github.com/angular/bower-angular.git#>= 1.0.8
bower angular#>= 1.0.8                 download https://github.com/angular/bower-angular/archive/v1.4.4.tar.gz
bower angular#>= 1.2.23                 extract archive.tar.gz
bower angular#>= 1.0.8                  extract archive.tar.gz
bower angular#>= 1.0.8                 resolved git://github.com/angular/bower-angular.git#1.4.4
bower angular#>= 1.2.23                resolved git://github.com/angular/bower-angular.git#1.4.4
bower ngCordova#~0.1.20-alpha           install ngCordova#0.1.20-alpha
bower ionic#1.1.0                       install ionic#1.1.0
bower angular-ui-router#0.2.13          install angular-ui-router#0.2.13
bower angular-sanitize#1.4.3            install angular-sanitize#1.4.3
bower angular-animate#1.4.3             install angular-animate#1.4.3
bower angular#>= 1.0.8                  install angular#1.4.4
bower angular#1.4.3                      cached git://github.com/angular/bower-angular.git#1.4.3
bower angular#1.4.3                    validate 1.4.3 against git://github.com/angular/bower-angular.git#1.4.3

ngCordova#0.1.20-alpha www/lib/ngCordova
└── angular#1.4.3

ionic#1.1.0 www/lib/ionic
├── angular#1.4.3
├── angular-animate#1.4.3
├── angular-sanitize#1.4.3
└── angular-ui-router#0.2.13

angular-ui-router#0.2.13 www/lib/angular-ui-router
└── angular#1.4.3

angular-sanitize#1.4.3 www/lib/angular-sanitize
└── angular#1.4.3

angular-animate#1.4.3 www/lib/angular-animate
└── angular#1.4.3

angular#1.4.3 ../../../.cache/bower/packages/ef2188def21eb1bbd1f1792311942a53/1.4.3
  "dependencies": {
    "ngCordova": "~0.1.20-alpha"
  }

@ygModesto
Copy link
Author

My bower version is 1.5.1

@mhartington
Copy link
Member

Ahh, alright, updated my bower version to that and got the same thing.
Hmm, not sure what could be causing the issues. Here's the bower changelog

https://github.com/bower/bower/blob/master/CHANGELOG.md

@gortok, we may need to do another release.

@drastick
Copy link

+1

@gortok
Copy link
Contributor

gortok commented Aug 25, 2015

@mhartington I'll investigate and do another release.

@gortok
Copy link
Contributor

gortok commented Aug 27, 2015

Likes like Bower's PR #1852 broke this because we do a lot of prereleases; I'll issue a non-prerelease version of the mainline, that should resolve this issue.

@gortok
Copy link
Contributor

gortok commented Aug 27, 2015

I updated to 1.5.2 and was able to install ngCordova without any issues; I'll still issue a general release for everyone on 1.5.1; but I'm surprised I didn't get this error in 1.5.2.

@gortok
Copy link
Contributor

gortok commented Aug 27, 2015

Ah, they reverted the behavior in 1.5.2 to be the 'old' behavior, so pre-release branches work again: bower/bower#1896

That's why 1.5.2 works and 1.5.1 doesn't.

@mhartington
Copy link
Member

semver broke semver...way to go bower.
Cool, thanks @gortok

So everyone should update to bower 1.5.2 to resolve this issue. Closing this for now.

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

No branches or pull requests

6 participants