bun icon indicating copy to clipboard operation
bun copied to clipboard

Bun-plugin-tailwind version > 0.1.x pulls broken bun package

Open coryoso opened this issue 4 months ago โ€ข 3 comments

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

coryoso avatar Dec 16 '25 23:12 coryoso

๐Ÿ“ CodeRabbit Plan Mode

Generate an implementation plan and prompts that you can use with your favorite coding agent.

  • [ ] Create Plan
Examples
You can configure auto-planning by selecting labels in the issue_enrichment configuration.

๐Ÿ”— 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!

coderabbitai[bot] avatar Dec 16 '25 23:12 coderabbitai[bot]

Found 3 possible duplicate issues:

  1. https://github.com/oven-sh/bun/issues/13869
  2. https://github.com/oven-sh/bun/issues/20506
  3. 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

github-actions[bot] avatar Dec 16 '25 23:12 github-actions[bot]

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

coryoso avatar Dec 17 '25 09:12 coryoso