Troubleshooting
Next.js 15+ with Turbopack
If you see a warning like Module not found: Can't resolve 'tailuicss' in Next.js 15+ with Turbopack enabled, this is a known Turbopack limitation with certain module resolution patterns.
Solution
The warning is harmless — TailUI works correctly via the PostCSS plugin. However, if you want to remove the warning, disable Turbopack:
package.json
// package.json//-> Next.js 15+{ "scripts": { "dev": "next dev --no-turbopack" }}//OR//->Next.js 13 / 14 "dev": "next dev --webpack" //->Next.js 12 and below"dev": "next dev"Or set the environment variable: TURBOPACK=0 next dev
Turbopack didn't exist yet — no flag needed.
Note
This is not a TailUI bug. The PostCSS plugin (tailuicss/postcss) handles all CSS injection correctly. The Tailwind plugin is optional and only adds content paths for better IntelliSense.