Bun-plugin-tailwind version > 0.1.x pulls broken bun package
What version of Bun is running?
1.3.4+5eb2145b3
What platform is your computer?
Darwin 25.1.0 arm64 arm
What steps can reproduce the bug?
After upgrading bun-plugin-tailwind to version 0.1.2 i encountered bugs regarding running custom defined package scripts like "codegen": "bun run ./src/codegen.ts". Before upgrading, they would normally run but after they would only print the command and then exit.
After some digging I saw that the newer plugin version replaced the dependency on @bun/types with bun. This pulls the bun package consisting of a bun.exe and bunx.exe, both empty files and a note explaining them being placeholders that should point to the real bun executables. The note mentions that this should work as long as bun install is done without --ignore-scripts.
After trying different ways, no matter how i do bun install (without ignoring the scripts), the files are never properly linked. This leads to all the custom scripts to fail as now bun is an empty executable.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
๐ CodeRabbit Plan Mode
Generate an implementation plan and prompts that you can use with your favorite coding agent.
- [ ] Create Plan
๐ Related PRs
oven-sh/bun#23396 - Update bun-plugin-tailwind [merged]
oven-sh/bun#23472 - fix: fix broken scripts in the React templates after the index.ts rename [merged]
oven-sh/bun#24053 - ci: update bun version to 1.3.1 [merged]
oven-sh/bun#24280 - Fix bun update --interactive not installing packages [merged]
oven-sh/bun#24983 - cross-platform bun bd [merged]
๐ค Suggested Assignees
๐งช Issue enrichment is currently in open beta.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
๐ฌ Have feedback or questions? Drop into our discord or schedule a call!
Found 3 possible duplicate issues:
- https://github.com/oven-sh/bun/issues/13869
- https://github.com/oven-sh/bun/issues/20506
- https://github.com/oven-sh/bun/issues/23780
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and ๐ the existing issue instead
- To prevent auto-closure, add a comment or ๐ this comment
๐ค Generated with Claude Code
The underlying issue is the same, bun being referenced in a package.json. Difference is that this happens in bun-plugin-tailwind and will therefore break everybody depending on that. I assume the easiest fix would be to revert the dependency in the tailwind plugin from bun to @types/bun