oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.19k stars 2.68k forks source link

Can't run bunx on Windows #10735

Open juliomuhlbauer opened 4 months ago

juliomuhlbauer commented 4 months ago

What version of Bun is running?

1.1.12+43f0913c3

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

  1. Try to run the command: bunx @inlang/paraglide-next init in the terminal
  2. Get the error: error: Script not found "@inlang/paraglide-next"

What is the expected behavior?

To work like 'npx @inlang/paraglide-next init'

See the docs: @inlang/paraglide-next init

What do you see instead?

No response

Additional information

No response

juliomuhlbauer commented 4 months ago

Happens with Million too: image

Jarred-Sumner commented 4 months ago

The bug is that bunx can no longer detect it's bunx and not bun.

Not sure yet why this happens

@paperdave do you know?

paperdave commented 4 months ago

it feels like a weird configuring, possibly involving what happens through bun upgrade.

for what its worth, i haven't been able to reproduce this.

i'll do some more investigation on this.

juliomuhlbauer commented 3 months ago

I can run bun x but not bunx