jsconfig.json: Unexpected token ] in JSON at position

请检查 jsconfig.json 是否不符合 json 格式规范
 
> react-app-rewired start

internal/modules/cjs/loader.js:723
throw err;
^

SyntaxError: E:\work\xgz\jsconfig.json: Unexpected token ] in JSON at position 359

at JSON.parse (<anonymous>)
at Object.Module._extensions..json (internal/modules/cjs/loader.js:720:27)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at getModules (E:\work\xgz\node_modules\react-scripts\config\modules.js:133:14)
at Object.<anonymous> (E:\work\xgz\node_modules\react-scripts\config\modules.js:149:18)
at Module._compile (internal/modules/cjs/loader.js:701:30)

 

 

 

posted on 2020-03-25 17:49  xiaogezi  阅读(789)  评论(0编辑  收藏  举报

导航