15

If I run

bower  install angular-ui-router --save

the release dir (and there is no file named angular-ui-router.js in other dirs) is empty so I can't include the module in my script :(

Do anyone know what the problem is ?

Ilan Frumer
  • 32,059
  • 8
  • 70
  • 84
Whisher
  • 31,320
  • 32
  • 120
  • 201

1 Answers1

42

UPDATE

After a long wait version 0.2.9 is out and has a higher precedence, so now we can install it implicitly:

bower install angular-ui-router

enter image description here


BEFORE 0.2.9...

This was a bug in bower.json ignore option. fixed with this commit

They made a new release: 0.2.8-bowratic-tedium.

Unfortunately, according to semver (see below) version 0.2.8-XXXXX is considered lower than 0.2.8!

So we must specify the version explicitly (bower follows the semver specification):

bower install angular-ui-router#0.2.8-bowratic-tedium --save

From http://semver.org/:

11). Precedence refers to how versions are compared to each other when ordered.

....

Example: 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0.

Community
  • 1
  • 1
Ilan Frumer
  • 32,059
  • 8
  • 70
  • 84