sveale / remote-edit

remote-edit
MIT License
146 stars 55 forks source link

Uncaught SyntaxError: Unexpected token a #105

Closed letianya closed 9 years ago

letianya commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.2 System: Mac OS X 10.10.4 Thrown From: remote-edit package, v1.8.14

Stack Trace

Uncaught SyntaxError: Unexpected token a

At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22atom%3A%2F%2Fconfig%22%7D%5D%2C%22bootstrapScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22appVersion%22%3A%221.0.2%22%2C%22shellLoadTime%22%3A241%2C%22initialPaths%22%3A%5B%22atom%3A%2F%2Fconfig%22%5D%7D:1

SyntaxError: Unexpected token a
  at Object.parse (native)
  at /Users/zsw/.atom/packages/remote-edit/lib/model/inter-process-data-watcher.coffee:68:52
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:379:3)

Commands

 15x -4:00.9.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -3:41.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.9.0 remote-edit:browse (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "disabledPackages": [
      "autocomplete-css"
    ],
    "themes": [
      "atom-light-ui",
      "monokai"
    ]
  },
  "remote-edit": {
    "showHiddenFiles": true,
    "rememberLastOpenDirectory": true,
    "notifications": false
  }
}

Installed Packages

# User
emmet, v2.3.12
monokai, v0.15.0
project-manager, v1.15.11
remote-edit, v1.8.14

# Dev
No dev packages