2016-11-16 131 views
0

波旁安装beta版您好我是新来的闺房,然后想安装波旁的测试版,但得到的最新的稳定版本代替。 执行的命令:与凉亭

bower install thoughtbot/bourbon 

,并得到:

bourbon#4.2.7 bower_components/bourbon 

综观https://github.com/thoughtbot/bourbon的bower.json我可以看到的版本是 “5.0.0-beta.7”,我想安装。我做错了什么?

执行:

bower install thoughtbot/bourbon#5.0.0-beta.7 

显示:

Additional error details: 
Available versions in https://github.com/thoughtbot/bourbon.git:4.2.7, 4.2.6, 4.2.5, 4.2.4, 4.2.3, 4.2.2, 4.2.1, 4.2.0, 4.1.1, 4.1.0, 4.0.2, 4.0.1, 4.0.0, 4.0.0-rc.2, 4.0.0-rc.1, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.2.0-beta.2, 3.2.0-beta.1, 3.1.8, 3.1.7, 3.1.6, 3.1.5, 3.1.4, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.1, 3.0.0, 2.1.3, 2.1.2, 2.1.1, 2.1.0, 1.4.0, 1.3.6, 1.3.5, 1.3.4, 1.3.3, 1.3.2, 1.3.1, 1.3.0, 1.2.0, 1.1.0, 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0, 0.2.1, 0.2.0, 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0, 0.0.9, 0.0.8, 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1 

回答

1

鲍尔将始终默认安装最新的稳定版本,它在写这篇文章的时间是4.2.7。要安装一个预发布,就像一个测试,你需要指定版本:

bower install bourbon#v5.0.0.beta.7 

参考:https://bower.io/docs/api/#install

+0

是正是这样做的,而你正在接听并得到了一个错误 – emvidi

+0

好吧,我明白了你的意思是,我根本不需要github帐户和存储库名称。我只是运行你的命令并设法安装它。 – emvidi