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

Cannot read properties of undefined (reading 'resolveAlias') with Nuxt3 #510

Closed
parabellumKoval opened this issue Aug 20, 2022 · 2 comments

Comments

@parabellumKoval
Copy link

I try to use vuetify 2 with Nuxt 3

"devDependencies": {
    "@nuxtjs/vuetify": "^1.12.3",
    "nuxt": "3.0.0-rc.8"
    ...
}

Nuxt config is

export default defineNuxtConfig({
    buildModules: [
      '@nuxtjs/vuetify',
    ],
})

when i make npm run dev i get error

 ERROR  Cannot start nuxt:  Cannot read properties of undefined (reading 'resolveAlias')                                        20:03:01

  at Object.setupBuild (node_modules/@nuxtjs/vuetify/dist/build.js:24:40)
  at node_modules/@nuxtjs/vuetify/dist/index.js:14:20
  at node_modules/hookable/dist/index.mjs:39:70
  at async build (node_modules/nuxt/dist/index.mjs:1838:3)
  at async Promise.all (index 1)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:6770:9)
  at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:6813:5)
  at async _main (node_modules/nuxi/dist/cli.mjs:46:20)


is it possible to fix this somehow? Thx

@somephysicist
Copy link

See also #513, #475

Not even bridge is supported, see also: #471, #509

In case anyone is still wondering or just for closure: Vuetify 2 isn't compatible with Vue 3, which Nuxt 3 is based on. Another thread linked to https://codybontecou.com/how-to-use-vuetify-with-nuxt-3.html to show you can use a prerelease version of Vuetify 3 with Nuxt 3.

@harlan-zw
Copy link
Contributor

Tracking here #522

@harlan-zw harlan-zw closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2023
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

3 participants