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

Open footios opened 6 years ago

footios commented 6 years ago

I just tried to run live server and I got this error.

Atom: 1.32.1 x64 Electron: 2.0.9 OS: Microsoft Windows 10 Home Thrown From: atom-live-server package 2.3.0

Stack Trace

Uncaught SyntaxError: Syntax error at line 7 column 1 of the JSON5 data. Still to read: "{\r\n \"entry-file\": \""

At C:\Users\free-do\.atom\packages\atom-live-server\node_modules\json5\lib\json5.js:64

SyntaxError: Syntax error at line 7 column 1 of the JSON5 data. Still to read: "{\r\n  \"entry-file\": \""
    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:135:15)

Commands

     -6:22.2.0 application:open-file (input.hidden-input)
 10x -5:55.8.0 core:backspace (input.hidden-input)
     -0:29.2.0 command-palette:toggle (input.hidden-input)
     -0:24.9.0 atom-live-server:start-3000 (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-live-server 2.3.0 
Atom-Syntax-highlighting-for-Sass 0.5.0 
file-watcher 2.0.0 
sass-autocompile 0.13.5