nuxt-ui-pro / dashboard

A dashboard template made with Vue and Nuxt UI Pro.
https://dashboard-template.nuxt.dev
378 stars 81 forks source link

Pre-tranform error when running the template #40

Closed Rednas83 closed 2 months ago

Rednas83 commented 2 months ago

Server image Client image Info

------------------------------
- Operating System: Windows_NT
- Node Version:     v20.15.0
- Nuxt Version:     3.12.3
- CLI Version:      3.12.0
- Nitro Version:    2.9.7
- Package Manager:  pnpm@9.6.0
- Builder:          -
- User Config:      extends, modules, ui, colorMode, routeRules, devtools, typescript, future, eslint, compatibilityDate
- Runtime Modules:  @nuxt/eslint@0.3.13, @nuxt/fonts@0.7.1, @nuxt/ui@2.17.0, @vueuse/nuxt@10.11.0
- Build Modules:    -
------------------------------

Tried upgrading nuxt and updating to the latest packages but still the same error.

Is it already compatible with node v20?

benjamincanac commented 2 months ago

I'm not sure where this error comes from but it looks like an upstream issue in nuxt, have you tried the latest 3.12.4 patch? 🤔

Rednas83 commented 2 months ago

Same error after updating

------------------------------
- Operating System: Windows_NT
- Node Version:     v20.15.0
- Nuxt Version:     3.12.4
- CLI Version:      3.12.0
- Nitro Version:    2.9.7
- Package Manager:  pnpm@9.6.0
- Builder:          -
- User Config:      extends, modules, ui, colorMode, routeRules, devtools, typescript, future, eslint, compatibilityDate
- Runtime Modules:  @nuxt/eslint@0.4.0, @nuxt/fonts@0.7.1, @nuxt/ui@2.18.3, @vueuse/nuxt@10.11.0
- Build Modules:    -
------------------------------

I also have a missing license, but I am only running in development mode so I don't think that could be a problem image

Is it compatibly with node v20? I Remember I had a message to upgrade to v19 when installing.

benjamincanac commented 2 months ago

From what I guess from the error (I don't have a Windows to test), this might come from the @nuxt/devtools. Have you tried disabling it to see if it works?

Rednas83 commented 2 months ago

Thanx. That worked for my windows machine. nuxt.config.ts

  devtools: {
    enabled: false,
  },

client image

Perhaps it can be mentioned in the docs?

benjamincanac commented 2 months ago

This should not be happening, it might be an upstream issue with one of the dependencies of @nuxt/devtools.