TailwindCSS CLI not is not genarate CSS content file #19765
-
|
i use windows 11 25h2 26200.7840 Python 3.14.2 im trying to search how to fix this with my self but i cant found way to fix it ps. im not good on Eng so much maybe my word is not use correctly |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
ok i just found what problem happen from the problem is |
Beta Was this translation helpful? Give feedback.
-
|
It looks like the issue is caused by the When FixUpdate your Instead of: *use something like: # Ignore Python virtual environment
venv/
__pycache__/
# Ignore node modules
node_modules/
# Ignore build output if needed
dist/After fixing
|
Beta Was this translation helpful? Give feedback.
It looks like the issue is caused by the
.gitignorerule containing*.When
*is present in.gitignore, it ignores all files in the project directory, which can interfere with build tools and watchers. Tailwind CLI relies on file watching to detect changes in yourcontentpaths (like.htmltemplates). If everything is ignored, the watcher may detect file changes but fail to properly process or write the generated CSS.Fix
Update your
.gitignoreso it does not ignore everything.Instead of:
*use something like:
After fixing
.gitignoreRun Tailwind again: