Open omijh opened 7 years ago
see also, https://github.com/atom/atom/issues/5121
In this case it's happening when split-diff is trying to create the first of two temp files.
_createTempFiles: (editors) ->
editor1Path = ''
editor2Path = ''
tempFolderPath = atom.getConfigDirPath() + '/split-diff'
editor1Path = tempFolderPath + '/split-diff 1'
editor1TempFile = new File(editor1Path)
editor1TempFile.writeSync(editors.editor1.getText())
editor2Path = tempFolderPath + '/split-diff 2'
editor2TempFile = new File(editor2Path)
editor2TempFile.writeSync(editors.editor2.getText())
Can you check your atom.getConfigDirPath() for permissions that may be preventing atoms built-in "File" class from setting up a watcher?
The only way I know to see where getConfigDirPath() is, is to run the command atom.getConfigDirPath()
in the debugger console. On OSX for me it returns, "/Users/bwilkerson/.atom"
[Enter steps to reproduce:]
Atom: 1.14.4 x64 Electron: 1.3.13 OS: Ubuntu 14.04.5 Thrown From: git-time-machine package 1.5.6
Stack Trace
Uncaught Error: Unable to watch path
Commands
Non-Core Packages