davatron5000 / FitText.js

A jQuery plugin for inflating web type
http://fittextjs.com
6.75k stars 1.39k forks source link

bower is trying to dowload from incorrect github #100

Closed SirMaster closed 10 years ago

SirMaster commented 10 years ago

I have a simple bower.json

{
  "name":"client",
  "dependencies": {
    ....
    "jquery-fittext":"1.2.0"
    ....
  }
}

When I do a simple bower install, I get

→ bower install
bower jquery-fittext#1.2.0  not-cached git://github.com/DevOctopus/FitText.js.git#1.2.0
bower jquery-fittext#1.2.0     resolve git://github.com/DevOctopus/FitText.js.git#1.2.0
bower jquery-fittext#1.2.0     ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/DevOctopus/FitText.js.git", exit code of #128

Additional error details:
fatal: remote error: 
  Repository not found.

It looks like its trying to get it from github.com/DevOctopus/ while the links on http://bower.io/search/#!/search/fittext for jquery-fittext.js and FitText.js point to davatron5000.

This might be an issue with bower.io, please let me know if that is the case. I will bug them ;-)

lolmaus commented 10 years ago

Where did you get jquery-fittext from?

FitText.js's bower.json has name set to FitText.js, so you should use FitText.js, not jquery-fittext. But FitText.js Github repo has no versions tagged, so you have to provide a git path anyway! :(

"FitText.js": "git@github.com:davatron5000/FitText.js.git"

I suggest you rename this issue to "Tag versions in the repo".

SirMaster commented 10 years ago

To be honest I can't remember where I got jquery-fittext from, it's been a couple of months. I did the solution you suggested as a workaround in the past. In any case thanks for the reply. I'll close this off.