-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
vue-tsc Cannot find type definition file for 'vue/dist/__globaltypes_3.4_false.d.ts'. #4746
Comments
Have you enabled hybrid mode? And check if |
This problem may be related to whether the file system is case-sensitive. Could you try converting the |
That's a bit weird, please use this workaround temporarily. |
I saw the same issue on Linux / ext4 right after upgrading vue-tsc from 2.0.29 to 2.1.2 earlier. However, in the last hour or so I've switched branches a few times (-> downgrading & upgrading vue-tsc a few more times), deleted my node_modules etc. and now the error no longer shows up. Weird. |
Can you try using pkg.pr.new to see if #4749 fixes the problem?
|
#4749 fixes the problem. Thank you for the quick reply |
Vue - Official extension or vue-tsc version
2.1.2
VSCode version
1.92.2
Vue version
3.4.38
TypeScript version
5.4.5
System Info
No response
Steps to reproduce
Create an empty project with
pnpm create vue@latest
usingtypescript
and install dependencies.Run
pnpm type-check
which runsvue-tsc --build --force
What is expected?
Get an output without errors
What is actually happening?
The type-check script is failing with the following errors:
Link to minimal reproduction
https://codesandbox.io/p/github/Tommytrg/vue-tsc-error/main?import=true
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: