ui-router 0.2.8,为什么发布dir是空的?

时间:2021-02-11 19:59:38

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 :(

发布目录(并且在其他目录中没有名为angular-ui-router.js的文件)​​是空的,所以我不能在我的脚本中包含该模块:(

Do anyone know what the problem is ?

有谁知道问题是什么?

1 个解决方案

#1


43  

UPDATE

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

经过漫长的等待版本0.2.9已经出来并具有更高的优先级,所以现在我们可以隐式安装它:

bower install angular-ui-router

ui-router 0.2.8,为什么发布dir是空的?


BEFORE 0.2.9...

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

这是bower.json忽略选项中的一个错误。修复此提交

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

他们发布了一个新版本:0.2.8-bowratic-tedium。

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

不幸的是,根据semver(见下文),版本0.2.8-XXXXX被认为低于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.

11)。优先级是指在订购时如何将版本相互比较。

....

....

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.

示例: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。

#1


43  

UPDATE

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

经过漫长的等待版本0.2.9已经出来并具有更高的优先级,所以现在我们可以隐式安装它:

bower install angular-ui-router

ui-router 0.2.8,为什么发布dir是空的?


BEFORE 0.2.9...

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

这是bower.json忽略选项中的一个错误。修复此提交

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

他们发布了一个新版本:0.2.8-bowratic-tedium。

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

不幸的是,根据semver(见下文),版本0.2.8-XXXXX被认为低于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.

11)。优先级是指在订购时如何将版本相互比较。

....

....

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.

示例: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。