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
I am encountering a persistent issue when initializing Shadcn UI in a Next.js 15 project with TypeScript. Despite following standard setup procedures, including generating the project with npx create-next-app@latest, I receive errors indicating that:
Shadcn UI is looking for tailwind.config.js instead of tailwind.config.ts, even though the TypeScript configuration is present and works correctly with Tailwind.
It demands a src folder and an index.css file, while my project uses a global.css file, and I opted out of creating a src directory during setup.
These issues are unexpected because tutorials and recent videos using the same setup process do not encounter these errors. My environment includes Node.js 18+, and all dependencies are up to date.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am encountering a persistent issue when initializing Shadcn UI in a Next.js 15 project with TypeScript. Despite following standard setup procedures, including generating the project with npx create-next-app@latest, I receive errors indicating that:
Shadcn UI is looking for tailwind.config.js instead of tailwind.config.ts, even though the TypeScript configuration is present and works correctly with Tailwind.
It demands a src folder and an index.css file, while my project uses a global.css file, and I opted out of creating a src directory during setup.
These issues are unexpected because tutorials and recent videos using the same setup process do not encounter these errors. My environment includes Node.js 18+, and all dependencies are up to date.
Beta Was this translation helpful? Give feedback.
All reactions