-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed as duplicate of#19677
Closed as duplicate of#19677
Copy link
Labels
bugSomething isn't workingSomething isn't workingdockerAn issue that occurs when running in DockerAn issue that occurs when running in Dockerwaiting-for-authorAn issue is waiting for a response from the authorAn issue is waiting for a response from the author
Description
What version of Bun is running?
1.2.14
What platform is your computer?
MacOS (building done via docker)
What steps can reproduce the bug?
See README.md in https://github.com/Zenton/bun-docker-repro/
It has the output and a script (./run.sh) to reproduce.
When running tailwindcss cli in a docker build, it passes when building linux/arm64 but not linux/amd64 (error below). Yet npx works on both.
The bunx version on linux/amd64 platform fails with:
> [4/4] RUN bun install --frozen-lockfile && bun run with-bunx:
0.114 bun install v1.2.14 (6a363a38)
0.171 Resolving dependencies
3.052 Resolved, downloaded and extracted [256]
3.077
3.078 + @tailwindcss/cli@4.1.7
3.078 + tailwindcss@4.1.7
3.078
3.079 44 packages installed [2.97s]
3.079
3.079 Blocked 2 postinstalls. Run `bun pm untrusted` for details.
3.116 $ bunx --bun @tailwindcss/cli -i ./input.css --minify
3.243 Resolving dependencies
4.280 Resolved, downloaded and extracted [156]
4.313 Saved lockfile
5.286 ≈ tailwindcss v4.1.7
5.286
5.377 Error: Cannot apply unknown utility class: px-6
5.384 error: script "with-bunx" exited with code 1
What is the expected behavior?
Should pass in both, as npx does.
What do you see instead?
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdockerAn issue that occurs when running in DockerAn issue that occurs when running in Dockerwaiting-for-authorAn issue is waiting for a response from the authorAn issue is waiting for a response from the author