Skip to content

Starter results in 500 when starting dev server #1093

@fmgrafikdesign

Description

@fmgrafikdesign

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions