Skip to content

[bug] installing bun@1.3.3 does not install bunx #8

@FranciscoKloganB

Description

@FranciscoKloganB

Steps to reproduce

brew install vfox ;
vfox add bun ;
vfox install bun@1.3.3 ;
vfox use -p bun ;
bun --version ;
bun install ;

Expected outcome

When I install a bun version I expect to be able to run bunx foo, but I cannot. This causes some boilerplate code generators and tools to fail.

➜  rue-des-oiseaux git:(main) ✗ which bunx
bunx not found

Example using bhvr

Run

bun create bhvr@latest foo;

Select same options as the ones selected below. Some scripts for this tool require bunx to be available. Particularly the generator for TanStack Router and Biome init.

  _     _
 | |   | |
 | |__ | |____   ___ __
 | '_ \| '_ \ \ / / '__|
 | |_) | | | \ V /| |
 |_.__/|_| |_|\_/ |_|

ℹ 🦫 Lets build 🦫                                                                                                                                                                                 3:15:41 PM
ℹ https://github.com/stevedylandev/bhvr                                                                                                                                                            3:15:41 PM


✔ Select a template:
default (Basic setup with Bun, Hono, Vite and React)

✔ Use Hono RPC client for type-safe API communication?
Yes

✔ Select a linter:
Biome

✔ Select a client router:
TanStack Router

✔ Would you like to enable TanStack Query for data fetching and state management?
Yes
✔ Template downloaded successfully (default template)
✔ RPC client setup completed
✖ Biome setup failed.

Error: Command failed with ENOENT: bunx @biome-js/biome init
spawn bunx ENOENT
✔ TanStack Query setup completed
✖ Failed to set up TanStack Router

 ERROR  Error: Command failed with ENOENT: bunx vite build                                                                                                                                          3:16:29 PM
spawn bunx ENOENT


❯ Initialize a git repository?
● Yes / ○ No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions