oven-sh / bun

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

Watchpack Error (watcher): EINVAL: Invalid argument #14699

Open gopelkujo opened 6 days ago

gopelkujo commented 6 days ago

What version of Bun is running?

1.1.31

What platform is your computer?

Fedora 40 Linux (XFCE edition) 64-bit

What steps can reproduce the bug?

  1. Install bun curl -fsSL https://bun.sh/install | bash
  2. Create Next JS app by bun create next-app on terminal
  3. Run bun --bun run dev inside project directory

What is the expected behavior?

$ bun --bun run dev
$ next dev
  ▲ Next.js 14.2.15
  - Local:        http://localhost:3000

 ✓ Starting...
 ✓ Ready in 3.4s
 ○ Compiling / ...
 ✓ Compiled / in 2.9s (517 modules)
 GET / 200 in 3373ms

What do you see instead?

$ bun --bun run dev
$ next dev
  ▲ Next.js 14.2.15
  - Local:        http://localhost:3000

 ✓ Starting...
 ✓ Ready in 3.4s
 ○ Compiling / ...
Watchpack Error (watcher): EINVAL: Invalid argument
 ✓ Compiled / in 2.9s (517 modules)
Watchpack Error (watcher): EINVAL: Invalid argument
 GET / 200 in 3373ms

Additional information

It's running fine no error on localhost:3000, i'm just worried it'll affect the future project. Or maybe it's just a warning, but how i can get rid of that?

balqaasem commented 2 days ago

I second that. Same issue with me.