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

Git commit doesn't work #229

Open
natenorberg opened this issue Apr 16, 2020 · 7 comments
Open

Git commit doesn't work #229

natenorberg opened this issue Apr 16, 2020 · 7 comments

Comments

@natenorberg
Copy link

How did it happen?

  1. Made some changes
  2. Ran commit (via Sketch Runner)

Running git commit manually from the command line works fine

Error log

e.exports.lstatSync is not a function. (In 'e.exports.lstatSync(t)', 'e.exports.lstatSync' is undefined)

{
	"line": 1,
	"column": 29135,
	"sourceURL": "/Users/norberg/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js"
}

/Users/norberg/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:29135
/Users/norberg/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:5357
/Users/norberg/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:34545
forEach@[native code]
b@/Users/norberg/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:34459
/Users/norberg/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:35878
/Users/norberg/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:35370
/Users/norberg/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:35403
__skpm_run@/Users/norberg/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:36216
__skpm_run@[native code]
@mathieudutour
Copy link
Owner

what's your sketch version?

@natenorberg
Copy link
Author

Looks like I'm on version 62

@natenorberg
Copy link
Author

It does still generate the files for the pretty diffs though, so I've still been running the command and then committing from the command line

@hw20101101
Copy link

I also encountered this problem, it was good last week.

sketch 63 (92445)

@mathieudutour
Copy link
Owner

I published a new version which should fix this weird error message but I haven't been able to reproduce

@natenorberg
Copy link
Author

Hmm, I still seem to be hitting an error.

@Benyv0620
Copy link

Benyv0620 commented Apr 26, 2020

In practice, it is found that using the latest version of the plug-in will freeze when committing.It is feasible to use the old version 0.11.3

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

4 participants