Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starter results in 500 when starting dev server #1093

Open
fmgrafikdesign opened this issue Feb 6, 2025 · 2 comments
Open

Starter results in 500 when starting dev server #1093

fmgrafikdesign opened this issue Feb 6, 2025 · 2 comments

Comments

@fmgrafikdesign
Copy link

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.

@danielroe
Copy link
Member

would you raise that with nuxt/ui? 🙏

@fmgrafikdesign
Copy link
Author

Done -> nuxt/ui#3262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants