Vetur: Vetur can't find tsconfig.json or jsconfig.json

Created on 9 Mar 2021  路  2Comments  路  Source: vuejs/vetur

  • [x] I have searched through existing issues
  • [x] I have read through docs
  • [x] I have read FAQ
  • [x] 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
question

Most helpful comment

https://vuejs.github.io/vetur/guide/FAQ.html#vetur-can-t-find-tsconfig-json-jsconfig-json-in-xxxx-xxxxxx

All 2 comments

https://vuejs.github.io/vetur/guide/FAQ.html#vetur-can-t-find-tsconfig-json-jsconfig-json-in-xxxx-xxxxxx

Thanks, I had seen that but missed the crucial line about the VS Code setting!

Was this page helpful?
0 / 5 - 0 ratings