jas-chen / atom-live-server

Launch a simple development http server with live reload capability.
https://atom.io/packages/atom-live-server
MIT License
121 stars 49 forks source link

Uncaught SyntaxError: Syntax error at line 5 column 1 of the JSON5 data. Still to read: "{\n \"n... #260

Open Kojimekko opened 4 years ago

Kojimekko commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.50.0 x64 Electron: 5.0.13 OS: Linux Mint Thrown From: atom-live-server package 2.3.0

Stack Trace

Uncaught SyntaxError: Syntax error at line 5 column 1 of the JSON5 data. Still to read: "{\n \"no-browser\": tr"

At /home/kojimmeko/.atom/packages/atom-live-server/node_modules/json5/lib/json5.js:64

SyntaxError: Syntax error at line 5 column 1 of the JSON5 data. Still to read: "{\n  \"no-browser\": tr"
    at error (/packages/atom-live-server/node_modules/json5/lib/json5.js:56:25)
    at Object.parse (/packages/atom-live-server/node_modules/json5/lib/json5.js:511:13)
    at /packages/atom-live-server/lib/atom-live-server.js:137:34
    at /packages/atom-live-server/lib/atom-live-server.js:152:12
    at FSReqCallback.oncomplete (fs.js:150:20)

Commands

     -9:29.8.0 atom-live-server:startServer (input.hidden-input)
     -8:42.1.0 find-and-replace:find-all (input.hidden-input)
     -8:36.3.0 find-and-replace:find-next (input.hidden-input)
     -7:43.1.0 atom-beautify:beautify-editor (input.hidden-input)
     -7:37.8.0 atom-live-server:startServer (input.hidden-input)
     -6:50.3.0 core:save (input.hidden-input)
     -1:03.6.0 atom-live-server:startServer (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-live-server 2.3.0 
gpp-compiler 3.0.7