Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vetur can't find tsconfig.json or jsconfig.json #2765

Closed
4 tasks done
jacrosby opened this issue Mar 9, 2021 · 9 comments
Closed
4 tasks done

Vetur can't find tsconfig.json or jsconfig.json #2765

jacrosby opened this issue Mar 9, 2021 · 9 comments
Labels

Comments

@jacrosby
Copy link

jacrosby commented Mar 9, 2021

  • 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
@yoyo930021
Copy link
Member

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

@jacrosby
Copy link
Author

jacrosby commented Mar 9, 2021

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

@melroy89
Copy link

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

Is this file still required for V3? I could not find anything on: https://v3.vuejs.org/. Sorry..

@yoyo930021
Copy link
Member

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

Is this file still required for V3? I could not find anything on: https://v3.vuejs.org/. Sorry..

It is also needed in vue3. Not related to the Vue version.

@artnikbrothers
Copy link

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

image

@songwen02
Copy link

thanks👍

@madlife12327
Copy link

vetur only scan your project root folder , please restart vscode and make sure the root folder include jsconfig.json or tsconfig.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants