git-sketch-plugin
git-sketch-plugin copied to clipboard
Git commit doesn't work
How did it happen?
- Made some changes
- 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]
what's your sketch version?
Looks like I'm on version 62
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
I also encountered this problem, it was good last week.
sketch 63 (92445)
I published a new version which should fix this weird error message but I haven't been able to reproduce
Hmm, I still seem to be hitting an error.
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