bower在不同计算机的不同文件夹中安装lib

时间:2015-11-12 15:25:06

标签: bower bower-install

我试图用bower安装x2js,执行以下操作:

$ bower install x2js

在我的电脑上安装凉亭时,我得到了:

$ bower install x2js
bower x2js#~1.1.7           not-cached git://github.com/abdmob/x2js.git#~1.1.7
bower x2js#~1.1.7              resolve git://github.com/abdmob/x2js.git#~1.1.7
bower x2js#*                not-cached git://github.com/abdmob/x2js.git#*
bower x2js#*                   resolve git://github.com/abdmob/x2js.git#*
bower x2js#~1.1.7             download https://github.com/abdmob/x2js/archive/v1.1.7.tar.gz
bower x2js#*                  download https://github.com/abdmob/x2js/archive/v1.1.7.tar.gz
bower x2js#~1.1.7              extract archive.tar.gz
bower x2js#*                   extract archive.tar.gz
bower x2js#~1.1.7             mismatch Version declared in the json (1.1.5) is different than the resolved one (1.1.7)
bower x2js#~1.1.7             resolved git://github.com/abdmob/x2js.git#1.1.7
bower x2js#*                  mismatch Version declared in the json (1.1.5) is different than the resolved one (1.1.7)
bower x2js#*                  resolved git://github.com/abdmob/x2js.git#1.1.7
bower x2js#~1.1.7              install x2js#1.1.7

x2js#1.1.7 public/lib/x2js

在其他电脑中:

$ bower install x2js
bower x2js#*                not-cached git://github.com/abdmob/x2js.git#*
bower x2js#*                   resolve git://github.com/abdmob/x2js.git#*
bower x2js#*                  download https://github.com/abdmob/x2js/archive/v1.1.7.tar.gz
bower x2js#*                   extract archive.tar.gz
bower x2js#*                  mismatch Version declared in the json (1.1.5) is different than the resolved one (1.1.7)
bower x2js#*                  resolved git://github.com/abdmob/x2js.git#1.1.7
bower abdmob/x2js#~1.1.7       install abdmob/x2js#1.1.7

abdmob/x2js#1.1.7 public/lib/abdmob/x2js

在我的计算机上创建x2js文件夹,而在其他计算机上创建abdmob / x2js文件夹。

两台计算机都使用相同版本的凉亭(1.6.5)。

为什么会这样?

0 个答案:

没有答案