npm error when trying to initialize tailwindcss: "could not determine executable to run" #18066
Replies: 2 comments 3 replies
-
The If you are trying to use v3, ensure the version qualifier is used: $ npm install -D tailwindcss@3
$ npx tailwindcss init |
Beta Was this translation helpful? Give feedback.
-
|
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.
-
Hi, tailwind friends! Pleased to meet you all ^^)/
I use the Flask Python framework for web development, and I was trying to get tailwindcss to work with it.
I was following this tutorial: https://www.codewithharry.com/blogpost/using-tailwind-with-flask
But ended up getting stuck here (in the green-highlighted part):


I don't think the log can be all too helpful, but here you have it, just in case:
2025-05-16T09_09_07_727Z-debug-0.log
Do you have any idea of what the issue might be, or any other way of setting up tailwindcss for Flask? At any rate, please let me know! ^-^
Beta Was this translation helpful? Give feedback.
All reactions