Code Monkey home page Code Monkey logo

Comments (4)

mgonto avatar mgonto commented on August 19, 2024

I've been trying to do this with no luck.

Each time I want to install lodash with bower install lodash (with dependency in bower.json or components.json same things happens), bower hangs after caching. When it doesn't hang, it throws the following error:

bower cloning git://github.com/bestiejs/lodash.git
bower cached git://github.com/bestiejs/lodash.git
bower fetching lodash
bower error status code of git: 128

There were errors, here's a summary of them:
- lodash status code of git: 128
fatal: Not a git repository (or any of the parent directories): .git

There's an issue on Bower about this but it has been resolved and lodash repository has the bower.json file, so I don't really know what's going on. I have bower version 0.8.6, the latest from npm. If anybody knows what's going on, please put it here in the issue or do a PR with a fix.

check out bower/bower#16

from restangular.

dylang avatar dylang commented on August 19, 2024

Maybe the version in your cache is bad, try:

$ bower cache-clean 

I think this can happen if you control-c while installing something or use sudo in the past so now it can't overwrite it with a newer version. There might be other reasons as well, like Github or network issues.

You can check to make sure your cache is empty in ~/.bower/cache - if it's not you might need to use sudo to remove the offending directories.

Here's a successful install of lodash done a couple minutes ago:

~/projects/doodleordie $ bower install lodash
bower cloning git://github.com/bestiejs/lodash.git
bower cached git://github.com/bestiejs/lodash.git
bower fetching lodash
bower checking out lodash#v1.1.1
bower copying /Users/dylang/.bower/cache/lodash/2eb66604ded0ec7b548a0d5a49c60e6d
bower installing lodash#1.1.1
~/projects/doodleordie $

Hope this helps, I'd like to see lodash used instead of underscore as well.

from restangular.

mgonto avatar mgonto commented on August 19, 2024

Hey,

Thanks for the input!. I've tried manually deleting .bower/cache and now with bower cache-cleanbut still same result.

Maybe it's the version of my bower. What version do you have? Or maybe this only happens in OSX Mountain Lion.

This is my output:

~  bower cache-clean
bower completion cleared completion cache
bower cache cleared lodash
bower cache cleared underscore
bower cache cleared angular
bower cache cleared angular-resource
➜  ~  bower install lodash
bower cloning git://github.com/bestiejs/lodash.git
bower caching git://github.com/bestiejs/lodash.git

Thanks again!

from restangular.

mgonto avatar mgonto commented on August 19, 2024

Reopen this when there's an update from Twitter.

from restangular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.