tailwindcss: Can't use tailwindcss since last release. (WARN Module @nuxtjs/tailwindcss is disabled due to incompatibility issues: - [bridge] Nuxt bridge is required)

Environment

System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel® Core™ i5-10300H CPU @ 2.50GHz Memory: 4.30 GB / 15.78 GB Binaries: Node: 16.15.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.23.0-20220130.1630 - ~\AppData\Roaming\npm\yarn.CMD npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD Browsers: Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.51) Internet Explorer: 11.0.19041.1566

Reproduction

https://stackblitz.com/edit/github-veimfs

Describe the bug

I deployed the same version of my packages two days ago, but today it gives me this err:

WARN Module @nuxtjs/tailwindcss is disabled due to incompatibility issues: - [bridge] Nuxt bridge is required

I will send some important packages that I use:

"dependencies": {
    "@tailwindcss/line-clamp": "^0.4.0",
    "nuxt": "^2.16.1",
    "vue": "^2.7.0",
    "webpack": "^4.46.0"
},
"devDependencies": {
    "@nuxtjs/tailwindcss": "^6.4.0",
    "postcss": "^8.4.5",
    "@babel/eslint-parser": "^7.16.3",
},
"resolutions": {
    "@nuxt/kit": "3.0.0-rc.13"
}

Additional context

At this moment I can’t use nuxt-bridge is there any other solution for it?

Logs

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 5
  • Comments: 15

Most upvoted comments

I have the same issue. With newest Nuxt 2 (2.17.0), Tailwind breaks starting with 6.8.0 I use now Tailwind 6.7 and default Nuxt 2.17 and everything works fine:

"@nuxtjs/tailwindcss": "6.7.0",

Works for Nuxt 2.16.3 too

I misunderstood NuxtCompatibility configuration and thought that bridge: true means that bridge is allowed - sorry! Pushed fix to main (c488680ec556d8fcd596ec28b0be0223e21b9bb1, again sorry for direct commit by mistake!) - @Atinux if you’d like to release this fix.

I encountered the same error, but after changing the versions of these packages, it was resolved. These package versions come with the latestcreate-nuxt-app (07.10.2023)

@nuxtjs/tailwindcss”: “^5.3.3”, “postcss”: “^8.4.17”,