FlyingCat
FlyingCat

Reputation: 14290

How to install package locally in bower?

I am trying to install a local Jquery ui through bower.

I have a local folder called jquery-ui and ran the following command

bower install jquery-ui/jquery-ui.min.css --save

It gave me the following errors

bower jquery-ui.min.css#*      resolve git://github.com/jquery-ui/jquery-ui.min.css.git#*
bower jquery-ui.min.css#*      ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jquery-ui/jquery-ui.min.css.git", exit code of #128

I am not sure why bower look for the remove git, all I need is to add the local file into bower. Do I miss something here? Thanks a lot!

Upvotes: 3

Views: 4770

Answers (1)

Dror Bereznitsky
Dror Bereznitsky

Reputation: 20386

You should try:

bower install ./jquery-ui/jquery-ui.min.css --save

Upvotes: 4

Related Questions