You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are already few MacOSX install issues, but i've created this issue just because of different error message.
So i'm getting this one:
> nodegit@0.0.72 install /CWD/node_modules/nodegit
> node install.js
[nodegit] Downloading libgit2 dependency.
/CWD/node_modules/nodegit/node_modules/adm-zip/headers/entryHeader.js:92
throw Utils.Errors.INVALID_CEN;
^
Invalid CEN header (bad signature)
npm ERR! nodegit@0.0.72 install: `node install.js`
npm ERR! `sh "-c" "node install.js"` failed with 1
npm ERR!
npm ERR! Failed at the nodegit@0.0.72 install script.
npm ERR! This is most likely a problem with the nodegit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls nodegit
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 11.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "git://github.com/tbranyen/nodegit.git"
npm ERR! cwd /CWD
npm ERR! node -v v0.8.17
npm ERR! npm -v 1.2.0
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /CWD/npm-debug.log
npm ERR! not ok code 0
I'm getting the same error for both npm install nodegit and npm install git://github.com/tbranyen/nodegit.git.
@Shogun147 thanks Shogun, that looks workable. Hopefully I get a chance to give it a try over the next few days! (Or you could submit a PR, hint hint? 👍 💯)
Activity
faceleg commentedon Mar 17, 2013
Confirming this is one of the many issue I'm trying to work out at the moment. As quickly as I can!
faceleg commentedon Mar 17, 2013
(note to self): try this to download & unzip libgit2: http://stackoverflow.com/a/10391641/187954
Grigore147 commentedon Mar 17, 2013
What i've seen in your code, you can try something like this:
This is a short code, you can add listeners for other events like error, data ...
faceleg commentedon Mar 18, 2013
@Shogun147 thanks Shogun, that looks workable. Hopefully I get a chance to give it a try over the next few days! (Or you could submit a PR, hint hint? 👍 💯)
faceleg commentedon Mar 21, 2013
Thanks again, I've implemented your solution and it works great (for me).
Grigore147 commentedon Mar 21, 2013
@faceleg - yeah, well done, it works for me to, just had to install cmake and python2 deps for libgit.