tailwindcss: "Can't resolve 'tailwindcss'" error occurs when attempting to build CSS file #205505
Open
4 tasks done
Labels
upstream issue
An upstream issue report is needed
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I am attempting to use the version of the Tailwind CLI available through Homebrew to bundle a CSS file for my project using Tailwind. Since upgrading to V4, this no longer works. It does, however, work through the latest release of the CLI downloaded from their GitHub
What happened (include all command output)?
What did you expect to happen?
I expected the file to build successfully, as occurs with the version of the Tailwind CLI file I downloaded from the GitHub release (https://github.com/tailwindlabs/tailwindcss/releases/tag/v4.0.0)
Step-by-step reproduction instructions (by running
brew
commands)Create a new directory to perform repro in
Create an index.css containing the bare minimum to use Tailwind
Install Tailwind via brew (
brew install tailwindcss
)Attempt to build your index.css (
tailwindcss -i index.css -o output.css
)You should get the error
Error: Can't resolve 'tailwindcss' in <current working directory>
./tailwindcss-macos-arm64 -i index.css -o output.css
)You should not get an error, and
output.css
should be generated successfullyI have had another person test this and confirm they were able to reproduce the same
The text was updated successfully, but these errors were encountered: