Skip to content

Try requiring build/Debug/nodegit if build/Release/nodegit wasn't found.#108

Merged
nkallen merged 1 commit into
nodegit:masterfrom
papandreou:buildWithDebugNode
Oct 13, 2013
Merged

Try requiring build/Debug/nodegit if build/Release/nodegit wasn't found.#108
nkallen merged 1 commit into
nodegit:masterfrom
papandreou:buildWithDebugNode

Conversation

@papandreou
Copy link
Copy Markdown
Contributor

I just spent half an hour trying to figure out why nodegit couldn't require build/Release/nodegit.node. Turns out I was running version of node that was built with ./configure --debug, which for some reason makes node-gyp put the compiled binary in another directory, build/Debug/.

This fix falls back to looking in the Debug directory if nodegit.node couldn't be found in the Release directory.

nkallen added a commit that referenced this pull request Oct 13, 2013
Try requiring build/Debug/nodegit if build/Release/nodegit wasn't found.
@nkallen nkallen merged commit 83abd4b into nodegit:master Oct 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants