mupchrch / split-diff

Side-by-side file compare for the Atom text editor.
https://atom.io/packages/split-diff
MIT License
200 stars 26 forks source link

Uncaught SyntaxError: Unexpected token < in JSON at position 1 #174

Open CoinFundApp opened 4 years ago

CoinFundApp commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.44.0 x64 Electron: 4.2.7 OS: Mac OS X 10.15.3 Thrown From: split-diff package 1.6.1

Stack Trace

Uncaught SyntaxError: Unexpected token < in JSON at position 1

At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html:2

SyntaxError: Unexpected token < in JSON at position 1
    at JSON.parse (<anonymous>)
    at /packages/split-diff/lib/split-diff.coffee:317:27
    at Socket.e.on.e (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1123459)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:260:13)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Commands

     -0:47.1.0 split-diff:enable (span.name.icon.icon-file-text)
     -0:34 core:select-all (input.hidden-input)

Non-Core Packages

atom-material-ui 2.1.3 
compare-files 0.8.1 
minimap-split-diff 0.3.7 
split-diff 1.6.1 
teletype 0.13.4