nuxt / vite

⚡ Vite Experience with Nuxt 2

Home Page:https://vite.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: 'dev' command hangs during build

JUKOOK opened this issue · comments

Versions

  • nuxt: ^3.0.0-rc.6 (^3.0.0-rc.4 and over)
  • nuxt-vite: ^0.3.5
  • node: v16.14.2
  • npm: 8.11.0

Reproduction

  • package.json
"dependencies": {
  "@nuxtjs/composition-api": "^0.33.0",
  "@use-it/event-listener": "^0.1.7",
  "@vueuse/core": "^8.9.4",
  "include-media": "^1.4.10",
  "sass": "^1.53.0",
  "sass-loader": "^13.0.2",
  "typescript": "^4.7.4",
  "vue": "^3.2.37",
  "yarn": "^1.22.19"
},
"devDependencies": {
  "@babel/core": "^7.18.6",
  "@babel/plugin-proposal-optional-chaining": "^7.18.6",
  "@babel/preset-env": "^7.18.6",
  "@nuxt/typescript": "^2.8.1",
  "eslint": "^8.19.0",
  "eslint-config-prettier": "^8.5.0",
  "eslint-plugin-prettier": "^4.2.1",
  "eslint-plugin-vue": "^9.2.0",
  "nuxt": "^3.0.0-rc.6",
  "nuxt-property-decorator": "^2.9.1",
  "nuxt-vite": "^0.3.5",
  "prettier": "^2.7.1"
}
  • nuxt.config.ts
import { defineNuxtConfig } from 'nuxt'

// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({  
  buildModules: [
    'nuxt-vite'
  ],
})

Description

when command yarn dev in terminal

image

Why is the current version of nuxt recognized as 0.0.0?(WARN)

Same here.

stuck on 'Waiting for file changes'