vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.79k stars 390 forks source link

Crush after update typescript to 5.5 #4484

Closed mrquokka closed 3 months ago

mrquokka commented 3 months ago

Vue - Official extension or vue-tsc version

vue-tsc

VSCode version

1.90.1

Vue version

3.4.29

TypeScript version

5.5

System Info

No response

Steps to reproduce

Just upgrade to typescript 5.5

Link to minimal reproduction

No response

Any additional comments?

npm run build

npm-project-beta@6.4.0-dev1 build vue-tsc && vite build

.../node_modules/vue-tsc/bin/vue-tsc.js:68 throw err; ^ Search string not found: "for (const existingRoot of buildInfoVersionMap.roots) {" (Use node --trace-uncaught ... to show where the exception was thrown)

Node.js v20.5.1

fit2-zhao commented 3 months ago

Me too, same question.

[INFO] Search string not found: "for (const existingRoot of buildInfoVersionMap.roots) {" [INFO] (Use node --trace-uncaught ... to show where the exception was thrown) [INFO] [INFO] Node.js v20.8.1

StreakingMan commented 3 months ago

Same problem...typescirpt 5.4 works but 5.5 not work

daniluk4000 commented 3 months ago

@johnsoncodehk

johnsoncodehk commented 3 months ago

This is v1 error message, please make sure update vue-tsc to v2.

daniluk4000 commented 3 months ago

This is v1 error message, please make sure update vue-tsc to v2.

Due to https://github.com/fi3ework/vite-plugin-checker/issues/306 we still can't update :(

And now it will also block TS update...

johnsoncodehk commented 3 months ago

@daniluk4000 Please track for https://github.com/fi3ework/vite-plugin-checker/pull/327.

jaxenvisuals commented 2 months ago

This is v1 error message, please make sure update vue-tsc to v2.

Worked for me

santokhan commented 2 months ago

Same here.

santokhan commented 2 months ago

This is v1 error message, please make sure update vue-tsc to v2.

It works for me. But it requires to change the version manually. Thank you johnsoncodehk