Skip to content

Error while installing Nodegit 0.1.0 #120

@shyamsalimkumar

Description

@shyamsalimkumar

I had the following error while trying to install Nodegit v0.1.0 on Ubuntu 11.10. It could be something related to that but then again I am not entirely sure what the cause of the error is.

I am currently having python 2.7 installed and python 3.2 installed. This is similar to the issue mentioned at #59 but I'm not sure of that which is why I posted it as another issue.

[100%] Built target git2
[nodegit] Building native module.
gyp ERR! configure error
gyp ERR! stack Error: Command failed: execvp(): No such file or directory
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:540:15)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at maybeClose (child_process.js:638:16)
gyp ERR! stack at Socket.ChildProcess.spawn.stdin (child_process.js:815:11)
gyp ERR! stack at Socket.EventEmitter.emit (events.js:88:17)
gyp ERR! stack at Socket._destroy.destroyed (net.js:357:10)
gyp ERR! stack at process.startup.processNextTick.process._tickCallback (node.js:244:9)
gyp ERR! System Linux 3.0.0-12-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--python" "python"
gyp ERR! cwd /home/shyam/git/bucket/node_modules/nodegit
gyp ERR! node -v v0.8.9
gyp ERR! node-gyp -v v0.6.8
gyp ERR! not ok
npm ERR! nodegit@0.1.0 install: node install.js
npm ERR! sh "-c" "node install.js" failed with 1
npm ERR!
npm ERR! Failed at the nodegit@0.1.0 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 Linux 3.0.0-12-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "nodegit"
npm ERR! cwd /home/shyam/git/bucket
npm ERR! node -v v0.8.9
npm ERR! npm -v 1.1.61
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/shyam/git/bucket/npm-debug.log
npm ERR! not ok code 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions