Replies: 3 comments
-
Hey! It looks like the CSS file is being imported as a JS file for some reason but I'm pretty sure Tailwind CSS is not doing that. Setting this up manually, I can use a Can you create a minimal reproduction and link it here so we can take a look? Side note that Tailwind CSS itself does not work with any type of sass/scss, but I don't think this is the problem here. |
Beta Was this translation helpful? Give feedback.
-
I'm having the exact same issue. The only thing I did is upgrading from Tailwind 4.0.9 to 4.1.2. |
Beta Was this translation helpful? Give feedback.
-
Having same issue. I upgraded my tailwind version to "tailwindcss": "^4.1.2", but getting this issue. |
Beta Was this translation helpful? Give feedback.
-
When you rename the
globals.css
in theapp
directory toglobals.css
, the following error message will appear on the screen. Undo the file name change and there will be no error message.How to reproduce the bug.
npx create-next-app@latest
pnpm dlx shadcn@latest init
pnpm dlx shadcn@latest add button
Here are some dependency configurations for the project.
next.config.ts
Beta Was this translation helpful? Give feedback.
All reactions