所以我通过bower
- jQuery UI Sortable
安装。按预期方式将包的文件夹放在资产文件夹中。然后我想安装的软件包(例如:noty.js
与bower install --save noty
),我得到这个:Bower无法找到一个软件包并且无法安装新软件包
bower noty#* not-cached https://github.com/needim/noty.git#*
bower noty#* resolve https://github.com/needim/noty.git#*
bower fullcalendar#* cached https://github.com/fullcalendar/fullcalendar.git#3.4.0
bower fullcalendar#* validate 3.4.0 against https://github.com/fullcalendar/fullcalendar.git#*
bower noty#* download https://github.com/needim/noty/archive/v3.1.1.tar.gz
bower noty#* extract archive.tar.gz
bower noty#* resolved https://github.com/needim/noty.git#3.1.1
bower ENOTFOUND Package jQuery UI Sortable=jquery-ui-sortable not found
注:我尝试安装fullcalendar为好。
尽管它说它下载了软件包并解压缩了archive.tar.gz
,但是该软件包无处可在我的项目文件夹中找到。 jQuery UI Sortable
仍然存在。我甚至使用它。
bower.json
保持不变。如果我运行bower install --save noty
它只是说:
bower noty#* cached https://github.com/needim/noty.git#3.1.1
bower noty#* validate 3.1.1 against https://github.com/needim/noty.git#*
bower ENOTFOUND Package jQuery UI Sortable=jquery-ui-sortable not found
我有一个.bowerrc
指向resources/assets/bower
(因为它是一个Laravel项目)。那么我该如何解决这个问题?