-
Notifications
You must be signed in to change notification settings - Fork 699
Description
I try to install latest nodegit on mac using npm (npm install nodegit) but got error below. Any help appreciated...
nodegit] Removing outdated vendor/libgit2.
[nodegit] Fetching vendor/libgit2.
stream.js:94
throw er; // Unhandled stream error in pipe.
^
Error: getaddrinfo ENOTFOUND
at errnoException (dns.js:37:11)
at Object.onanswer as oncomplete
npm ERR! Linux 3.0.101-0.35-default
npm ERR! argv "node" "/usr/bin/npm" "install"
npm ERR! node v0.10.32
npm ERR! npm v2.0.0
npm ERR! code ELIFECYCLE
npm ERR! nodegit@0.1.4 install: npm run generate && node install
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the nodegit@0.1.4 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! npm run generate && node install
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! Please include the following file with any support request:
Here is debug log from npm-bug.log:
158 info linkStuff tar-pack@2.0.0
159 verbose linkBins tar-pack@2.0.0
160 verbose linkMans tar-pack@2.0.0
161 verbose rebuildBundles tar-pack@2.0.0
162 verbose rebuildBundles [ 'debug',
162 verbose rebuildBundles 'fstream',
162 verbose rebuildBundles 'fstream-ignore',
162 verbose rebuildBundles 'graceful-fs',
162 verbose rebuildBundles 'once',
162 verbose rebuildBundles 'readable-stream',
162 verbose rebuildBundles 'tar',
162 verbose rebuildBundles 'uid-number' ]
163 info install tar-pack@2.0.0
164 info postinstall tar-pack@2.0.0
165 info install node-pre-gyp@0.5.27
166 info postinstall node-pre-gyp@0.5.27
167 info install nodegit@0.1.4
168 verbose unsafe-perm in lifecycle true
169 info nodegit@0.1.4 Failed to exec install script
170 verbose stack Error: nodegit@0.1.4 install: npm run generate && node install
170 verbose stack Exit status 8
170 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:212:16)
170 verbose stack at ChildProcess.emit (events.js:98:17)
170 verbose stack at maybeClose (child_process.js:756:16)
170 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:823:5)
171 verbose pkgid nodegit@0.1.4
172 verbose cwd /sapmnt/HOME/i834373/playground/nodegit/nodegit
173 error Linux 3.0.101-0.35-default
174 error argv "node" "/usr/bin/npm" "install"
175 error node v0.10.32
176 error npm v2.0.0
177 error code ELIFECYCLE
178 error nodegit@0.1.4 install: npm run generate && node install
178 error Exit status 8
179 error Failed at the nodegit@0.1.4 install script.
179 error This is most likely a problem with the nodegit package,
179 error not with npm itself.
179 error Tell the author that this fails on your system:
179 error npm run generate && node install
179 error You can get their info via:
179 error npm owner ls nodegit
179 error There is likely additional logging output above.
180 verbose exit [ 1, true ]