Open el-j opened 1 day ago
I did not manage to reproduce this. The current vue-ts
template should pin the TypeScript version to "~5.6.2" (this is what I'm getting when executing npm create vite@latest my-app -- --template vue-ts
).
probably related to https://github.com/vitejs/vite/issues/18402 (that was fixed 🤔)
Describe the bug
when i do a fresh run of
i get the result with a package.json with a build command like:
which results in:
related to: https://github.com/vuejs/language-tools/issues/5018
Reproduction
https://stackblitz.com/edit/vitejs-vite-hz7bbd?file=package.json,src%2Fmain.ts,src%2FApp.vue,src%2Fcomponents%2FHelloWorld.vue,tsconfig.json,tsconfig.app.json,tsconfig.node.json,index.html,src%2Fassets%2Fvue.svg&terminal=dev
Steps to reproduce
System Info
Used Package Manager
npm
Logs
could be resolved by fixing this dependencies in the starter script so it's not broken after create: "typescript": "5.6.2", "vue-tsc": "2.0.29"
or remove the
vue-tsc
from the build command will also builds ... but not sure if this is a good solutionValidations