Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught TypeError: Unable to watch path #97

Closed
atom/atom
#4906

Description

@jhonmike

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.169.0
System: linux 3.13.0-43-generic
Thrown From: snippets package, v0.66.0

Stack Trace

Uncaught TypeError: Unable to watch path

At /usr/share/atom/resources/app/node_modules/pathwatcher/lib/main.js:66

TypeError: Unable to watch path
  at TypeError (native)
  at HandleWatcher.start (/usr/share/atom/resources/app/node_modules/pathwatcher/lib/main.js:66:29)
  at new HandleWatcher (/usr/share/atom/resources/app/node_modules/pathwatcher/lib/main.js:30:12)
  at new PathWatcher (/usr/share/atom/resources/app/node_modules/pathwatcher/lib/main.js:120:30)
  at Object.exports.watch (/usr/share/atom/resources/app/node_modules/pathwatcher/lib/main.js:179:12)
  at File.module.exports.File.subscribeToNativeChangeEvents (/usr/share/atom/resources/app/node_modules/pathwatcher/lib/file.js:364:109)
  at File.module.exports.File.willAddSubscription (/usr/share/atom/resources/app/node_modules/pathwatcher/lib/file.js:101:14)
  at /usr/share/atom/resources/app/node_modules/pathwatcher/lib/file.js:3:61
  at File.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/emissary/lib/emitter.js:118:15)
  at File.module.exports.Emitter.on (/usr/share/atom/resources/app/node_modules/emissary/lib/emitter.js:48:14)
  at File.module.exports.File.on (/usr/share/atom/resources/app/node_modules/pathwatcher/lib/file.js:76:40)
  at /usr/share/atom/resources/app/node_modules/snippets/lib/snippets.js:166:30
  at Object.oncomplete (fs.js:93:15)
  at Ipc.sendSync (/usr/share/atom/resources/atom/renderer/api/lib/ipc.js:39:29)
  at BrowserWindow.RemoteMemberFunction [as setSize] (/usr/share/atom/resources/atom/renderer/api/lib/remote.js:110:29)
  at window.onload (file:///usr/share/atom/resources/app/static/index.js:69:19)

Commands

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

/cc @atom/core

Activity

  1. marco-santamaria commented on Jan 12, 2015

    @marco-santamaria

    Same issue here after a fresh install from the deb in Linux Mint 17. It looks like a permission issue, because if I run "sudo atom" the error disappears. But I don't want to run atom as root

  2. self-assigned this
    on Jan 12, 2015
  3. benogle commented on Jan 12, 2015

    @benogle
    Contributor

    I will be making the error for this much better in an upcoming release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions