Skip to content

Dev server crashes after V4 migration with deno as build presetΒ #980

@dyeske61283

Description

@dyeske61283

Environment

  • Operating System: Darwin
  • Node Version: v23.6.0
  • Nuxt Version: 4.0.0
  • CLI Version: 3.26.2
  • Nitro Version: 2.12.0
  • Package Manager: deno@deno 2.4.1 (stable, release, aarch64-apple-darwin) v8 13.7.152.6-rusty typescript 5.8.3
  • Builder: -
  • User Config: compatibilityDate, future, experimental, devtools, plugins, modules, css, vite, nitro
  • Runtime Modules: @formkit/auto-animate/nuxt@0.8.2, @vueuse/nuxt@13.5.0, @pinia/nuxt@0.11.1
  • Build Modules: -

Reproduction

You can checkout the latest 2 commits on the main branch of my repo: https://github.com/dyeske61283/gameday-helperplan
The latest one includes the nuxt upgrade, as well as the crashing behavior, while the one before that does not crash.

Describe the bug

After the upgrade to nuxt v4 the dev server crashes with the following error:
ERROR [unhandledRejection] connect ENOENT /var/folders/48/j9hzlp816436f_pfjtp64vtr0000gn/T/nuxt-dev-1752698296494-m8h174.sock 10:38:27 PM

at __node_internal_captureLargerStackTrace (ext:deno_node/internal/errors.ts:91:3)
at __node_internal_exceptionWithHostPort (ext:deno_node/internal/errors.ts:215:10)
at PipeConnectWrap._afterConnect [as oncomplete] (node:net:177:16)
at Pipe.afterConnect (ext:deno_node/internal_binding/connection_wrap.ts:43:11)
at ext:deno_node/internal_binding/pipe_wrap.ts:130:14
at eventLoopTick (ext:core/01_core.js:178:7)

error: Uncaught TypeError: Unknown signal: 0
at toDenoSignal (ext:deno_node/internal/child_process.ts:390:11)
at ChildProcess.kill (ext:deno_node/internal/child_process.ts:299:53)
at kill (file:///Users/kevindyes/Projects/mima/node_modules/.deno/@nuxt+cli@3.26.2/node_modules/@nuxt/cli/dist/chunks/dev.mjs:243:17)
at Process. (file:///Users/kevindyes/Projects/mima/node_modules/.deno/@nuxt+cli@3.26.2/node_modules/@nuxt/cli/dist/chunks/dev.mjs:320:7)
at Object.onceWrapper (ext:deno_node/_events.mjs:561:12)
at Process.emit (ext:deno_node/_events.mjs:448:22)
at Process.emit (node:process:342:40)
at Process.exit (node:process:61:13)
at Process. (file:///Users/kevindyes/Projects/mima/node_modules/.deno/@nuxt+cli@3.26.2/node_modules/@nuxt/cli/dist/chunks/index.mjs:376:15)
at Object.onceWrapper (ext:deno_node/_events.mjs:561:12)

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions