-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Description
A fresh install of the project (cd7e386) as instructed by the nuxt documentation yields errors when starting up the dev server, rendering the project unusable. Tried with node 20 and 22. Both times, the following error appears:
ERROR Pre-transform error: [@vue/compiler-sfc] Failed to resolve extends base type. 2:44:13 PM
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
interface Props extends /* @vue-ignore */ Base {}
Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.
/Users/<snip>/node_modules/@nuxt/ui/dist/runtime/components/Button.vue
63 |
64 | const loadingAutoState = ref(false)
65 | const formLoading = inject<Ref<boolean> | undefined>(formLoadingInjectionKey, undefined)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
66 |
| ^
67 | async function onClickWrapper(event: MouseEvent) {
| ^^^^^
Plugin: vite:vue
File: /Users/<snip>/node_modules/@nuxt/ui/dist/runtime/components/Button.vue
The result is a 500er page when visiting localhost in the web browser.
Metadata
Metadata
Assignees
Labels
No labels