question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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!

image

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:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

26reactions
artnikbrotherscommented, Nov 18, 2021

spent some time to find the line in docs about disabling it. For those like me will just post a screenshot

image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found