telehash / telehash-js

telehash javascript module for node.js and browserify
http://telehash.org
MIT License
302 stars 51 forks source link

problem of npm install #18

Closed StanleyAM closed 10 years ago

StanleyAM commented 10 years ago

Hi, my npm version is 1.4.28 in Windows 7. When I try to command "npm install telehash", I got the error messages like below:

npm ERR! git clone https://github.com/quartzjer/ecc.git undefined npm ERR! git clone https://github.com/quartzjer/ecc.git undefined npm WARN optional dep failed, continuing ecc@git+https://github.com/quartzjer/ecc.git npm WARN git config --get remote.origin.url returned wrong result (https://github.com/quartzjer/ecc.git) undefined npm WARN git config --get remote.origin.url returned wrong result (https://github.com/quartzjer/ecc.git) undefined npm ERR! git clone https://github.com/quartzjer/ursa.git undefined npm ERR! git clone https://github.com/quartzjer/ursa.git undefined npm WARN optional dep failed, continuing ursa@git+https://github.com/quartzjer/ursa.git npm ERR! git clone https://github.com/quartzjer/ecc.git undefined npm ERR! git clone https://github.com/quartzjer/ecc.git undefined npm WARN optional dep failed, continuing ecc@git+https://github.com/quartzjer/ecc.git npm ERR! git clone https://github.com/rynomad/jsbn.git undefined npm ERR! git clone https://github.com/rynomad/jsbn.git undefined

How can I solve it? Thanks.

quartzjer commented 10 years ago

I think that's an issue with git working on your system? What happens if you do a git clone https://github.com/quartzjer/ecc.git directly?

I've not tested it on windows but there's no reason it shouldn't ultimately work, but it may take some fiddling, I'm not sure :/

StanleyAM commented 10 years ago

Yes. It's a git problem. Thanks a lot.