Bun error with new Next.js project
Unanswered
Red-billed Tropicbird posted this in #help-forum
Red-billed TropicbirdOP
Hi,
I tried creating a Next.js project with the newest Bun for windows. However, after running the dev server I get flooded with the same error message. Here are the step by step things I did:
1.
2.
3. Edit
4. Start the dev server with
5. Flooded with the following error message:
It continues giving the same error, until I force stop it.
I tried creating a Next.js project with the newest Bun for windows. However, after running the dev server I get flooded with the same error message. Here are the step by step things I did:
1.
bun create next-app2.
cd nextBun3. Edit
package.json to use turbopack "dev": "next dev --turbo",4. Start the dev server with
bun --bun run dev5. Flooded with the following error message:
C:\Users\myusername\Desktop\nextBun\nextbun>bun --bun run dev
$ next dev --turbo
â–² Next.js 14.1.4 (turbo)
- Local: http://localhost:3000
Watchpack Error (watcher): EBUSY: EBUSY watching "C:\Users\myusername\Desktop\nextBun\nextbun"
Watchpack Error (watcher): EBUSY: EBUSY watching "C:\Users\myusername\Desktop\nextBun\nextbun"
Watchpack Error (watcher): EBUSY: EBUSY watching "C:\Users\myusername\Desktop\nextBun\nextbun"
... It continues giving the same error, until I force stop it.