[FIXED] npx tailwindcss init -p fails: "could not determine executable to run" #16992 #16992
-
What version of Tailwind CSS are you using? v4.0.11 What build tool (or framework if it abstracts the build tool) are you using? Next.js 15.2.0 What version of Node.js are you using? v20.18.3 What browser are you using? Edge What operating system are you using? Describe your issue npm error could not determine executable to run npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p npm error could not determine executable to run What Actually Happened: rm -rf node_modules package-lock.json && npm install |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey! Tailwind CSS v4 doesn't have a tailwind config file and everything is configured in your CSS. Make sure to follow the v4 docs on how to install Tailwind CSS v4 in your Next.js application: https://tailwindcss.com/docs/installation/framework-guides/nextjs |
Beta Was this translation helpful? Give feedback.
-
fixed in #16992! |
Beta Was this translation helpful? Give feedback.
Hey!
Tailwind CSS v4 doesn't have a tailwind config file and everything is configured in your CSS. Make sure to follow the v4 docs on how to install Tailwind CSS v4 in your Next.js application: https://tailwindcss.com/docs/installation/framework-guides/nextjs