Create-nuxt-app: TypeError: Cannot read property name 'keyName' of undefined

Created on 2 Oct 2019  路  5Comments  路  Source: nuxt/create-nuxt-app

Running into a problem when creating a new app using yarn create nuxt-app. Following were selected from the questions:

  1. Server framework: None (default)
  2. UI Framework: Vuetify
  3. Test framwork: Jest
  4. Rendering Mode - Server Side Rendering (Universal)
  5. Modules: Axios and PWA
  6. Linting Tools: ESLint & Prettier
  7. Package manager: yarn
  8. Development tools: jsconfig

After setup is completed and you run the server yarn run dev the follow error shows up in the console and nothing displays in the browser. However, when I use the same settings except pick Tailwind CSS as the UI framework instead of Vuetify everything works.

Nuxt version: 2.10
Yarn version: 1.19.0
Node version: 10.16.2
Npm version: 6.9.0

nuxt-vuetify

Most helpful comment

Sorry reopening this issue, but the app shouldn't been able to generate working projects?
If a manual downgrade is necessary to properly work, I guess this is still an issue.

All 5 comments

I tried some versions in same setting.

2.8.0: ok
2.9.2( and higher): ng

Downgrade Nuxt to version 2.9.2 or lower (npm i --save [email protected])
I think there is some problem with nuxt 2.10.x and @nuxtjs/vuetify

I downgraded nuxt from 2.10.0 to 2.9.2 and it works as expected (I suppose):

image

FYI, here are the options I selected through the initial setup:

  • Package manager: Yarn
  • UI framework: Vuetify.js
  • Custom server framework: None (Recommended)
  • Nuxt.js modules: Axios
  • Linting tools: ESLint, Prettier, Lint staged files
  • Test framework: Jest
  • Rendering mode: Single Page App
  • Development tools: jsconfig.json (Recommended for VS Code)

With the following versions:

  • Nuxt version: 2.9.2
  • Yarn version: 1.19.0
  • Node version: 10.16.3
  • Npm version: 6.11.3

Sorry reopening this issue, but the app shouldn't been able to generate working projects?
If a manual downgrade is necessary to properly work, I guess this is still an issue.

Somehow, it seems to work with 2.10.0 now. I am not sure what has been fixed or what 馃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

miteyema picture miteyema  路  6Comments

itgelo picture itgelo  路  3Comments

himanshu64 picture himanshu64  路  6Comments

jericopulvera picture jericopulvera  路  4Comments

lihbr picture lihbr  路  3Comments