How to install bower package with slash in name?

I am trying to install https://github.com/aterrien/jQuery-Knob via bower. In the bower.json file of the package, I see:

{ "name": "aterrien/jQuery-Knob", "version": "1.2.9", .. }

So, in my bower.json file, I added:

 "aterrien/jQuery-Knob": "1.2.9" 

When I run bower install , I get the following:

 bower jQuery-Knob#1.2.9 cached aterrien/jQuery-Knob=https://github.com/aterrien/jQuery-Knob.git#1.2.9 bower jQuery-Knob#1.2.9 validate 1.2.9 against aterrien/jQuery-Knob=https://github.com/aterrien/jQuery-Knob.git#1.2.9 bower jQuery-Knob#1.2.9 ECMDERR Failed to execute "git ls-remote --tags --heads a terrien/jQuery-Knob=https://github.com/aterrien/jQuery-Knob.git", exit code of #128 Additional error details: fatal: I don't handle protocol 'aterrien/jQuery-Knob=https' 

Why does he add the package name to the protocol? And how do I install this package?

+6
source share
1 answer

had the same problem with this plugin, uninstall it and install as follows:

bower install jquery-knob

pay attention to lowercase letters and do not need "aterrien /"
it worked for me

+6
source

Source: https://habr.com/ru/post/971983/


All Articles