-
Notifications
You must be signed in to change notification settings - Fork 4.5k
All @tailwindcss/cli commands handing forever docker builds #17781
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
Ok, I'm working to narrow down the version this was introduced in and when I use 4.0.17 (
Then using 4.1.0, it hangs forever. |
Got a little curious, tried to repro:
I can't imagine this is actually docker-specific, but... seemingly doesn't repro under podman? Or maybe I'm not understanding the repro instructions. Weirdly, if I try to do
I can repro the build from the repro repo, though. I have a vague recollection that
|
What version of Tailwind CSS are you using?
v4.1.4
What build tool (or framework if it abstracts the build tool) are you using?
Docker
What version of Node.js are you using?
v22.15.0
What browser are you using?
N/A
What operating system are you using?
darwin/arm64 and linux/arm64
Reproduction URL
https://github.com/ghmeier/tailwind-repro
The docker build hangs indefinitely when running:
Describe your issue
When running any tailwind while building docker containers for any architecture (the issue is reproducible when running
docker buildx build --platform linux/amd64
) any command that utilizes tailwind cli hangs. The repro case provided above is a minimal example where just runningnpx @tailwindcss/cli -v
hangs indefinitely, but this also happens when building css using the cli directly or via webpack. Running the same command on my M1 Macbook pro resolves correctly.Including
DEBUG=1
does not resolve the issue, the command doesn't output anything.The repro cases uses
node:22.15.0-alpine3.20
but I've yet to find a base image that solves the issue.I've looked through the couple of other issues and this looks most similar to #15730, but not quite the same.
The text was updated successfully, but these errors were encountered: