-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Tailwind v4 CLI fails silently in Linux with no errors #15730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Playing with the command line, it appears the issue is with the Again though the bug is not the input CSS itself, but the lack of a stacktrace or errors that indicate what the problem is. |
Try to run it with |
Same result. No error output. |
By process of elimination it appears to be the included @config '../tailwind.config.js`; Commenting out that line, the build works. With the include, it fails silently. I'd like to migrate away from the Javascript config, but can't find any documentation on migrating over the plugins (typography,forms etc). |
So, I ran into the same issue, and after going through the migration process away from the JS config file, for me the issue appeared to be a specific plugin (for me, it was Update: Created an issue with Flowbite regarding my specific failure case: themesberg/flowbite#1020. If they find a solution to their specific problem, it may help fix problems with other plugins. |
In my case, these are the core Tailwind plugins e.g. So there are 3 issues:
So it looks like the maintainers did not test the CLI+plugins, with the result that this will no longer work with the majority of Tailwind setups that rely on this tool. Edit: looks like the way to add plugins is detailed here: https://tailwindcss.com/docs/functions-and-directives#plugin-directive @plugin "@tailwindcss/forms";
@plugin "@tailwindcss/typography"; |
I am just experiencing the same bug on MacOS with my 4.0.9 setup after upgrading from 3.4. No error messages, no output is generated. my setup
working command
|
Hey all! Sorry for the late reply this seems to have slipped through the cracks a bit. Are you still having issues with this? I'd appreciate a minimal reproduction setup that I can run locally to figure out why the CLI just stops in your cases. |
I've not had any issues since updating to |
What version of Tailwind CSS are you using?
4.0.0
What build tool (or framework if it abstracts the build tool) are you using?
For example: postcss-cli 8.3.1, Next.js 10.0.9, webpack 5.28.0
tailwindcss-linux-x64-4.0.0
What version of Node.js are you using?
N/A
What browser are you using?
N/A
What operating system are you using?
Linux/Fedora
Reproduction URL
N/A
Describe your issue
When running the following command:
~/.local/bin/tailwindcss-linux-x64-4.0.0 --output ./static/tailwind.css --minify --input ./static/app.css
The command fails with no errors output to terminal and no CSS file is built. Running the
--watch
flag has the same result.As there are no errors, it is impossible to diagnose the issue further. The previous used version
3.4.14
worked.The text was updated successfully, but these errors were encountered: