Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error executing Git command #8

Closed
dparfrey opened this issue Sep 20, 2012 · 6 comments
Closed

Error executing Git command #8

dparfrey opened this issue Sep 20, 2012 · 6 comments

Comments

@dparfrey
Copy link

I'm using node.js to run batch git commands. Most git commands seem to run fine with exec-sync, but I get the following error:

Error: error: unable to create temporary sha1 filename : No such file or directory

when I try to run:

execSync("git commit -am 'SYNC'");

I get a similar similar error executing a tag command with a -m parameter.

Ideas?

@jeremyfa
Copy link
Owner

jeremyfa commented Oct 2, 2012

I will check this when I have a bit of time. It may be because of the single quote. If it is the case, it is a bug to fix.

@jaketrent
Copy link

I consistently error out when doing a git clone with this error when using exec-sync:

fatal: Full write to remote helper failed: Broken pipe

The command works just fine using child_process.exec or spawn.

@pbakaus
Copy link

pbakaus commented Oct 7, 2013

For what it's worth, I have the same issue with git clone :/

@georgealways
Copy link

bump

1 similar comment
@danwoods
Copy link

bump

@jeremyfa
Copy link
Owner

I advice you use this module instead: https://github.com/mgutz/execSync
I don't maintain my exec-sync repository anymore as the one above is already providing the same features (and even a bit more).

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

No branches or pull requests

6 participants