ui-router 0.2.8 , why the release dir is empty?
Asked Answered
F

1

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 ?

Frecklefaced answered 18/1, 2014 at 16:8 Comment(0)
M
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.

Mcminn answered 18/1, 2014 at 18:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.