Runtime Error, JSON Syntax Error


#1

Ionic App not running on my browser and getting the syntax error

c:\xxx\xxx\NewApp>ionic serve
Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port
35729 --dev-logger-port 53703 --nobrowser - Ctrl+C to cancel
[13:43:24] watch started …
[13:43:24] build dev started …
[13:43:25] clean started …
[13:43:25] clean finished in 22 ms
[13:43:25] copy started …
[13:43:27] deeplinks started …
[13:43:27] deeplinks finished in 111 ms
[13:43:27] transpile started …
[13:43:45] transpile finished in 17.38 s
[13:43:45] preprocess started …
[13:43:45] preprocess finished in less than 1 ms
[13:43:45] webpack started …
[13:43:46] copy finished in 21.38 s
[13:43:56] webpack finished in 11.43 s
[13:43:56] sass started …
Without from option PostCSS could generate wrong source map and will not find
Browserslist config. Set it to CSS file path or to undefined to prevent this w
arning.
[13:44:01] sass finished in 5.10 s
[13:44:01] postprocess started …
[13:44:01] postprocess finished in 17 ms
[13:44:01] lint started …
[13:44:01] build dev finished in 36.71 s
[13:44:02] watch ready in 37.28 s
[13:44:02] dev server running: http://localhost:8100/

[OK] Development server running!
Local: http://localhost:8100
External: http://192.168.1.155:8100
DevApp: NewApp@8100 on Sales

[13:44:05] lint finished in 3.73 s

Please find the below error.

SyntaxError: JSON syntax error

at Object.ThrowError (http://gc.kis.v2.scr.kaspersky-labs.com/01B5EC2B-27FD-AA4F-B612-4F40CA73C0DC/main.js:58:19)
at Object.Parse (http://gc.kis.v2.scr.kaspersky-labs.com/01B5EC2B-27FD-AA4F-B612-4F40CA73C0DC/main.js:171:22)
at Object.exports.parse [as JSONParse] (http://gc.kis.v2.scr.kaspersky-labs.com/01B5EC2B-27FD-AA4F-B612-4F40CA73C0DC/main.js:176:23)
at OnFrameContextMenu (http://gc.kis.v2.scr.kaspersky-labs.com/01B5EC2B-27FD-AA4F-B612-4F40CA73C0DC/main.js:2914:17)
at http://gc.kis.v2.scr.kaspersky-labs.com/01B5EC2B-27FD-AA4F-B612-4F40CA73C0DC/main.js:198:50
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15660)
at r.runTask (http://localhost:8100/build/polyfills.js:3:10834)
at e.invokeTask [as invoke] (http://localhost:8100/build/polyfills.js:3:16794)
at p (http://localhost:8100/build/polyfills.js:2:27648)
at d (http://localhost:8100/build/polyfills.js:2:28075)

#2

Help me to solve this error…


#3

It’s your JSON, provide more info of your JSON data so I can take a look.


#4

Please check this link: https://we.tl/a8fFr76mPW

above file working perfectly on Firefox browser. Only getting the issue on Chrome browser. let me know the issue.