-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix : Error with lightningcss when using Tailwind CSS v4 with Next.js 15.2.1 and Node.js 20.18.3 #17046
Comments
i have the same issue |
i am facing the exact same issue |
Same issue here |
I think this is fixed for Next 15.2.2, just upgraded it and the error disappeared |
|
Hey @abhishekkumar35: I was checking out your repro and it works fine on my machine. Can you check if this is fixed for you, too? |
i dont know why this error is coming up and i am using node 23.10.0:
|
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: