Replies: 8 comments 14 replies
-
I think the issue may be due to the Tailwind version. Version 4 does not use npx tailwindcss init. Please verify your Tailwind version and install it according to the Tailwind documentation. |
Beta Was this translation helpful? Give feedback.
-
I'm getting the same error. |
Beta Was this translation helpful? Give feedback.
-
i have the same issues and still find difficulties resolving them please need help |
Beta Was this translation helpful? Give feedback.
-
There is a problem wtih v4. I am facing the same issue then I reverted to v3.14.7 everything running fine. I could generate the tailwind.config.js file running the "npx init" command. Maybe they removed the support for init command in v4. |
Beta Was this translation helpful? Give feedback.
-
we are facing above issue because of tailwind version update, Step 1 : Enter following command. Step 2 :Update vite.config.js import { defineConfig } from 'vite' // https://vite.dev/config/ Step 3 :Add import to your CSS file @import "tailwindcss"; Step 4 : Start the Development Server |
Beta Was this translation helpful? Give feedback.
-
I have a solution. Here i use React-router-dom,TypeScript,Tailwind and Shadcn |
Beta Was this translation helpful? Give feedback.
-
Tailwind v3 install instructions no longer work.
The above produces the same error others have reported. I note the |
Beta Was this translation helpful? Give feedback.
-
Hi there, I've been using the standalone CLI for some time without a hitch. As of 4.0, the current documented install process for the CLI does not work - as stated by wongjn, tailwindcss init no longer exists. The documentation still includes the init command however. I've reverted to a pre-4.0 version as it's not clear if 4.0 still supports or will still support the standalone CLI option. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Everytime I try install Tailwindcss I get this error:
xxxxxxxxxxx@MacBook-Air tailwindcss % npm cache clean --force
npm warn using --force Recommended protections disabled.
xxxxxxxxxx@MacBook-Air tailwindcss % npm install -D tailwindcss
added 1 package in 672ms
xxxxxxxxxx@MacBook-Air tailwindcss % npx tailwindcss init
npm error could not determine executable to run
npm error A complete log of this run can be found in: /Users/xxxxxxxxxx/.npm/_logs/2025-01-23T20_02_23_272Z-debug-0.log
Can you please help me? I'm a complete rookie, trying to learn. :) Thank you, in advance!
Beta Was this translation helpful? Give feedback.
All reactions