oven-sh / bun

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

bun: command not found: cp when `bun *.sh` #10869

Closed LifeJustDLC closed 1 week ago

LifeJustDLC commented 1 week ago

What version of Bun is running?

1.1.7

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

# build.bun.sh
cp src/manifest.json dist/manifest.json

$ bun build.bun.sh

What is the expected behavior?

work

What do you see instead?

bun: command not found: cp

Additional information

cat mv does work, only cp doesn't. Is this not implemented yet? BTW, can I find the doc of "which is implemented and which is not?"

Jarred-Sumner commented 1 week ago

Fixed in Bun v1.1.8 by @zackradisic