Skip to content

E0608: TypeScript 7 can't build Vue islands ​

Vue's compiler resolves defineProps<T>() of an imported type with TypeScript's JavaScript API, which TypeScript 7 no longer has, so the Vue island build fails. Pin TypeScript 6 in the frontend.

Wrong ​

json
// package.json
"devDependencies": { "typescript": "^7.0.0" }
json
// package.json
"devDependencies": { "typescript": "~6.0.3" }

Released under the MIT License. Vuka builds on Go and its tools, which are made by the Go Authors. Vuka is not affiliated with Google or the Go project. Go is a trademark of Google LLC.