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

Doctor warning about @vue/compiler-dom when vue-tsc is installed in 2.7 project. #2262

Closed
ascott18 opened this issue Dec 29, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ascott18
Copy link

I'm getting the following doctor warning because vue-tsc has @vue/compiler-dom as an indirect dependency, but the warning is telling me to remove compiler-dom from my package.json.

HelloWorld.vue Doctor
❗ Unnecessary @vue/compiler-dom
Vue 2.7 already includes JSX type definitions. You can remove the @vue/compiler-dom dependency from package.json.

vue: c:\src\MyProject\node_modules\vue\package.json
@vue/compiler-dom: c:\src\MyProject\node_modules@vue\compiler-dom\package.json
> npm ls @vue/compiler-dom
MyProject@0.1.0 C:\src\MyProject
└─┬ vue-tsc@1.0.18
  └─┬ @volar/vue-language-core@1.0.18
    ├── @vue/compiler-dom@3.2.45
    └─┬ @vue/compiler-sfc@3.2.45
      ├── @vue/compiler-dom@3.2.45 deduped
      └─┬ @vue/compiler-ssr@3.2.45
        └── @vue/compiler-dom@3.2.45 deduped
``
@ascott18 ascott18 changed the title Doctor warning about @vue/compiler-dom when vue-tsc is installed in project. Doctor warning about @vue/compiler-dom when vue-tsc is installed in 2.7 project. Dec 29, 2022
@johnsoncodehk johnsoncodehk added the bug Something isn't working label Dec 30, 2022
@jhxxs
Copy link

jhxxs commented Jul 19, 2023

this issue still exists 🥲
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants