所以我通過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項目)。那麼我該如何解決這個問題?