oven-sh / bun

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

bun install fails after bun run install #5222

Open chauchausoup opened 1 year ago

chauchausoup commented 1 year ago

What version of Bun is running?

1.0.0

What platform is your computer?

Darwin 22.6.0 arm64 arm

What steps can reproduce the bug?

Add install under script in package.json file.

    "scripts": {
        "install": "bun install",
        "start": "bun run index.ts"
    },

Perform bun run install

What is the expected behavior?

Should show certain message.

What do you see instead?

Infinite loop on terminal.

Additional information

https://github.com/oven-sh/bun/assets/34975245/c00cc301-279f-4490-b1f7-255a94dbb34a

enisze commented 1 year ago

I have a similar issue where bun is rerunning my "prepare" command over and over again