-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
Cannot find type definition file for 'vue/__globalTypes_3.4_false' #4738
Comments
@johnsoncodehk Encountered the same problem |
Version rollback to "vue-tsc": "2.0.29" Return to normal |
Encountered the same problem |
If this error happened is the Volar update to 2.1.0? |
新建一个项目就会发生。
|
Workaround for now: Add the following to your tsconfig.compilerOptions: "paths": {
"vue/__globalTypes_3.4_false": ["node_modules/vue/__globalTypes_3.4_false.d.ts"]
} |
I lost a lot of my hair because of this bug!!! |
Seems your hairs are unlucky today, you should have been using React ;) @mikeshi80 |
you can also build only, don't check type |
I can confirm it works now. @aurora-lch pnpm i -D vue-tsc@2.1.2
pnpm i -D @vue/typescript-plugin@2.1.2 # if exists: https://github.com/zed-industries/zed/issues/8336
pnpm build # now it works |
an issue popped up with recent version of vue-tsc vuejs/language-tools#4738
Vue - Official extension or vue-tsc version
2.1.0
VSCode version
1.92.2
Vue version
3.4.38
TypeScript version
5.5.4
System Info
Steps to reproduce
What is expected?
It should build success just like the version 2.0.29.
What is actually happening?
There are a lot of errors.
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: