<p dir="auto">I run into this issue repeatedly. I know there are already a bunch of reports about this error message, but it's hard to tell what are duplicates because of all the variations. When I get this now it's paired with a second error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Unable to watch path
Uncaught ReferenceError: spawnSync is not defined"><pre class="notranslate"><code class="notranslate">Uncaught TypeError: Unable to watch path
Uncaught ReferenceError: spawnSync is not defined
</code></pre></div>
<p dir="auto">(See bottom for detailed version.)</p>
<p dir="auto">The details about my situation:</p>
<p dir="auto">Atom (currently 0.153.0), no packages installed, running on Windows 7 x64.</p>
<p dir="auto">Atom will run fine for some amount of time, then I try to open a file and get this error. It doesn't seem to be related to renaming files, as in some of the other reports. At least sometimes I can still open a file in a different window. At least sometimes I can open a file in the same window with a different path. For example, I'm often loading files from a samba share running on Ubuntu 12, e.g.</p>
<p dir="auto"><code class="notranslate">\\server\share\somedir\somefile</code></p>
<p dir="auto">When the problem strikes I don't seem to be able to load any more files from <code class="notranslate">\\server\share\somedir</code> in the same window. But if I map a drive to the same share, I seem to be able to load files from there, e.g.:</p>
<p dir="auto"><code class="notranslate">Z:\somedir\somefile</code></p>
<p dir="auto">I've already tried setting <code class="notranslate">fs.inotify.max_user_watches</code> to <code class="notranslate">32768</code> (on the Ubuntu system) as suggested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="33075554" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/2082" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/2082/hovercard" href="https://github.com/atom/atom/issues/2082">#2082</a> and the problem persists.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Unable to watch path c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:66
  HandleWatcher.start c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:66
  HandleWatcher c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:30
  PathWatcher c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:120
  exports.watch c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:179
  module.exports.File.subscribeToNativeChangeEvents c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:364
  module.exports.File.willAddSubscription c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:101
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:3
  module.exports.File.onDidChange c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:85
  module.exports.TextBuffer.subscribeToFile c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:1085
  module.exports.TextBuffer.setPath c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:277
  TextBuffer c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:100
  module.exports.Project.buildBuffer c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:463
  module.exports.Project.bufferForPath c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:438
  module.exports.Project.open c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:392
  module.exports.Workspace.openUriInPane c:\Program Files (x86)\GitHub Atom\resources\app\src\workspace.js:482
  module.exports.Workspace.open c:\Program Files (x86)\GitHub Atom\resources\app\src\workspace.js:409
  _results.push._this.(anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\delegato\lib\delegator.js:67
  module.exports.TreeView.openSelectedEntry c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:634
  module.exports.TreeView.entryClicked c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:378
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:156
  handler c:\Program Files (x86)\GitHub Atom\resources\app\src\space-pen-extensions.js:112
  jQuery.event.dispatch c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\space-pen\vendor\jquery.js:4681
  elemData.handle c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\space-pen\vendor\jquery.js:4359

Uncaught ReferenceError: spawnSync is not defined c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:278
  NotificationElement.winVersionText c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:278
  NotificationElement.getOSMarketingVersion c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:249
  NotificationElement.getIssueBody c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:183
  NotificationElement.getIssueUrl c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:164
  NotificationElement.generateMarkup c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:83
  NotificationElement.initialize c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:29
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:15
  module.exports.ViewRegistry.createView c:\Program Files (x86)\GitHub Atom\resources\app\src\view-registry.js:61
  module.exports.ViewRegistry.getView c:\Program Files (x86)\GitHub Atom\resources\app\src\view-registry.js:43
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:29
  module.exports.Emitter.emit c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\event-kit\lib\emitter.js:82
  module.exports.NotificationManager.addNotification c:\Program Files (x86)\GitHub Atom\resources\app\src\notification-manager.js:54
  module.exports.NotificationManager.addFatalError c:\Program Files (x86)\GitHub Atom\resources\app\src\notification-manager.js:45
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:43
  module.exports.Emitter.emit c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\event-kit\lib\emitter.js:82
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\src\atom.js:221"><pre class="notranslate"><code class="notranslate">Uncaught TypeError: Unable to watch path c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:66
  HandleWatcher.start c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:66
  HandleWatcher c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:30
  PathWatcher c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:120
  exports.watch c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:179
  module.exports.File.subscribeToNativeChangeEvents c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:364
  module.exports.File.willAddSubscription c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:101
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:3
  module.exports.File.onDidChange c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:85
  module.exports.TextBuffer.subscribeToFile c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:1085
  module.exports.TextBuffer.setPath c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:277
  TextBuffer c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:100
  module.exports.Project.buildBuffer c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:463
  module.exports.Project.bufferForPath c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:438
  module.exports.Project.open c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:392
  module.exports.Workspace.openUriInPane c:\Program Files (x86)\GitHub Atom\resources\app\src\workspace.js:482
  module.exports.Workspace.open c:\Program Files (x86)\GitHub Atom\resources\app\src\workspace.js:409
  _results.push._this.(anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\delegato\lib\delegator.js:67
  module.exports.TreeView.openSelectedEntry c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:634
  module.exports.TreeView.entryClicked c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:378
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:156
  handler c:\Program Files (x86)\GitHub Atom\resources\app\src\space-pen-extensions.js:112
  jQuery.event.dispatch c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\space-pen\vendor\jquery.js:4681
  elemData.handle c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\space-pen\vendor\jquery.js:4359

Uncaught ReferenceError: spawnSync is not defined c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:278
  NotificationElement.winVersionText c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:278
  NotificationElement.getOSMarketingVersion c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:249
  NotificationElement.getIssueBody c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:183
  NotificationElement.getIssueUrl c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:164
  NotificationElement.generateMarkup c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:83
  NotificationElement.initialize c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:29
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:15
  module.exports.ViewRegistry.createView c:\Program Files (x86)\GitHub Atom\resources\app\src\view-registry.js:61
  module.exports.ViewRegistry.getView c:\Program Files (x86)\GitHub Atom\resources\app\src\view-registry.js:43
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:29
  module.exports.Emitter.emit c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\event-kit\lib\emitter.js:82
  module.exports.NotificationManager.addNotification c:\Program Files (x86)\GitHub Atom\resources\app\src\notification-manager.js:54
  module.exports.NotificationManager.addFatalError c:\Program Files (x86)\GitHub Atom\resources\app\src\notification-manager.js:45
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:43
  module.exports.Emitter.emit c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\event-kit\lib\emitter.js:82
  (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\src\atom.js:221
</code></pre></div>
<p dir="auto">Search / Find in project cmd+shift+f do not searches in .gitignore files</p>
<p dir="auto">Actually a nice feature but, sometimes its really necessary to search code in ignored files.</p>
<p dir="auto">At least there should be provision in "Finding with Options"</p>