Skip to content

[bug]: No Tailwind CSS configuration found at [config is there] #7404

Description

@ohabash

Describe the bug

Though this has been brought up before and people have found solutions. none of them worked for me.

I have a new nextjs project with tailwind installed and working.

  1. apps/next-admin/tailwind.config.js
  2. apps/next-admin/src/app/index.css (@tailwind ... directives)
  3. I have also tried moveing index css apps/next-admin/index.css

I have seen this. but moving or modifying the index.css does not work
#5216

Affected component/components

shadcn init

Reproduce

  1. cd apps/next-admin
  2. npx shadcn@latest init
  3. see output in screenshot

Image

the path in the error literally has my tailwind.config.js

Logs

![Image](https://github.com/user-attachments/assets/bbe2f813-a317-4c45-8bce-497deea116ba)

System Info

"next": "~15.2.4",
  "react": "19.0.0",
  "react-dom": "19.0.0"
  "tailwindcss": "3.4.3",
  "postcss": "8.4.38",

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions