帮助尝试设置jsconfig.json时出现此错误,如何解决此问题? 这是我的jsconfig.json:
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"sourceMap": true,
"baseUrl": ".",
"paths": {
"helper": [
"src/./helper"
],
"libraries": [
"src/./libraries"
],
}
},
"include": ["src"]
}
答案 0 :(得分:3)
无效的JSON,后面有一个逗号。
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"sourceMap": true,
"baseUrl": ".",
"paths": {
"helper": [
"src/./helper"
],
"libraries": [
"src/./libraries"
] // <-- no comma
}
},
"include": ["src"]
}