Skip to content

node: No such file or directory #2

Open
aratak opened this Issue Feb 19, 2012 · 3 comments

3 participants

@aratak
aratak commented Feb 19, 2012

Using GUI for git (GitX on screenshot or Github), i've seen the error:

But commits from console are passed in anyway.

Node installed by homebrew

I can't imagine correct solution.

@cdata
cdata commented Feb 26, 2012

I'm having a similar problem on the command line. I know in my scenario Node is installed in an atypical location, which is added to my path via a line in .bashrc. Perhaps this is related?

@substack
Owner

git-emit uses /usr/bin/env node so as long as node is in $PATH everything should be fine. Perhaps $PATH isn't getting set correctly in the context that you're running git-emit?

@cdata
cdata commented Feb 27, 2012

Yeah, that seems to be what is going on; it seems as though my .bashrc isn't sourced in the server's environment when I push from an external location. I'll post back here if I figure out how to resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.