'tailwind' is not recognized as an internal or external command, #14760
Replies: 8 comments 29 replies
-
@adamwathan i previously worked with tailwindcss never saw this error , please tell me what to do with that |
Beta Was this translation helpful? Give feedback.
-
Hi @Masumrahmanhasan , It looks like you're encountering the error "'tailwind' is not recognized as an internal or external command" while trying to create a Tailwind CSS config file in your Nuxt.js application. Here are a few things you can check and try to resolve this issue:
If you've tried these steps and the issue persists, please provide any additional error messages or context for further assistance! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I assume that you use tailwind v4, so it won't create config file with init command. Downgrade it to v3 (3.4.0 for example) and try again. It should work. |
Beta Was this translation helpful? Give feedback.
-
Tailwind has a newer version - 4 that is. So just follow the installation guide. In this new setup you don't need the config file. It's actually preferable if you're working on a 'new' project. Migration isn't that difficult either. Or as mentioned earlier a downgrade is also possible, but i'd suggest not doing that. |
Beta Was this translation helpful? Give feedback.
-
Facing similar issues have configuration: How can we resolve any suggestions?? |
Beta Was this translation helpful? Give feedback.
-
hi i have same problem i resolve it like this: hope this solve |
Beta Was this translation helpful? Give feedback.
-
I was also facing this issue. This is with tailwind v4. so it won't create config file with init command. Downgrade it to v3 and try again.
|
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.
-
What version of Tailwind CSS are you using?
v3.4.13
What build tool (or framework if it abstracts the build tool) are you using?
NuxtJs ^3.13.2
What version of Node.js are you using?
v22.4.1
What browser are you using?
Chrome
What operating system are you using?
Windows
Describe your issue
So in my nuxt app i installed tailwind with nuxt module but when i try to create a config file for tailwind as shown in the docs i get error
but for other application this command works completly fine why is that
Beta Was this translation helpful? Give feedback.
All reactions