Skip to content

V0206

Components · thrown by @voltdev/core (component.ts)

A development build says:

‹name› declares templateUrl "‹templateUrl›", which is resolved at build time. Add @voltdev/vite-plugin to your Vite config, or supply render directly using compileTemplate() from '@voltdev/core/jit'.

The parts in ‹guillemets› are filled in from your program when it happens.

In a production build

The sentence above is not in a production bundle — it would cost every application the bytes of every message whether or not it ever failed. What a production build keeps is the code, what failed, and the link to this page, so the same error there reads:

[volt] V0206 cls=‹cls› url=‹url› https://voltjs.dev/e/V0206

and carries code ('V0206') and detail ({ cls, url }) as fields, so a reporter can group by them without reading the text. See Errors for how an error is shaped, and the diagnostics option of the Vite plugin for a build that wants only the code.

Every error code

Released under the MIT License.