-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
Description
Environment
- Operating System:
Windows_NT
- Node Version:
v24.3.0
- Nuxt Version:
4.0.0
- CLI Version:
3.26.2
- Nitro Version:
2.12.0
- Package Manager:
bun@1.2.18
- Builder:
-
- User Config:
compatibilityDate
,devtools
- Runtime Modules:
-
- Build Modules:
-
Reproduction
bun create nuxt
bun dev
Describe the bug
Cannot start dev server unless manually disable socket.
Additional context
cli/packages/nuxi/src/dev/socket.ts
Lines 12 to 15 in 6c9a635
if (process.platform === 'win32') { | |
// Windows named pipes | |
return `\\\\.\\pipe\\${prefix}-${timestamp}-${random}` | |
} |
Logs
Nuxt 4.0.0 with Nitro 2.12.0
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
[13:38:33] ERROR [uncaughtException] ENOENT: no such file or directory, listen '\\.\pipe\nuxt-dev-1752644313233-7aubvm'
at serve (unknown)
at [kRealListen] (node:_http_server:550:41)
at listen (node:_http_server:527:35)
at new Promise (native:1:11)
at createSocketListener (node_modules\@nuxt\cli\dist\chunks\index.mjs:69:13)
at createSocketListener (node_modules\@nuxt\cli\dist\chunks\index.mjs:60:37)
at createNuxtDevServer (node_modules\@nuxt\cli\dist\chunks\index.mjs:99:200)
at createNuxtDevServer (node_modules\@nuxt\cli\dist\chunks\index.mjs:97:36)
at initialize (node_modules\@nuxt\cli\dist\chunks\index.mjs:401:27)
at initialize (node_modules\@nuxt\cli\dist\chunks\index.mjs:392:27)
at run (node_modules\@nuxt\cli\dist\chunks\dev.mjs:135:49)
at processTicksAndRejections (native:7:39)
danielroe