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 4 column 1 of the JSON5 data. Still to read: "{\n \"n... #233

Open SilverPunk opened 4 years ago

SilverPunk commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.42.0 x64 Electron: 4.2.7 OS: "Fedora release Thrown From: atom-live-server package 2.3.0

Stack Trace

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

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

SyntaxError: Syntax error at line 4 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 FSReqWrap.oncomplete (fs.js:141:20)

Commands

     -3:13.8.0 Python run: run-f5 (input.hidden-input)
     -1:38.8.0 tree-view:add-file (span.name.icon.icon-file-directory)
     -1:37.5.0 core:paste (input.hidden-input)
     -1:36.1.0 core:confirm (input.hidden-input)
     -1:25.7.0 core:paste (input.hidden-input)
     -1:24.2.0 core:move-up (input.hidden-input)
 19x -1:23.8.0 core:move-right (input.hidden-input)
  6x -1:21.8.0 core:backspace (input.hidden-input)
     -1:03.5.0 editor:newline (input.hidden-input)
     -1:02.3.0 core:paste (input.hidden-input)
     -0:48 editor:newline (input.hidden-input)
     -0:46.6.0 core:paste (input.hidden-input)
     -0:45.7.0 editor:newline (input.hidden-input)
     -0:40.2.0 core:paste (input.hidden-input)
     -0:39 core:save (input.hidden-input)
     -0:18.5.0 atom-live-server:start-3000 (input.hidden-input)

Non-Core Packages

aligner-php 1.3.0 
atom-debug-ui 1.0.4 
atom-ide-ui 0.13.0 
atom-live-server 2.3.0 
atom-python-run 0.9.7 
atom-python-test 0.10.0 
build 0.70.0 
build-python 0.11.0 
busy-signal 2.0.1 
drunken-php 0.2.4 
hyperclick-php 0.3.0 
ide-php 0.7.18 
ide-python 1.5.0 
php-cs-fixer 4.1.1 
php-debug 0.3.5 
python-debugger 0.2.0 
python-snippets 1.9.0 
python-tools 0.6.9 
run-python-simply 0.6.0 
script 3.25.0 

I don`t understand why it is not working((( Can somebody help me?