Nuxt 6.2.0 brake Nuxt

This issue has been tracked since 2023-01-23.

Version

@nuxtjs/tailwindcss: 6.2.0
nuxt: 2.15.8

Reproduction Link

Steps to reproduce

Update Tailwind from 6.1.3 to 6.2.0 would throw an error in the Nuxt dev server

What is Expected?

What is actually happening?

Nuxt dev server can't start
image

adippel wrote this answer on 2023-01-24

I have the same setup wit the same error. This issue nuxt/nuxt#10840 seems to be related. A bugfix has been proposed.

EDIT:

The above proposed workaround is not working for me. The bug seems to be related with @nuxt/kit >= 3.0.0 which is pulled automatically by @nuxtjs/tailwindcss. The last working version seems to be 3.0.0-rc.12. To use this exact version, I deleted my package-lock.json added

  "overrides": {
    "@nuxt/kit": "3.0.0-rc.12"
  }

to my package.json and did a clean install.

iTechSebastianoLaini wrote this answer on 2023-01-25

for us that we are using yarn seems to work the proposed solution:

"resolutions": {
    "@nuxt/kit": "3.0.0-rc.13"
}
More Details About Repo
Owner Name nuxt-modules
Repo Name tailwindcss
Full Name nuxt-modules/tailwindcss
Language TypeScript
Created Date 2019-04-04
Updated Date 2023-03-29
Star Count 1285
Watcher Count 12
Fork Count 157
Issue Count 57

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date