-
Notifications
You must be signed in to change notification settings - Fork 32
error: pathspec 'gistup' did not match any file(s) known to git #22
Comments
This is almost certainly a Windows issue, and I’m afraid I won’t be much help at solving it. My guess from the cryptic error is that it’s failing inside the function gitCommit(callback) {
child.exec("git commit --allow-empty -m 'Initial gistup commit.'", function(error, stdout, stderr) {
if (!error && stderr) process.stderr.write(stderr), error = new Error("git commit failed.");
if (!error && stdout) process.stdout.write(stdout);
callback(error);
});
} Specifically, it looks like your shell is not correctly parsing the single-quoted commit message ( It’s possible that gistup could be modified to support Windows, but my guess is that this would require substantial changes. So you might be out of luck. Sorry. 😦 |
Understood. Thanks very much for your swift reply. |
I can bypass the mentioned error #22 (comment) using underscores like so
|
Ok it is creating the Gist on GitHub in MINGW64 using https://github.com/mbostock/gistup/tree/c6f3b193de8a99f6275496ec2dd6761b57c3e598 |
So a note to myself CrandellWS@ac982d1 from where I had not realized there was a problem with ssh (had not even tried yet, thought it was setup but do to custom naming convience...) |
Got this much figured out from https://gist.github.com/leommoore/4484379#passing-environment-variables
|
Cross platform??>
|
Here is what I have got so far CrandellWS@6114d26 Though it looks like more can still be done. |
With Windows this works
vs this fails
do not have current access to linux but it is assumed that there is reason to not just change it like mentioned if only because the message might contain unwanted character and what not... |
bit stuck on Right single quotation mark (U+2019) vs. Apostrophe (U+0027) not sure what to do |
deferred to
|
now you can see the rEcho (returned echo) in cross-platform.js this newer update partially works in MinGW and cmd.exe CrandellWS@010814e still got the file issue to consider #21 Can Someone test this on a linux system for me |
Windows users will hopefully find success using:
|
The previous package was renamed to mkg so use Was able to get Ubuntu up and running to test the package and found it is now successfully working. A side note for Ubuntu users getting npm running was not so straight forward. For my purposes the Best Solution To get npm working correctly on Ubuntu:
|
This issue is fixed with the solution CrandellWS provided. Thanks @CrandellWS |
Hi,
I've followed the "Let's Make a Block" tutorial and gotten stuck trying to run gistup. I've pasted the error below, which isn't addressed in your gistup troubleshooting section. At first I thought it might be a git configuration issue, but it looks like I've not set up my path variables correctly for npm-installed programs to run. Will check that first.
Thank you.
The text was updated successfully, but these errors were encountered: