Problems panel lists 4 problems for jsconfig.json in my project
See original GitHub issueTS Template added by @mjbvz
TypeScript Version: 4.1.5
Search Terms
- configdiag
- VS Code Version: 1.53.2
- OS Version: Windows 10
Steps to Reproduce:
- Create a new Gatsby project, or clone from my repo
- Open VSCode
- Create a new jsconfig.json file if it does not exist
- Problems panel will randomly show errors on the jsconfig.json file
The jsconfig.json file contains this:
{
"compilerOptions": {
"module": "commonjs",
"jsx": "preserve",
"baseUrl": "./src"
},
"include": ["src"],
"exclude": [
"node_modules",
"**/node_modules/*",
"node_modules/**/*",
"public"
]
}
Does this issue occur when all extensions are disabled?: Yes
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:23 (6 by maintainers)
Top Results From Across the Web
VSCode jsconfig.json error "node_modules/agent-base/dist ...
Try adding "exclude": ["node_modules"] as described in the VSCode docs. I added this and restarted VSCode and the error message went away.
Read more >jsconfig.json Reference - Visual Studio Code
View the reference for jsconfig.json. ... The file itself can optionally list the files belonging to the project, the files to be excluded...
Read more >jsconfig.json Problem in a Package Dependency
Both projects were created in VS Code with command SFDX: Create Project. In particular, both projects have the **/.eslintrc.json and **/jsconfig ...
Read more >jsconfig.json: unexpected token } in json - You.com - You.com
Your jsconfig has a trailing comma after the array value in @components/* . You need to remove it because JSON doesn't support them....
Read more >How to Set Up VS Code for React Development - SitePoint
After installing the JavaScript language feature, VS Code may prompt you to provide a jsconfig.json file at the root of your project.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I’ve moved this to typescript to see if they have any insights.
Here’s the relevant diagnostics that are being generated:
Okay