-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Typescript errors are no more showed in the terminal since vue-tsc 2 #4099
Comments
Same issue, blank lines where the original code was supposed to be. Downgrade to vue-tsc 1.8.27 worked to restore the outputs in the console. |
Same issue on vue@3.4.21, typescript@5.1.6. Upgrading TS to 5.4.3 shows empty lines on some errors (some are still fine). Downgrading to 1.8.27 helps. |
Fixed by volarjs/volar.js@a414785 |
…162) * fix(typescript): transform source file for tsc without `incremental` refs vuejs/language-tools#4099 --------- Co-authored-by: Johnson Chu <johnsoncodehk@gmail.com>
We are using @volar/typescript v2 |
@so1ve You're right, I've got confused with dependency versions when switched packages. I'll remove my previous comment. So then I still have an issue with the following versions:
I tried to debug and found that the following language-tools/packages/tsc/index.ts Lines 52 to 56 in b80b63a
When I run yarn run vue-tsc --noEmit The issue it swallows is "createModuleResolutionCache is not defined". It fails in The best I found is that P.S.: version 1.8.27 works fine for me |
Seemed that your typescript version is too old, could you please upgrade to v5 if possible? |
@so1ve you're right. This is the problem. It's working for v5. Probably it makes sense to specify the minimum supported version in |
Sure, PR welcome :) |
Description
On vue-tsc 2.0.6, console output is empty reporting no typescript errors even if there is an error
Versions
Here is the error in vscode
What is happening?
The output of the terminal is empty
What should I expect
Steps to reproduce
The text was updated successfully, but these errors were encountered: