You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the application is expected to compile and run without errors.
The text was updated successfully, but these errors were encountered:
abhishekkumar35
changed the title
Error with lightningcss when using Tailwind CSS v4 with Next.js 15.2.1 and Node.js 20.18.3
Fix : Error with lightningcss when using Tailwind CSS v4 with Next.js 15.2.1 and Node.js 20.18.3
Mar 7, 2025
Getting Error with lightningcss when using Tailwind CSS v4 with Next.js 15.2.1 and Node.js 20.18.3 using create-next-app@latest . --use-pnpm
version of Tailwind CSS
v4.0.12 (via @tailwindcss/postcss)
build tool framework
Next.js 15.2.1 with Turbopack
version of Node.js
v20.18.3
browser
N/A (Build error)
** operating system **
Windows 10
Repo URL
https://github.com/abhishekkumar35/blogcodeabode
also attached terminal messages in a saparate md file name terminalmessage.md(can be found in repo)
Describe your issue
When running a Next.js 15.2.1 application with Tailwind CSS v4, I'm getting the following error related to lightningcss:
The application fails to compile CSS and returns a 500 error. This appears to be an issue with the lightningcss dependency that Tailwind CSS v4 uses.
My package.json dependencies:
the application is expected to compile and run without errors.
The text was updated successfully, but these errors were encountered: