Skip to content

[dev] Unhandled 404 error on /_nuxt/ request in NuxtDevServer.toNodeHandle #1199

@mrnasil

Description

@mrnasil

Environment

 - Operating System: Windows 11
 - Node Version: v25.1.0
 - Nuxt Version: 4.3.0
 - @nuxt/cli Version: 3.32.0
 - Package Manager: pnpm

 ### Reproduction
 During development, occasionally get this error in console:

ERROR [request error] [unhandled] [GET] http://localhost:3000/_nuxt/

⁃ at createError (node_modules/@nuxt/cli/dist/dev-KB30iboK.mjs:54:14)
⁃ at NuxtDevServer.toNodeHandle (node_modules/@nuxt/cli/dist/dev-KB30iboK.mjs:264:18)

[CAUSE]
{
status: 404,
}

 ### Describe the bug
 Random 404 errors appear in the dev server console when accessing `/_nuxt/` path. This seems to happen during hot reload or page
  navigation. The application continues to work but the error is logged.

 ### Expected behavior
 No 404 errors should be thrown for internal Nuxt dev server paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions