liuderchi / ide-html

:atom: Atom-IDE for HTML, Go Template, Mustache and other Templates
https://atom.io/packages/ide-html
MIT License
20 stars 5 forks source link

Uncaught SyntaxError: Unexpected end of JSON input #47

Open snjxnksm opened 4 years ago

snjxnksm commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.42.0 x64 Electron: 4.2.7 OS: Mac OS X 10.15.2 Thrown From: ide-html package 0.6.0

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 StreamMessageReader.onData (/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:182:29)
    at Socket.readable.on (/packages/ide-html/node_modules/vscode-jsonrpc/lib/messageReader.js:148:18)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Commands

     -6:57.2.0 core:save (input.hidden-input)
     -5:36.7.0 core:copy (input.hidden-input)
     -5:34.8.0 core:move-left (input.hidden-input)
     -5:34.5.0 core:paste (input.hidden-input)
 15x -5:33.7.0 core:move-left (input.hidden-input)
     -5:29.3.0 core:save (input.hidden-input)
  2x -5:02.4.0 core:undo (input.hidden-input)
     -4:59.5.0 core:save (input.hidden-input)
     -4:10.8.0 core:backspace (input.hidden-input)
     -4:09.5.0 core:save (input.hidden-input)
  2x -3:53.2.0 core:copy (input.hidden-input)
     -3:29.5.0 find-and-replace:show (input.hidden-input)
     -3:29.2.0 core:paste (input.hidden-input)
  4x -3:27.2.0 core:confirm (input.hidden-input)
     -0:09.6.0 core:move-right (input.hidden-input)
 20x -0:04.8.0 core:select-down (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.8 
asciidoc-preview 2.13.1 
atom-beautify 0.33.4 
atom-ide-ui 0.13.0 
atom-ide-vue 1.1.3 
atom-swift-syntax 1.1.0 
auto-encoding 0.7.2 
busy-signal 2.0.1 
docblockr 0.13.7 
document-outline 2.1.2 
file-icons 2.1.37 
git-blame 1.8.0 
git-control 0.9.0 
git-history 3.3.0 
git-plus 8.7.1 
ide-html 0.6.0 
ide-java 0.9.0 
ide-json 0.2.1 
ide-php 0.7.18 
ide-ruby 0.4.0 
ide-yaml 0.6.0 
intentions 1.1.5 
japanese-menu 1.15.0 
jekyll 2.1.0 
language-asciidoc 1.11.0 
language-swift 0.5.0 
language-vue 0.25.0 
linter 2.3.1 
linter-eslint 8.5.5 
linter-php 1.6.1 
linter-phpcs 1.7.6 
linter-ruby 1.3.1 
linter-swagger 0.6.1 
linter-ui-default 1.8.0 
open-plus 0.10.2 
php-cs-fixer 4.1.1 
plantuml-preview 0.12.9 
prettier-atom 0.58.2 
print-code 0.7.1 
show-ideographic-space 1.0.2 
Sublime-Style-Column-Selection 1.7.5 
svg-preview 0.14.0