其他分享
首页 > 其他分享> > jsconfig.json: Unexpected token ] in JSON at position

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)

 

 

 

自定义组件:

标签:Unexpected,modules,JSON,js,json,internal,cjs,loader
来源: https://www.cnblogs.com/linr/p/12567707.html