Vite · Runtime config

DOC0040Fix a diagnostic the framework reported at runtime

While the Vite dev server ran, the framework reported a diagnostic from the browser through `nostics`, such as Nuxt's `NUXT_E3004`.
vite-doctor/coreruntimewarnNo fix

Why it happens

The framework saw the problem happen, so Doctor reports its code, message, fix, and docs link unchanged. Doctor places the Diagnostic at the call site only when the dev server's module graph and source map prove the source position; otherwise the Diagnostic stays at the project root and its evidence says the location is partial. Only browser reports reach Doctor: reports from server-side rendering print to the terminal but are never sent to the dev server. A report lasts until the dev server restarts, or until its file is saved.

Fix

Follow the framework's fix and docs link in the Diagnostic, then reload the page that reported it. The Diagnostic's message starts with the framework's own code.

  • doctor/runtime/framework-diagnostic
Copyright © 2026