ftp-remote-edit: Uncaught SyntaxError: Unexpected token  in JSON at position 0

[Enter steps to reproduce:]

Atom: 1.18.0 x64 Electron: 1.4.16 OS: “Manjaro Linux” Thrown From: ftp-remote-edit package 0.11.7

Stack Trace

Uncaught SyntaxError: Unexpected token  in JSON at position 0

At file:///usr/lib/atom/static/index.html:1

SyntaxError: Unexpected token  in JSON at position 0
    at _TreeView.loadServers (/packages/ftp-remote-edit/lib/views/tree-view.js:116:27)
    at FtpRemoteEdit.toggle (/packages/ftp-remote-edit/lib/ftp-remote-edit.js:152:21)
    at /packages/ftp-remote-edit/lib/ftp-remote-edit.js:38:44)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/lib/atom/src/command-registry.js:265:29)
    at CommandRegistry.handleCommandEvent (/usr/lib/atom/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/lib/atom/src/command-registry.js:166:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/usr/lib/atom/src/atom-environment.js:1308:28)
    at EventEmitter.outerCallback (/usr/lib/atom/src/application-delegate.js:320:25)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -1:06.9.0 ftp-remote-edit:toggle (div.tool-panel.tree-view)
 17x -1:00.9.0 core:backspace (input.hidden-input)
     -0:50.3.0 core:confirm (input.hidden-input)
     -0:38.6.0 ftp-remote-edit:toggle (div.tool-panel.tree-view)

Non-Core Packages

build-make 0.13.0 
busy-signal 1.4.3 
comment 0.6.1 
ftp-remote-edit 0.11.7 
hidpi 0.12.0 
intentions 1.1.2 
language-rust 0.4.10 
linter 2.2.0 
linter-rust 0.8.0 
linter-ui-default 1.6.2 
rustfmt 0.1.3 

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17

Commits related to this issue

Most upvoted comments

Using the new Pulsar fork with this package but getting an error when configuring new SFTP connection.

See here > https://capture.dropbox.com/fZlj7VU9e8ekOgnG

Not sure if this package is compatible with the new Pulsar editor? Thanks!