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 crashes in watch mode when file changed after 1.1.0 #2403
Labels
bug
Something isn't working
Comments
fi3ework
changed the title
vue-tsc crashes in watch mode when file changed
vue-tsc crashes in watch mode when file changed after 1.1.0
Feb 17, 2023
2 tasks
Thanks for the report! |
@johnsoncodehk fyi i've got the latest versions installed and I uncommented the lines and i'm not experiencing this issue. 🤔 Uncommenting significantly improves the incremental build times for larger projects. |
blake-newman
added a commit
to blake-newman/volar.js
that referenced
this issue
Mar 7, 2023
getProgramBuildInfo is set to program in createBuilderProgram https://github.com/microsoft/TypeScript/blob/v4.9.4/src/compiler/builder.ts#L1147 but with proxy don't have setter function it won't work. Set the property on the target to prevent __vue being undefined fix: vuejs/language-tools#2138 resolve: vuejs/language-tools#2403
@johnsoncodehk So not sure why my project doesn't face the same issues in watch mode, but i managed to reproduce the issue and apply a fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When fixing vue-plugin-checker fi3ework/vite-plugin-checker#223. I failed to pass the test after bumping vue-tsc to
^1.1.0
. I can reproduce the error withvue-tsc
only.reproduction:
https://stackblitz.com/edit/vitejs-vite-scrrnu?file=src%2FApp.vue,src%2Fcomponents%2FHelloWorld.vue,package.json
steps to reproduce:
npx vue-tsc -w --noEmit
then crashes with
The text was updated successfully, but these errors were encountered: