SOLVED : Bower can't install Ionic

Hi guys.

When I run bower install ionic#master, I get an error:

bower ionic#0.10.0-alpha-nightly-1091       not-cached git://github.com/driftyco/ionic.git#0.10.0-alpha-nightly-1091
bower ionic#0.10.0-alpha-nightly-1091          resolve git://github.com/driftyco/ionic.git#0.10.0-alpha-nightly-1091
bower ionic#6c5c3f8d341e04c64b672ca717880c66608c299c       not-cached git://github.com/driftyco/ionic.git#6c5c3f8d341e04c64b672ca717880c66608c299c
bower ionic#6c5c3f8d341e04c64b672ca717880c66608c299c          resolve git://github.com/driftyco/ionic.git#6c5c3f8d341e04c64b672ca717880c66608c299c
bower ionic#6c5c3f8d341e04c64b672ca717880c66608c299c         checkout 6c5c3f8d341e04c64b672ca717880c66608c299c
bower ionic#0.10.0-alpha-nightly-1091                    ENORESTARGET No tag found that was able to satisfy 0.10.0-alpha-nightly-1091

Additional error details:
Available versions: 0.9.26, 0.9.25, 0.9.24, 0.9.23, 0.9.22-alpha, 0.9.21-alpha, 0.9.20-alpha, 0.9.19-alpha, 0.9.18-alpha, 0.9.17-alpha, 0.9.16-alpha, 0.9.15-alpha, 0.9.14-alpha, 0.9.13-alpha, 0.9.12-alpha, 0.9.11-alpha, 0.9.10-alpha

X:awesome-project Robin$ 

What’s wrong?

Update here; seems that bower install is busted all together. When executing this:

bower install -V --save ionic

I get an error as well. Can you guys please look into this? I want to stay on the bleeding edge when using Ionic since you are so fast with updates and fixes.

I’m not especially familiar with Bower - know of it but don’t use it.

When I test, all seems pretty successful.

bower install -V --save ionic
bower ionic#*                   cached git://github.com/driftyco/ionic.git#0.9.20-alpha
bower ionic#*                 validate 0.9.20-alpha against git://github.com/driftyco/ionic.git#*
bower ionic#*                      new version for git://github.com/driftyco/ionic.git#*
bower ionic#*                  resolve git://github.com/driftyco/ionic.git#*
bower ionic#*                 download https://github.com/driftyco/ionic/archive/v0.9.26.tar.gz
bower ionic#*                 progress received 1.6MB
bower ionic#*                 progress received 1.9MB
bower ionic#*                  extract archive.tar.gz
bower ionic#*                 resolved git://github.com/driftyco/ionic.git#0.9.26
bower angular-ui-router#0.2.7       not-cached git://github.com/angular-ui/ui-router.git#0.2.7
bower angular-ui-router#0.2.7          resolve git://github.com/angular-ui/ui-router.git#0.2.7
bower angular-sanitize#1.2.12       not-cached git://github.com/angular/bower-angular-sanitize.git#1.2.12
bower angular-sanitize#1.2.12          resolve git://github.com/angular/bower-angular-sanitize.git#1.2.12
bower angular-animate#1.2.12        not-cached git://github.com/angular/bower-angular-animate.git#1.2.12
bower angular-animate#1.2.12           resolve git://github.com/angular/bower-angular-animate.git#1.2.12
bower angular#1.2.12                not-cached git://github.com/angular/bower-angular.git#1.2.12
bower angular#1.2.12                   resolve git://github.com/angular/bower-angular.git#1.2.12
bower angular-ui-router#0.2.7         download https://github.com/angular-ui/ui-router/archive/0.2.7.tar.gz
bower angular-animate#1.2.12          download https://github.com/angular/bower-angular-animate/archive/v1.2.12.tar.gz
bower angular#1.2.12                  download https://github.com/angular/bower-angular/archive/v1.2.12.tar.gz
bower angular-sanitize#1.2.12         download https://github.com/angular/bower-angular-sanitize/archive/v1.2.12.tar.gz
bower angular-animate#1.2.12           extract archive.tar.gz
bower angular-animate#1.2.12          resolved git://github.com/angular/bower-angular-animate.git#1.2.12
bower angular-sanitize#1.2.12          extract archive.tar.gz
bower angular-sanitize#1.2.12         resolved git://github.com/angular/bower-angular-sanitize.git#1.2.12
bower angular-ui-router#0.2.7          extract archive.tar.gz
bower angular-ui-router#0.2.7         resolved git://github.com/angular-ui/ui-router.git#0.2.7
bower angular#>= 1.1.5                  cached git://github.com/angular/bower-angular.git#1.2.4
bower angular#>= 1.1.5                validate 1.2.4 against git://github.com/angular/bower-angular.git#>= 1.1.5
bower angular#>= 1.1.5                     new version for git://github.com/angular/bower-angular.git#>= 1.1.5
bower angular#>= 1.1.5                 resolve git://github.com/angular/bower-angular.git#>= 1.1.5
bower angular#>= 1.1.5                download https://github.com/angular/bower-angular/archive/v1.3.0-beta.2-build.2411+sha.0f13f24.tar.gz
bower angular#1.2.12                   extract archive.tar.gz
bower angular#1.2.12                  resolved git://github.com/angular/bower-angular.git#1.2.12
bower angular#>= 1.1.5                 extract archive.tar.gz
bower angular#>= 1.1.5                resolved git://github.com/angular/bower-angular.git#1.3.0-beta.2-build.2411+sha.0f13f24
bower ionic#~0.9.26                    install ionic#0.9.26
bower angular-animate#1.2.12           install angular-animate#1.2.12
bower angular-sanitize#1.2.12          install angular-sanitize#1.2.12
bower angular-ui-router#0.2.7          install angular-ui-router#0.2.7
bower angular#1.2.12                   install angular#1.2.12
bower                                  no-json No bower.json file to save to, use bower init to create one

ionic#0.9.26 bower_components/ionic
├── angular#1.2.12
├── angular-animate#1.2.12
├── angular-sanitize#1.2.12
└── angular-ui-router#0.2.7

angular-animate#1.2.12 bower_components/angular-animate
└── angular#1.2.12

angular-sanitize#1.2.12 bower_components/angular-sanitize
└── angular#1.2.12

angular-ui-router#0.2.7 bower_components/angular-ui-router
└── angular#1.2.12

angular#1.2.12 bower_components/angular

And for master:

bower install ionic#master
bower ionic#master          not-cached git://github.com/driftyco/ionic.git#master
bower ionic#master             resolve git://github.com/driftyco/ionic.git#master
bower ionic#master            checkout master
bower ionic#master            resolved git://github.com/driftyco/ionic.git#5d008a851e

Unable to find a suitable version for ionic, please choose one:
    1) ionic#master which resolved to 5d008a851e
    2) ionic#~0.9.26 which resolved to 0.9.26 and has testBower as dependants

Prefix the choice with ! to persist it to bower.json

[?] Answer: 1
bower ionic#master             install ionic#5d008a851e

ionic#5d008a851e bower_components/ionic
├── angular#1.2.12
├── angular-animate#1.2.12
├── angular-sanitize#1.2.12
└── angular-ui-router#0.2.7

Well it seems to have been a temporary issue of this morning. In later alpha releases, it was all working again.

Note for users reading this on a later moment:

When you want to stay on the bleeding edge with Ionic; use bower install ionic-bower#master instead of bower install ionic#master
The latter installs the latest stable and not the alpha releases.

(Is there an option to mark this topic as solved?)