js-cookie: bug: error github with bower install: transfer closed with outstanding read data remaining
Since 10 minutes I have this error
ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/js-cookie/js-cookie.git", exit code of #128 fatal: unable to access 'https://github.com/js-cookie/js-cookie.git/': transfer closed with outstanding read data remaining
I use version 2.1.0
Fagner edit - Workarounds so far:
temporary fix: fork the repo and: bower install https://github.com/[repo]/js-cookie.git#v[version]
I managed to add this in my bower.json file: “js-cookie”: “https://github.com/js-cookie/js-cookie/releases/download/v1.5.1/js.cookie-1.5.1.min.js”
Then I get a index.js file containing the things, not ideal, but I don’t have to fork the repo.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 31
- Comments: 42 (13 by maintainers)
It just cloned for me too! Maybe Github fixed it!
I’m having this problem. It’s happening with the old jquery-cookie repo as well.
+1 our builds are failing 😃
The jquery-cookie repository (https://github.com/carhartl/jquery-cookie/) is showing the exact same symptoms. Are these issues related?
If anybody knows what happened, please shout out!
I did a github research and it seems to have happened only for a couple of repositories. You can imagine how paranoid I was starting to be when sh1t started blowing out of the blue.
It’s 2AM in Australia right now… oh boy. I am going to sleep, happy everything is fine now, @addyosmani sorry for bothering.
I am having the same error when cloning via SSH:
Hey I have made no changes in the repository, this is definitely an external thing!
+1
I think it’s fixed? Just cloned for me.
Would really like a fix because unfortunately the suggested workaround is not suitable when the build is automated on different servers 😢
This was nice opportunity to update development tools.
I managed to add this in my bower.json file:
"js-cookie": "https://github.com/js-cookie/js-cookie/releases/download/v1.5.1/js.cookie-1.5.1.min.js"
Then I get a
index.js
file containing the things, not ideal, but I don’t have to fork the repo.just pinged Github Support on Twitter about this, do you guys know a better way to inform github ? https://twitter.com/VEBERArnaud/status/724616121148661761
temp solution for this is 1- forking the repo 2- download the zip 3- extract and rename folder to
js-cookie
4- past the folder in your bower_components folderResponse from Github:
Confirmed as a temporary glitch. Closing since everything was fixed.
@FagnerMartinsBrack @bdaenen You’re both right, sorry for the confusion.
@anolson Web requests to a github repository endpoint always seem to get redirected to the github page.
temporary fix: fork the repo and: bower install https://github.com/[repo]/js-cookie.git#v[version] --save
I just sent to Github support in the contact page.
@panthony you can fork and change the entry in your
bower.json
to your fork’s url instead of having to add the package to your project/bower_components folder.This is terrible. Causing Production deploy issues. Gonna have to create a hacky workaround until this is fixed. We don’t commit our
bower_components
directory and it gets installed fresh on each deploy, so can’t just download the zip and extract it. I guess one option is to put it in thevendor/assets
directory for now+1 Seeing this too. Going to need a fix ASAP.
Same here
It’s not just bower I can’t clone