Next.js Discord

Discord Forum

Error: Can't resolve 'tailwindcss' v4 in Vercel/NextJs

Unanswered
Olive-sided Flycatcher posted this in #help-forum
Open in Discord
Olive-sided FlycatcherOP
Since I switched to TailwindCss v4, my project won't build in Vercel. I followed the steps outlined here : https://tailwindcss.com/docs/installation/framework-guides/nextjs. This works locally, but when I try to deploy the build fails because it "Can't resolve 'tailwindcss" in the global.css file.

0 Replies