Skip to content

Error Reference

Vite DevTools uses structured diagnostics to surface actionable warnings and errors at runtime. Each diagnostic has a unique error code, a human-readable message, and a link back to this documentation.

How error codes work

  • Codes follow the pattern prefix + 4-digit number (e.g., DTK0001, RDDT0002).
  • Each prefix maps to a package: DTK for @vitejs/devtools core/kit, RDDT for @vitejs/devtools-rolldown.
  • Every error page includes the cause, recommended fix, and a reference to the source file that emits it.
  • The diagnostics system is powered by logs-sdk, which provides structured logging with docs URLs, ANSI-formatted console output, and level-based filtering.

DevTools Kit (DTK)

Emitted by @vitejs/devtools and @vitejs/devtools-kit.

CodeLevelTitlePackage
DTK0001errorRPC Function Already Registered@vitejs/devtools
DTK0002errorRPC Function Not Registered@vitejs/devtools
DTK0003errorRPC Function Not Registered@vitejs/devtools
DTK0004errorMissing RPC Handler@vitejs/devtools
DTK0005errorFunction Not in Dump Store@vitejs/devtools
DTK0006errorNo Dump Match@vitejs/devtools
DTK0007errorInvalid Dump Configuration@vitejs/devtools
DTK0008warnClient Auth Disabled@vitejs/devtools
DTK0009warnStorage Parse Failed@vitejs/devtools
DTK0010warnExperimental Static Build@vitejs/devtools
DTK0011errorRPC Function Error@vitejs/devtools
DTK0012errorRPC General Error@vitejs/devtools
DTK0013errorUnauthorized RPC Access@vitejs/devtools
DTK0014errorPlugin Setup Error@vitejs/devtools
DTK0015errorDock Already Registered@vitejs/devtools
DTK0016errorCannot Change Dock ID@vitejs/devtools
DTK0017errorDock Not Registered@vitejs/devtools
DTK0018errorTerminal Session Already Registered@vitejs/devtools
DTK0019errorTerminal Session Not Registered@vitejs/devtools
DTK0020errorRPC Function Not Registered (Local)@vitejs/devtools
DTK0021errorAsyncLocalStorage Not Set@vitejs/devtools
DTK0022errorView distDir Not Found@vitejs/devtools
DTK0023errorVite Server Required@vitejs/devtools
DTK0024errorCommand Already Registered@vitejs/devtools
DTK0025errorCannot Change Command ID@vitejs/devtools
DTK0026errorCommand Not Registered@vitejs/devtools
DTK0027errorShared State Not Found@vitejs/devtools
DTK0028errorPath Outside Workspace Root@vitejs/devtools
DTK0029errorPath Outside Workspace Root@vitejs/devtools
DTK0030errorDock Entry Not Found@vitejs/devtools
DTK0031errorDock Entry Not a Launcher@vitejs/devtools
DTK0032errorDock Launch Error@vitejs/devtools

Rolldown DevTools (RDDT)

Emitted by @vitejs/devtools-rolldown.

CodeLevelTitlePackage
RDDT0001warnRolldown Logs Directory Not Found@vitejs/devtools-rolldown
RDDT0002warnJSON Parse Stream Bad Line@vitejs/devtools-rolldown

Released under the MIT License.