Vetur can't find tsconfig.json or jsconfig.json
See original GitHub issue- I have searched through existing issues
- I have read through docs
- I have read FAQ
- I have tried restarting VS Code or running
Vetur: Restart VLS
Info
- Platform: Win
- Vetur version: v0.33.1
- VS Code version: 1.54.1
Problem
I have a VS Code workspace with many projects, one is the Vue frontend and all the others are backend services running .Net Core. On loading VS Code, I get dozens of messages about Vetur not being able to find tsconfig.json or jsconfig.json relating to the .Net Core services which obviously won’t have those files. How can I stop Vetur showing these messages without adding any Vetur config files to those projects? They are not frontend projects so shouldn’t be littered with frontend related config files. Thanks in advance!
Reproducible Case
- Create a new workspace file in VS Code
- Add a Vue project to workspace
- Add a .Net Core project to workspace
- Open VS Code and you should see those messages
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Vetur can't find package.json - Stack Overflow
First of all, in Visual Studio code, type: Ctrl + Shift + p. This command, will open this window. enter image description here....
Read more >FAQ | Vetur - GitHub Pages
Vetur uses different version of TypeScript in .vue files to what I installed in node_modules. ... Vetur can't find tsconfig.json, jsconfig.json in /xxxx/xxxxxx....
Read more >VSCode Vetur jsconfig.json - Laracasts
json. in my Laravel / Vue project. The issue is that when I use import SomeThing from "@..
Read more >VSCode报错Vetur can't find 'tsconfig.json' or 'jsconfig.json'的 ...
vs打开后出现提示: Vetur can't find tsconfig.json or jsconfig.json in e:\study-alone\Vue\test\demo-first 解决方案如下图:.
Read more >VSCode报错Vetur can't find 'tsconfig.json' or 'jsconfig ... - 掘金
原因: Vetur 0.31.0版本新增了一个vetur.config.js的配置文件,在这个版本之后,会优先查找项目中是否配有tsconfig.json(ts项目) ...
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
spent some time to find the line in docs about disabling it. For those like me will just post a screenshot
https://vuejs.github.io/vetur/guide/FAQ.html#vetur-can-t-find-tsconfig-json-jsconfig-json-in-xxxx-xxxxxx