mathieudutour / git-sketch-plugin

:gem::octocat: A Git client generating pretty diffs built right into Sketch.
https://mathieudutour.github.io/git-sketch-plugin
MIT License
2.45k stars 126 forks source link

TypeError: e.exports.lstatSync is not a function. (In 'e.exports.lstatSync(t)', 'e.exports.lstatSync' is undefined) #230

Closed hw20101101 closed 4 years ago

hw20101101 commented 4 years ago

How did it happen?

1. 2. 3.

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/iosdeveloper/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js"
}

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