TypeScript errors are not displayed in terminal with --incremental
(vue-tsc@2)
#4194
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
upstream
Related issue
Description
At first I had the same issue as #4099 , and I'm very grateful for this quick fix!
Then, when I used
--incremental
based on this fix, I reproduced the issue again.Versions
Because
vue-tsc
based on the fixed version has not yet released a new version, I tested it after compiling the current latest[email protected]
source code locally, where the dependencies are:@volar/language-core
: 2.2.0-alpha.3@volar/typescript
: 2.2.0-alpha.3Steps to reproduce
When
vue-tsc --noEmit --incremental
, the first execution (withouttsconfig.tsbuildinfo
), everything works fine and a newtsconfig.tsbuildinfo
cache file is generated. As shown in the figure below:Then, when executed repeatedly, the
.ts
file still prints the error as expected, but the.vue
file no longer prints the source code for the error line. As shown in the figure below, the output error is incomplete.Also, with testing, I noticed that only
.vue
files will have incomplete errors,.ts
files everything works fine.The text was updated successfully, but these errors were encountered: