Why this fires¶
TE141 means the compiler received a malformed internal Resource Graph value
or could not install a sealed Resource Image. Typical messages identify an
invalid recipe field such as root, includes, or excludes, or report that
the completed image failed its integrity checks.
This differs from TE140: TE140 reports an actionable input
or sealing failure such as a missing directory or unmatched include pattern;
TE141 reports an invalid value after the typed resource API should already
have established its shape.
Fix it¶
- Rebuild from a clean compiler and dependency set if the resource value came from generated or cached build state.
- Keep Resource Graph recipes inside the typed
std::resourceAPI instead of constructing or altering their internal representation. - If ordinary typed Zolo source still produces
TE141, preserve the complete diagnostic and a minimal reproducer and report it as a compiler bug. The source span and the detailed message identify which invariant failed.
The compiler stops here because accepting a malformed image would make the published resource snapshot unverifiable.
See also¶
TE140— a Resource Graph recipe or source input could not be sealed.