bun icon indicating copy to clipboard operation
bun copied to clipboard

running bunx create-next-app uses NPM to install the dependencies instead of Bun

Open Amir-Adel9 opened this issue 10 months ago • 2 comments

What version of Bun is running?

1.1.0+5903a6141

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

Initialize a new Next.js project via the bunx create-next-app command

What is the expected behavior?

The project's dependencies should get installed via Bun

What do you see instead?

Instead, it automatically proceeds to use NPM for installing the dependencies

image

Additional information

No response

Amir-Adel9 avatar Apr 01 '24 18:04 Amir-Adel9

You can force it with --use-bun while waiting for a fix

cosigyn avatar Apr 05 '24 22:04 cosigyn

I encountered same error, is there an alternative command to make it work ?

abhishekpatelmc avatar Apr 08 '24 00:04 abhishekpatelmc

same error here guys

Davut-Atajanov avatar May 04 '24 01:05 Davut-Atajanov