ENOENT on startup using Bun 1.2.20 and Nuxt 4 on Windows
Hi, I just created a project with Nuxt 4 using bun as package manager / runtime. It's pretty much a test to see if I could make use of some Bun APIs with certain libraries without having to play around with my whole application.
While doing so, I did the usual to create and launch the application, just making sure to use
bun --bun run dev
bun --bun run dev
so it used Bun as runtime. Yet I got the ENOENT error.
Steps to reproduce:
bun create nuxt@latestbun --bun run dev
bun create nuxt@latestbun --bun run dev
Run log:
PS D:\Projects\_tmp> bun --bun run dev$ nuxt devNuxt 4.0.3 with Nitro 2.12.4 nuxi 1:28:26 1:28:26 ➜ Local: http://localhost:3000/ ➜ Network: use --host to expose ERROR [uncaughtException] ENOENT: no such file or directory, listen '\\.\pipe\nuxt-dev-2243.sock' 1:28:26 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:45:13) at processTicksAndRejections (native:7:39)
PS D:\Projects\_tmp> bun --bun run dev$ nuxt devNuxt 4.0.3 with Nitro 2.12.4 nuxi 1:28:26 1:28:26 ➜ Local: http://localhost:3000/ ➜ Network: use --host to expose ERROR [uncaughtException] ENOENT: no such file or directory, listen '\\.\pipe\nuxt-dev-2243.sock' 1:28:26 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:45:13) at processTicksAndRejections (native:7:39)
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community