Uncaught SyntaxError: Unexpected end of JSON input
See original GitHub issueIf i try to upload files in remote ftp (version 1.2.4) with drag and drop i have this issue.
[Enter steps to reproduce:]
- …
- …
Atom: 1.21.0 x64 Electron: 1.6.9 OS: Mac OS X 10.13 Thrown From: remote-ftp package undefined
Stack Trace
Uncaught SyntaxError: Unexpected end of JSON input
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html:1
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /packages/remote-ftp/lib/views/directory-view.js:140:30)
at HTMLLIElement.dispatch (/packages/Remote-FTP/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLLIElement.elemData.handle (/packages/Remote-FTP/node_modules/jquery/dist/jquery.js:4121:28)
Commands
-8:36.4.0 application:open (ul.list-inline.tab-bar.inset-panel)
-7:46.4.0 pane:split-right-and-copy-active-item (ol.tree-view-root.full-menu.list-tree.has-collapsable-children.focusable-panel)
-7:37.2.0 application:open (atom-pane.pane.active)
-7:19.1.0 pane:close (div.item-views)
2x -6:23.2.0 remote-ftp:toggle (div.header.list-item)
-5:24.6.0 application:open (atom-pane.pane.active)
-4:13.3.0 pane:split-up-and-copy-active-item (div.header.list-item)
Non-Core Packages
auto-indent 0.5.0
autoclose-html 0.23.0
Delete-Whitelines 0.6.3
doont-spotify 0.1.0
file-icons 2.1.12
grammar-tab-colors 0.2.8
highlight-selected 0.13.1
pigments 0.40.2
Remote-FTP 1.2.4
uikit-atom 0.2.2
Issue Analytics
- State:
- Created 6 years ago
- Reactions:12
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Uncaught SyntaxError: Unexpected end of JSON input
A common error encountered by JavaScript programmers is the Uncaught SyntaxError: Unexpected end of JSON input. This is usually observed when the coder...
Read more >Uncaught SyntaxError: Unexpected end of JSON input at ...
When you try to parse it as JSON it is converted to a string ( "" ), which is empty, so you reach...
Read more >Unexpected end of JSON input Error in JavaScript - Stack Diary
The "Unexpected end of JSON input" error is a syntax error that occurs when the JSON you're trying to parse is incomplete or...
Read more >Fix the unexpected end of input error in JavaScript - Codedamn
One common cause of unexpected end of JSON input error is simply that the JSON data is not well-formed. This means that there...
Read more >Unexpected end of JSON input Error in JavaScript | bobbyhadz
The "Unexpected end of JSON input" error occurs when trying to parse invalid JSON using the JSON.parse or $.parseJSON methods. Trying to parse...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will try to solve it soon. I’m welcome to pull request! 🙊
For now is impossible upload or download files with drag and drop. I don’t know if there are some package for solve this problem. I hope the developer of Remote FTP help us.