错误码
粘贴错误码或一行构建或运行时日志。本清单对应源码版本 v1.0.0-alpha.16。
编译器诊断
先查看第一条标明源文件的错误。根据文件、行列和完整消息定位出错的代码。若诊断的生成方提供了提示,诊断信封也会包含该提示。
OEC9000
编译器语法
- 含义
- TypeScript 无法解析此源文件。
- 检查步骤
打开构建输出中所指的文件和行列,按随附的 TypeScript 消息修正语法,然后重新构建。
构建诊断信封
编译器源码位置
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/compiler-diagnostics.ts:67 packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:1920 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:436
OEC9007
编译器语法
- 含义
- 组件的渲染结果需要一个 JSX 根元素。
- 检查步骤
检查返回表达式。若并列返回了多个根节点,用一个元素包住它们,再返回该元素。
组件 setup
英文消息变体和源码位置
a server function component must be a single return of one JSX element a server function component must return one element render() must return a single JSX element
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:619 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:231 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:549
OEC9010
编译器语法
- 含义
- 此处的 JSX 标签不合法或不受支持。
- 检查步骤
检查消息中指明的标签,使用受支持的 HTML 标签或已注册的自定义元素标签名。按标识符调用服务端函数时,遵守服务端函数的组合规则。
JSX 组合
英文消息变体和源码位置
component tag <…> is outside the compiler grammar (intrinsic lowercase elements and custom-element hosts only) — custom elements compose by tag name — use the tag string, not the class value itemTagReason list Block item must be an intrinsic lowercase element or a custom-element host — compose by tag name, not class values tag <…> is a … tagReason
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:1636 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:656 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:661 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1693 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1699
OEC9011
编译器语法
- 含义
- HTML 特性或绑定不符合该元素或作用域的语法。
- 检查步骤
检查消息指明的特性或属性及其允许的值,留意它说的是字面量、声明的 prop、列表项还是 ref。
HTML 特性绑定
英文消息变体和源码位置
attribute "…" must be a literal or a supported expression attribute "…" must be a literal, this.<property>, or a supported expression attribute "…" only accepts primitive literal values — use a string, number or boolean literal (objects and arrays have no attribute form) attribute name "innerHTML" is unsafe as a static attribute — innerHTML opens only through the trusted-HTML sink: bind an Object-typed trustedHtml(...) property and carry the literal trustedHtml marker attribute name "…" is unsafe — names must be valid HTML attribute names, not event handlers (on*) or forbidden sinks; use an admitted attribute name conditional class branches must be string literals: class={this.<cond> ? 'a' : 'b'} conditional class conditions must read at least one ….<property> duplicate attribute "…" is unsupported — remove one; an element admits each attribute once item template attribute "…" must be a static literal or {….<field>} item template attributes must use primitive literals — use a string, number or boolean literal, or bind {….<field>} key is only supported on the list Block item root list Block items do not support spread attributes — write each attribute explicitly (a literal or {<item>.<field>}) property sink name "…" is unsafe — prototype-pollution primitives are on the shared deny list on every boundary; rename the attribute property sink name "…" is unsafe — prototype-pollution primitives are on the shared deny list on every boundary; rename the sink ref must reference this.<field> spread attributes are not supported by the compiler grammar — write each attribute explicitly (a literal or a this.<property> sink) spread attributes are not supported in item templates — write each attribute explicitly (a literal or {<item>.<field>}) … — the shared deny list screens every boundary; rename the attribute
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:1755 packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:1764 packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:1791 packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:1811 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:687 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:723 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:742 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:752 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:770 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:808 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:867 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:882 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:890 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1024 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1236 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1261 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1350 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1361 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1375 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1610 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1708 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1716 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1732 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1741 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1759 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1820 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1828
OEC9012
编译器语法
- 含义
- 条件分支或嵌套 Block 无法按当前写法编译。
- 检查步骤
检查提示的分支中是否有嵌套、受限的文本、ref 或处理器。若条件只改变文本,先派生文本,再绑定。
条件 JSX
英文消息变体和源码位置
a text-only ternary is not a Block — Blocks swap elements; derive the text in a computed(...) property and interpolate {this.<property>} conditional Block branches must be single static JSX elements — each branch is exactly one element (bind its values as this.<property> attributes) event handlers are only supported on list Block item templates nested Blocks are outside the compiler grammar nested ternaries are outside the compiler grammar — one condition per Block; derive the decision in a computed(...) property and branch on it … — a branch cannot interpolate text; bind the value as an attribute (e.g. data-label={this.<property>}) … — a ref cannot bind inside a branch … — an event handler cannot bind inside a branch … — an inline conditional class cannot bind inside a branch
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:779 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:805 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:826 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1451 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1470 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1484 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1556 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1564 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1571 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1789
OEC9013
编译器语法
- 含义
- 编译器拒绝了某个 JSX 子节点、表达式或列表映射函数。
- 检查步骤
根据完整消息定位被拒绝的值。若涉及带 key 的列表,检查映射函数的参数和它返回的单个 JSX 项;若涉及空元素,移除它的子节点。
JSX 组合
英文消息变体和源码位置
JSX fragments and spreads are outside the compiler grammar — wrap the fragment's children in a single element conditional Blocks support this.<property> compared with a numeric literal (>, >=, <, <=), a number/string/boolean equality (===, !==), or a bare this.<property> (optionally negated) truthiness test dynamic child literals must be primitive values item child must be {….<field>} item templates support static text, item values and intrinsic elements list Block items must bind at least one {<item>.<field>} value or attribute slot list Block mapper must be a single-parameter arrow function list Block mapper must return one JSX element list Blocks must map over this.<property> list Blocks support exactly this.<property>.map(...) sink … cannot anchor in server function output unsupported condition … unsupported dynamic expression; use this.<property>, a supported condition, or this.<array>.map(...) void element <…> may not have children
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:1646 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:924 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:976 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1463 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1490 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1524 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1584 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1587 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1594 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1597 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1601 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1650 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1841 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1873 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1897 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:825 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:858
OEC9014
编译器语法
- 含义
- 列表项缺少合法的 key 绑定。
- 检查步骤
在每个列表项的根节点上绑定一次 key,例如 key={item.id}。确认该字段在更新前后都能标识同一个列表项。
JSX 组合
英文消息变体和源码位置
key must be key={<item>.<field>} key must reference ….<field> list Block items may declare key only once list Block items require key={<item>.<field>}
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1616 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1622 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1633 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1636
OEC9016
编译器语法
- 含义
- 编译器无法转换该事件操作。
- 检查步骤
检查消息指明的操作,将它简化为一个受支持的操作,或把逻辑移入该组件支持的处理器形式。
事件处理器
英文消息变体和源码位置
event arithmetic supports only numeric += or -= literals event arrow handlers must contain exactly one supported action event assignment values must be serializable literals event handlers must be this.<method> or a single-action arrow event mutations support only this.<number>++ or -- unsupported event action; use this.<field>++, assignment or this.<method>()
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1120 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1132 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1163 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1175 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1192 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1200
OEC9017
编译器语法
- 含义
- 当前编译路径拒绝了自定义元素宿主上的处理器、ref 或子节点。
- 检查步骤
按消息定位被拒绝的项。若涉及处理器或 ref,检查组件允许的元素或生命周期位置;若涉及子节点,核对宿主的插槽或 props 契约。
JSX 组合
英文消息变体和源码位置
custom-element host <…> may not carry a ref — query the host imperatively in a lifecycle method (e.g. connectedCallback) custom-element host <…> may not carry event handlers — bind the handler on an intrinsic element, or attach the listener imperatively in a lifecycle method custom-element host <…> may not have children in the compiler grammar (slots are unsupported)
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:715 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:799 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1781 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1846
OEC9024
编译器语法
- 含义
- 计算表达式或对计算结果的赋值未通过校验。
- 检查步骤
按消息检查,直接读取或更新声明的源属性。若报告指向嵌套函数,将它移至受支持的作用域。
组件 setup
英文消息变体和源码位置
event actions may not write computed field "…" — assign its source properties … may not nest non-arrow functions — hoist the function to module scope and import it … may not read computed field "…" — read its source this.<property> inputs instead (computed fields cannot chain) … may not read computed field "…" — read its source ….<property> inputs instead (computed fields cannot chain) … may only read this.<declared property> (found this.…) … may only read ….<declared property> (found ….…) … may only reference this.<property>
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/analyze-module.ts:165 packages/compiler/src/internal/compiler/semantic-core/analyze-module.ts:180 packages/compiler/src/internal/compiler/semantic-core/analyze-module.ts:188 packages/compiler/src/internal/compiler/semantic-core/analyze-module.ts:202 packages/compiler/src/internal/compiler/semantic-core/analyze-module.ts:210 packages/compiler/src/internal/compiler/semantic-core/analyze-module.ts:219 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1151
OEC9026
编译器语法
- 含义
- innerHTML 绑定未通过编译器的可信 HTML 检查。
- 检查步骤
检查消息指明的可信值、能力声明或目标元素要求。普通内容可直接用文本或 JSX 渲染。
HTML 安全边界
英文消息变体和源码位置
an innerHTML sink target must be otherwise childless (the sink owns its content) innerHTML sinks require an Object-typed TrustedHtml property innerHTML sinks require the explicit trustedHtml capability marker trustedHtml capability marker must be the literal true trustedHtml capability marker requires an innerHTML sink void element <…> cannot carry an innerHTML sink — move the sink to a container element (e.g. <div>)
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:680 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:906 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:915 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1325 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1332 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1339
OEC9031
编译器语法
- 含义
- 服务端函数的标记中包含仅限客户端的处理器或 ref。
- 检查步骤
让服务端页面负责 HTML,把交互或元素访问移入编译后的 island。
服务端函数页
英文消息变体和源码位置
event handlers are a client-only construct — a server function component renders static HTML and may not carry …; interactivity belongs to an @element island (a compiled component), not to server markup refs are a client-only construct — a server function component renders static HTML and may not carry a ref; element access belongs to an @element island (a compiled component), not to server markup
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:706 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:790 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1036 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1772
OEC9032
编译器语法
- 含义
- 服务端函数组件的签名、prop、组合方式或 await 写法超出了当前编译规则。
- 检查步骤
定位报告指明的表达式,核对内联 props 类型、组件组合方式,以及等待异步子组件的父组件是否也声明为 async。
服务端函数页
英文消息变体和源码位置
"…" is reserved for the generated constructor imports (…) — remove or rename the module-scope binding <…> is an async server function component — a synchronous parent cannot call it, because HTML is built only after the child settles. Mark the parent async. <…> is not a server function component — import it from the module that exports it (a server function component composes only by direct call to another server function component; @element components compose by tag name) a server function component has no this — read the props parameter (props.<field>) instead; `this` belongs to the @element class path a trustedHtml sink cannot cross a __ssr host — pass the trusted value as the component's own property instead await is admitted only inside an async server function component component prop "…" must be a literal or a props.<field> read component prop "…" must be a literal or a props.<field> read — arbitrary expressions are outside the server function grammar component prop names must be plain identifiers promiseSinkRefusal(…) server function component … may not declare type parameters server function component … must have a body server function component … takes at most one props parameter serverAwaitRefusal(…) the props parameter must be a plain identifier the props parameter must be annotated inline as an object type literal (props: { name: string }) — type aliases and interfaces are outside the server function grammar the props type admits property signatures only this exported function renders JSX but is not an admitted server function component (a component is a single return of one JSX element) — runtime JSX has no interpreter in the server lane; fix the shape or move it out of the module … "…" is not a plain identifier — the generated module writes it into an identifier position, so the compiler refuses to emit it … takes at most one props parameter ….children is not declared — add `children?: string` to the props type: the JSX children a caller nests compose it as one final-HTML string
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:481 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:514 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:518 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:524 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:538 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:590 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:820 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1004 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1013 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1030 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1054 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1069 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1075 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1428 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1434 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1440 packages/compiler/src/internal/compiler/semantic-core/lower-program.ts:1861 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:179 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:189 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:220 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:225 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:239 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:248 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:270 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:277 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:303 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:462 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:477 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:771 packages/compiler/src/internal/compiler/semantic-core/server-component.ts:899
OEC9040
编译器语法
- 含义
- 编译器无法识别该函数组件的结构。
- 检查步骤
检查组件导出、props 参数,以及函数体是否返回一个 JSX 元素。
组件 setup
编译器源码位置
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:74
OEC9041
编译器语法
- 含义
- 函数组件体内的语句不符合受支持的 setup 语法。
- 检查步骤
定位报告中的语句,核对它是否符合支持的 setup 声明和单个 JSX 返回规则。
组件 setup
编译器源码位置
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:76
OEC9042
编译器语法
- 含义
- 此处的声明、内置调用或 JSX 写法不受支持。
- 检查步骤
检查报告指明的语法。展开特性可改为逐项绑定;若涉及内置调用,核对参数和调用位置。
编译器语法
编译器源码位置
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:78
OEC9043
编译器语法
- 含义
- 编译器无法验证某个读取或表达式。
- 检查步骤
根据完整消息中的附加代码和文字定位被拒绝的值,检查它的声明位置和读取位置。
编译器语法
编译器源码位置
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:80
OEC9044
编译器语法
- 含义
- 函数组件编译器不支持 innerHTML 输出。
- 检查步骤
普通内容请改用受支持的 JSX 或文本绑定。
HTML 安全边界
编译器源码位置
- 源码检出中的位置
- packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:82
运行时和框架错误码
根据完整消息和堆栈定位失败的调用。部分源码摘要保留英文,每条均附有中文检查步骤。
BOUNDARY_CAUGHT
早期用于标记渲染失败已被错误边界捕获的代码。
- 检查步骤
查看原始错误或堆栈。在当前生成式元素中,该元素的 onError 回调会收到原始抛出值。
元素错误边界
ErrorCode.BOUNDARY_CAUGHT
OE_CLAIM_DYNAMIC_NODE_IN_STATIC_REGION
英文源码摘要Bounded recovery met a dynamic node inside a static Block.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
ClaimErrorCode.DYNAMIC_NODE_IN_STATIC_REGION
OE_CLAIM_ITEM_TEMPLATE_ANCHOR
英文源码摘要An each item template carries Part anchors, which cannot be rebuilt statically.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
ClaimErrorCode.ITEM_TEMPLATE_ANCHOR
OE_CLAIM_PRE_UPGRADE_EVENTS_INVALID
英文源码摘要A pre-upgrade event capture argument was neither an array nor a capture object.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
ClaimErrorCode.PRE_UPGRADE_EVENTS_INVALID
OE_COMPILER_DIAGNOSTICS
一条或多条带源码位置的诊断中止了编译。
- 检查步骤
找到同时给出文件、行和列的 OEC 错误码。先处理这条具体诊断,再重新构建。
构建诊断信封
CompilerErrorCode.DIAGNOSTICS
OE_COMPILER_INVALID_SOURCE
编译器无法分析源文件,或生成的元素描述符未通过校验。
- 检查步骤
查看完整构建消息。若以 [generated-element] 开头,检查指明的属性、HTML 特性或描述符字段。若消息为 typeCheckEmittedModule never emits,请提交运行命令和最小复现。
构建诊断信封
CompilerErrorCode.INVALID_SOURCE
OE_COMPUTED_FACTORY_MISSING
英文源码摘要A compiled property is marked computed but has no __computedFields factory.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.COMPUTED_FACTORY_MISSING
OE_COMPUTED_READONLY
英文源码摘要A computed property is read-only and was assigned to.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.COMPUTED_READONLY
OE_CONTEXT_SERVICE_DISPOSED
英文源码摘要The compiled element's context service was used after disconnect disposal.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
ContextErrorCode.SERVICE_DISPOSED
OE_EACH_ITEM_NOT_A_RECORD
英文源码摘要A keyed list item is not an object carrying the declared key field.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
EachKeyErrorCode.ITEM_NOT_A_RECORD
OE_EACH_KEY_DUPLICATE
同一个列表里有两个项生成了相同的 key。
- 检查步骤
检查列表数据中重复的 key 值,使用能区分同时渲染的各项且保持稳定的字段。
JSX 组合
EachKeyErrorCode.DUPLICATE_KEY
OE_EACH_KEY_NOT_ROUND_TRIPPABLE
英文源码摘要A key value cannot round-trip (an object, function or symbol has no stable identity).
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
EachKeyErrorCode.KEY_NOT_ROUND_TRIPPABLE
OE_HANDLER_MISSING
英文源码摘要The compiled class names a handler the instance does not implement.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.HANDLER_MISSING
OE_INVALID_STRUCTURED_DATA
英文源码摘要A wrapInDocument structuredData entry is not a JSON-LD document.
- 检查步骤
在数据进入页面渲染器的位置,检查报告指明的 head 字段、标签、参数或数据值。源码声明能帮助确定实际受校验的值。
文档 head 条目
AuthoringErrorCode.INVALID_STRUCTURED_DATA
OE_INVALID_TAG_NAME
英文源码摘要A tag name is not a valid custom element name.
- 检查步骤
在数据进入页面渲染器的位置,检查报告指明的 head 字段、标签、参数或数据值。源码声明能帮助确定实际受校验的值。
文档 head 条目
AuthoringErrorCode.INVALID_TAG_NAME
OE_JSX_OUTSIDE_COMPILER
英文源码摘要JSX ran outside the compiler pipeline, where the factory was removed.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.JSX_OUTSIDE_COMPILER
OE_KERNEL_ATTACH_SHADOW_REQUIRED
英文源码摘要The requested root mode needs attachShadow(), which the host lacks.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
KernelErrorCode.ATTACH_SHADOW_REQUIRED
OE_KERNEL_CLAIM_EXECUTOR_MISSING
英文源码摘要Existing DOM needs the hydration executor, which this entry does not install.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
KernelErrorCode.CLAIM_EXECUTOR_MISSING
OE_KERNEL_DISPOSED
英文源码摘要The kernel was used after destroy().
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
KernelErrorCode.DISPOSED
OE_KERNEL_ROOT_NOT_OWNED
英文源码摘要A supplied root is not owned by the element it was passed for.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
KernelErrorCode.ROOT_NOT_OWNED
OE_KERNEL_TAG_MISMATCH
英文源码摘要__partProgram.tag does not match the host element's tag.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
KernelErrorCode.TAG_MISMATCH
OE_PARAMS_ATTRIBUTE_TOO_LARGE
英文源码摘要The params attribute exceeds the documented size limit.
- 检查步骤
在数据进入页面渲染器的位置,检查报告指明的 head 字段、标签、参数或数据值。源码声明能帮助确定实际受校验的值。
文档 head 条目
AuthoringErrorCode.PARAMS_ATTRIBUTE_TOO_LARGE
OE_PROGRAM_INVALID
英文源码摘要A Part Program v2 failed structural validation.
- 检查步骤
先查看首条带源码位置的诊断及具体失败的操作。修改构建配置前,先核对报告指明的字段或值。
构建诊断信封
ProgramErrorCode.INVALID_PROGRAM
OE_PROGRAM_INVALID_SLOT
英文源码摘要A compiled server/claim slot names a field the contract does not define.
- 检查步骤
先查看首条带源码位置的诊断及具体失败的操作。修改构建配置前,先核对报告指明的字段或值。
构建诊断信封
ProgramErrorCode.INVALID_SLOT
OE_PROGRAM_INVALID_SOURCE_SEGMENT
英文源码摘要A source-map segment carries a non-integer or out-of-range position.
- 检查步骤
先查看首条带源码位置的诊断及具体失败的操作。修改构建配置前,先核对报告指明的字段或值。
构建诊断信封
ProgramErrorCode.INVALID_SOURCE_SEGMENT
OE_PROGRAM_MISSING
英文源码摘要No usable compiled Part Program for the requested class or tag: an uncompiled class, an unregistered tag, or a tag that disagrees with the compiled program's own tag. One code because it is one condition from the caller's side — the class and the program do not describe the same element — and because this value shipped in 1.0.0-alpha.3.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.PROGRAM_MISSING
OE_PROGRAM_NON_NUMERIC_CONDITION
英文源码摘要A when test carries a threshold that is not a numeric literal.
- 检查步骤
先查看首条带源码位置的诊断及具体失败的操作。修改构建配置前,先核对报告指明的字段或值。
构建诊断信封
ProgramErrorCode.NON_NUMERIC_CONDITION
OE_PROGRAM_NOT_SERIALIZABLE
英文源码摘要A Part Program cannot be serialized to JSON, so it is not a wire artifact.
- 检查步骤
先查看首条带源码位置的诊断及具体失败的操作。修改构建配置前,先核对报告指明的字段或值。
构建诊断信封
ProgramErrorCode.NOT_SERIALIZABLE
OE_RUNTIME_BLOCK_BUILDERS_MISSING
英文源码摘要A when/each Block Part needs the Block builders, which this entry does not install (#1548).
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.BLOCK_BUILDERS_MISSING
OE_RUNTIME_FIXED_PART_AS_ANCHOR
英文源码摘要A fixed Part was used where a dynamic anchor is required.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.FIXED_PART_AS_ANCHOR
OE_RUNTIME_FRESH_ROOT_NOT_EMPTY
英文源码摘要Fresh-DOM creation was handed a root that is not empty.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.FRESH_ROOT_NOT_EMPTY
OE_RUNTIME_HOST_HANDLER_MISSING
英文源码摘要An event Part names a handler the host does not provide.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.HOST_HANDLER_MISSING
OE_RUNTIME_HOST_REF_MISSING
英文源码摘要A ref Part names a ref the host does not provide.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.HOST_REF_MISSING
OE_RUNTIME_HOST_SIGNAL_MISSING
英文源码摘要render() reads a signal that is not registered on the host.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.HOST_SIGNAL_MISSING
OE_RUNTIME_ITEM_SLOT_OUTSIDE_REGION
英文源码摘要An item value/attribute slot appears outside an each Block.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.ITEM_SLOT_OUTSIDE_REGION
OE_RUNTIME_ITEM_SLOT_WITHOUT_DOCUMENT
英文源码摘要An item slot has no owner document to create nodes from.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.ITEM_SLOT_WITHOUT_DOCUMENT
OE_RUNTIME_ITEM_SLOT_WITHOUT_REGION
英文源码摘要An item slot found no owning each Block.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.ITEM_SLOT_WITHOUT_REGION
OE_RUNTIME_LEAF_CLAIM_UNAVAILABLE
英文源码摘要claimRecipe was asked to claim a recipe that has no generated claim. This is a caller/recipe-shape failure, not a DOM mismatch.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.LEAF_CLAIM_UNAVAILABLE
OE_RUNTIME_LIST_VALUE_NOT_ARRAY
英文源码摘要A list Block's signal does not hold an array.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.LIST_VALUE_NOT_ARRAY
OE_RUNTIME_PART_MISSING
英文源码摘要A Part index in the program has no Part record.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.PART_MISSING
OE_RUNTIME_PATH_NOT_ELEMENT
英文源码摘要A compiled node path resolved to a non-element node.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.PATH_NOT_ELEMENT
OE_RUNTIME_PATH_UNRESOLVED
英文源码摘要A compiled node path does not resolve in the DOM.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.PATH_UNRESOLVED
OE_RUNTIME_ROOT_WITHOUT_DOCUMENT
英文源码摘要The mount root has no ownerDocument.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.ROOT_WITHOUT_DOCUMENT
OE_RUNTIME_SERIALIZED_ANCHOR_MISSING
英文源码摘要A fixed Part has no serialized anchor to bind.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.SERIALIZED_ANCHOR_MISSING
OE_RUNTIME_STATIC_RANGE_MISMATCH
英文源码摘要A static sibling-range directory did not match its declaration, was claimed out of order, or was reclaimed after commitment. Detail lives in the message; cases do not each get a code. Not LEAF_CLAIM_UNAVAILABLE.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.STATIC_RANGE_MISMATCH
OE_RUNTIME_SUBSCRIPTION_INVALID
英文源码摘要A signal's subscribe returned something that is not an unsubscribe function.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
RuntimeErrorCode.SUBSCRIPTION_INVALID
OE_SERVER_SINK_REFUSED
英文源码摘要A Part Program was refused for a security-relevant reason.
- 检查步骤
根据完整服务端消息和堆栈定位出错的组件或渲染输入,再按服务端渲染契约核对该输入。
服务端函数页
ServerErrorCode.SINK_REFUSED
OE_SSR_COMPOSITION_DEPTH
英文源码摘要Nested element expansion exceeded the depth bound (cyclic composition).
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.COMPOSITION_DEPTH
OE_STREAM_BUDGET_EXCEEDED
英文源码摘要A deferred manifest or seed exceeds its bounded budget.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.STREAM_BUDGET_EXCEEDED
OE_STREAM_FIELD_INVALID
英文源码摘要A deferred field or Part owner is invalid or not deferrable.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.STREAM_FIELD_INVALID
OE_STREAM_MANIFEST_MALFORMED
英文源码摘要A deferred route manifest is malformed.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.STREAM_MANIFEST_MALFORMED
OE_STREAM_MANIFEST_MISMATCH
英文源码摘要A deferred route manifest does not match the compiled program.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.STREAM_MANIFEST_MISMATCH
OE_STREAM_PENDING_READ
英文源码摘要A deferred shell read a pending property before it resolved.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.STREAM_PENDING_READ
OE_STREAM_RESERVED_PROPERTY
英文源码摘要A reserved property name cannot enter a deferred seed.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.STREAM_RESERVED_PROPERTY
OE_STREAM_TYPE_MISMATCH
英文源码摘要A streamed seed property's type disagrees with the compiled property record.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.STREAM_TYPE_MISMATCH
OE_STREAM_UNKNOWN_FIELD
英文源码摘要An unknown deferred field was resolved or serialized.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.STREAM_UNKNOWN_FIELD
OE_STREAM_VALUE_NOT_SERIALIZABLE
英文源码摘要A deferred seed value is not JSON-safe (cyclic, bigint, or class instance).
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.STREAM_VALUE_NOT_SERIALIZABLE
OE_STYLES_ADOPTED_STYLES_UNSUPPORTED
英文源码摘要The target root (shadow root or document) has no adoptedStyleSheets support.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
StyleErrorCode.ADOPTED_STYLES_UNSUPPORTED
OE_STYLES_INVALID_HREF
英文源码摘要A component stylesheet resource href is not a site-absolute path or an absolute http(s) URL — the one shape rule both stylesheet-link sinks (the document head and a DSD template) enforce.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
StyleErrorCode.INVALID_STYLE_HREF
OE_STYLES_SHEET_LOAD_FAILED
英文源码摘要A generated sheet adapter could not fill its sheet (request or replace failed).
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
StyleErrorCode.SHEET_LOAD_FAILED
OE_STYLES_SHEET_RULES_UNREADABLE
英文源码摘要A URL-less (author-owned in-memory, or shim) stylesheet's rules could not be read while serializing server output (phase ssr): the sheet is skipped and reported, and the renderer never invents an external URL for author-owned data. A cross-origin CSSStyleSheet handed to static styles is the reachable cause.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
StyleErrorCode.SHEET_RULES_UNREADABLE
OE_UNSAFE_ATTRIBUTE_NAME
英文源码摘要A server constructor (__h) attribute name is unsafe: it fails the one canonical safe-attribute-name predicate (event handlers and forbidden sinks included). The compiler-generated call sites cannot produce one — the runtime check is the boundary for direct helper misuse.
- 检查步骤
在数据进入页面渲染器的位置,检查报告指明的 head 字段、标签、参数或数据值。源码声明能帮助确定实际受校验的值。
文档 head 条目
AuthoringErrorCode.UNSAFE_ATTRIBUTE_NAME
OE_UNSAFE_META_ATTRIBUTE
英文源码摘要A wrapInDocument meta entry uses an attribute name HTML forbids.
- 检查步骤
在数据进入页面渲染器的位置,检查报告指明的 head 字段、标签、参数或数据值。源码声明能帮助确定实际受校验的值。
文档 head 条目
AuthoringErrorCode.UNSAFE_META_ATTRIBUTE
OE_UNSAFE_URL_SINK
英文源码摘要A URL-carrying attribute value (href, src, action, formaction, xlink:href) carries a script-bearing scheme, screened by the ONE shared stream-frame URL policy. The value never reaches markup.
- 检查步骤
在数据进入页面渲染器的位置,检查报告指明的 head 字段、标签、参数或数据值。源码声明能帮助确定实际受校验的值。
文档 head 条目
AuthoringErrorCode.UNSAFE_URL_SINK
OE_UNTRUSTED_HTML_SINK
英文源码摘要An html sink received a string that was not marked trusted.
- 检查步骤
在数据进入页面渲染器的位置,检查报告指明的 head 字段、标签、参数或数据值。源码声明能帮助确定实际受校验的值。
文档 head 条目
AuthoringErrorCode.UNTRUSTED_HTML_SINK
OPEN_ELEMENT_COMPILED_CLAIM_MISMATCH
英文源码摘要Claimed DOM structure or node identity drifted from the compiled program.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
ClaimErrorCode.STRUCTURE_MISMATCH
OPEN_ELEMENT_COMPILED_PROGRAM_INVALID
英文源码摘要A Part Program failed the compiled server/claim grammar.
- 检查步骤
根据完整服务端消息和堆栈定位出错的组件或渲染输入,再按服务端渲染契约核对该输入。
服务端函数页
ServerErrorCode.PROGRAM_INVALID
SSR_DOM_ACCESS_UNSUPPORTED
英文源码摘要An HTMLElement member was reached during SSR, where no DOM exists.
- 检查步骤
根据堆栈定位元素和操作。对照服务端 HTML 和浏览器加载的模块;若安装、claim 或更新失败,检查两者从何处开始不一致。
Hydration 边界
FacadeErrorCode.SSR_DOM_ACCESS_UNSUPPORTED
SSR_RENDER_ERROR
服务端渲染未能生成有效的元素标记。
- 检查步骤
根据消息和服务端堆栈定位组件。若提示开发模式缺少 IslandConfig.styles 对应的产物,请尝试生产构建并确认样式已经生成。
样式表交付
ErrorCode.SSR_RENDER_ERROR
UNKNOWN
这次失败没有提供更具体的框架错误码。
- 检查步骤
保留原始消息、原因和堆栈。根据报告中的阶段以及触发它的命令或请求,定位最先失败的调用。
构建诊断信封
ErrorCode.UNKNOWN
OE_ADAPTER_HONO_DEV_SERVER_LOAD_FAILED
英文源码摘要@hono/vite-dev-server resolved but its module threw while loading (a broken install, a failing transitive import, or module evaluation throwing). Distinct from MISSING so a host does not tell the user to install a package that is already present.
- 检查步骤
打开错误中指明的配置或模块,按实际执行命令的约定核对报告指出的选项和值。
项目配置
AdapterErrorCode.HONO_DEV_SERVER_LOAD_FAILED
OE_ADAPTER_HONO_DEV_SERVER_MISSING
英文源码摘要Dev mode was requested without @hono/vite-dev-server installed.
- 检查步骤
打开错误中指明的配置或模块,按实际执行命令的约定核对报告指出的选项和值。
项目配置
AdapterErrorCode.HONO_DEV_SERVER_MISSING
OE_ADAPTER_HONO_LOAD_FAILED
英文源码摘要hono resolved but its module threw while loading.
- 检查步骤
打开错误中指明的配置或模块,按实际执行命令的约定核对报告指出的选项和值。
项目配置
AdapterErrorCode.HONO_LOAD_FAILED
OE_ADAPTER_HONO_MISSING
英文源码摘要The Hono adapter was imported without the optional hono peer installed.
- 检查步骤
打开错误中指明的配置或模块,按实际执行命令的约定核对报告指出的选项和值。
项目配置
AdapterErrorCode.HONO_MISSING
OE_CLIENT_ASSET_ENTRY_AMBIGUOUS
英文源码摘要The manifest records several client entry files (no first-hit pick).
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientAssetErrorCode.ENTRY_AMBIGUOUS
OE_CLIENT_ASSET_ENTRY_MISSING
英文源码摘要The manifest records no emitted client entry file.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientAssetErrorCode.ENTRY_MISSING
OE_CLIENT_ASSET_ISLAND_IDENTITY_AMBIGUOUS
英文源码摘要An island identity matches several emitted modules (ambiguous package).
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientAssetErrorCode.ISLAND_IDENTITY_AMBIGUOUS
OE_CLIENT_ASSET_ISLAND_TAG_DUPLICATE
英文源码摘要A delivery tag is claimed by two island entries — even when both would resolve to the same asset and strategy, tag ownership is one-to-one.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientAssetErrorCode.ISLAND_TAG_DUPLICATE
OE_CLIENT_ASSET_ISLAND_UNMAPPED
英文源码摘要An admitted island matches no emitted module in the build graph.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientAssetErrorCode.ISLAND_UNMAPPED
OE_CLIENT_ASSET_MANIFEST_MALFORMED
英文源码摘要The manifest exists but is not the JSON record the join requires.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientAssetErrorCode.MANIFEST_MALFORMED
OE_CLIENT_ASSET_MANIFEST_READ
英文源码摘要dist/client/.vite/manifest.json is missing or unreadable.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientAssetErrorCode.MANIFEST_READ
OE_CLIENT_ASSET_STYLESHEET_MISSING
英文源码摘要The Tailwind entry is enabled but the client entry chunk emitted no stylesheet — the document would ship unstyled (alpha15 S lane).
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientAssetErrorCode.STYLESHEET_MISSING
OE_CLIENT_BUILD_BROWSER_ENTRY_NODE_BUILTIN
英文源码摘要Move the Node builtin behind a server loader or use a browser-safe module.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
BrowserEntryBoundaryErrorCode.NODE_BUILTIN_IMPORT
OE_CLIENT_BUILD_BROWSER_ENTRY_SERVER_ONLY
英文源码摘要Move the marked module behind a server loader or import only its types.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
BrowserEntryBoundaryErrorCode.SERVER_ONLY_IMPORT
OE_CLIENT_BUILD_ELEMENT_RUNTIME_CHUNK_MISSING
英文源码摘要The native generated client entry statically imports the element runtime, yet the emitted client build groups no module under the resolved package root (#1544) — the shared element-runtime chunk never fired and per-island runtime copies would ship silently.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientBuildErrorCode.ELEMENT_RUNTIME_CHUNK_MISSING
OE_CLIENT_BUILD_ELEMENT_RUNTIME_IDENTITY_UNRESOLVED
英文源码摘要The client build resolved the element runtime entry, but no ancestor of the resolved module id carries a package.json naming the package (#1544) — the shared runtime chunk would have to group by guessing, so the build fails instead.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientBuildErrorCode.ELEMENT_RUNTIME_IDENTITY_UNRESOLVED
OE_CLIENT_BUILD_ENTRY_STATIC_GRAPH_REACHES_RUNTIME
英文源码摘要The emitted client entry statically reaches the shared element-runtime chunk (B2 gap (a)). The entry is the ONE chunk every page loads — island manifest empty or not — so a static edge from it to the runtime makes the runtime floor unavoidable on pages that declared no island, which is exactly the download B2 exists to remove. The usual cause is the bundler homing Vite's injected preload helper inside a lazily-loaded island chunk that the entry then has to import; vite-helper-chunk.ts is the group that prevents it, and this guard is what makes that group's absence fatal instead of a silent regression to the pre-B2 graph.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientBuildErrorCode.ENTRY_STATIC_GRAPH_REACHES_RUNTIME
OE_CLIENT_BUILD_PACKAGE_IDENTITY_UNRESOLVED
英文源码摘要A package island's declared specifier has no module id from the client build's identity pass when chunk grouping runs — an internal ordering bug; the build fails instead of grouping chunks on the raw specifier.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientBuildErrorCode.PACKAGE_IDENTITY_UNRESOLVED
OE_CLIENT_BUILD_STYLE_ASSET_UNREGISTERED
英文源码摘要A .css style edge resolved in the client or SSR build with no entry in the compiler's style-edge registry, or whose sheet file cannot be read. Either the intercepting plugin answered before the compiled-element transform registered the edge (an internal ordering bug) or the sheet file is missing — both defects; the build fails instead of letting vite's CSS plugin handle the edge (the document-channel path a shadow component's sheet can never use).
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientBuildErrorCode.STYLE_ASSET_UNREGISTERED
OE_CLIENT_BUILD_VITE_HELPER_CHUNK_MISSING
英文源码摘要The emitted client graph carries Vite's injected preload helper modules, but they are not homed in the single vite-helper chunk (vite-helper-chunk.ts). Anywhere else — typically inside a lazily-loaded island chunk — is the chunk layout that gives the entry a static edge to that island (and through it to the runtime), so it fails rather than shipping.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ClientBuildErrorCode.VITE_HELPER_CHUNK_MISSING
OE_DELIVERY_EXPORT_NAMES
英文源码摘要exportNames is not an object or names a tag outside the delivery set.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
DeliveryErrorCode.EXPORT_NAMES
OE_DELIVERY_MEDIA_QUERY
英文源码摘要A media query is not a non-empty, bounded, control-free string.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
DeliveryErrorCode.MEDIA_QUERY
OE_DELIVERY_TAG_CONFLICT
英文源码摘要tags and tagNames both resolve but disagree.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
DeliveryErrorCode.TAG_CONFLICT
OE_DELIVERY_TAGS
英文源码摘要A tag list is missing/empty, or carries an invalid or duplicate tag.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
DeliveryErrorCode.TAGS
OE_DESCRIPTOR_CORS
英文源码摘要middleware.corsOrigin/corsOriginModule is not serializable or they conflict.
- 检查步骤
打开错误中指明的配置或模块,按实际执行命令的约定核对报告指出的选项和值。
项目配置
DescriptorErrorCode.CORS
OE_DESCRIPTOR_MIDDLEWARE_USE
英文源码摘要A middleware.use entry is not a module path (string).
- 检查步骤
打开错误中指明的配置或模块,按实际执行命令的约定核对报告指出的选项和值。
项目配置
DescriptorErrorCode.MIDDLEWARE_USE
OE_DESCRIPTOR_MODULE_IMPORT
英文源码摘要A route/renderer/middleware module path the generated entry cannot embed: not a string, empty, or carrying control characters. The entry quotes every specifier, so this gate only refuses values a module graph cannot carry (a hand-built descriptor or a filename the scanner should have rejected) — never a merely unusual-but-printable path.
- 检查步骤
打开错误中指明的配置或模块,按实际执行命令的约定核对报告指出的选项和值。
项目配置
DescriptorErrorCode.MODULE_IMPORT
OE_DESCRIPTOR_STREAM_LAYOUT
英文源码摘要Streaming conflicts with the compiled layout wrapper.
- 检查步骤
打开错误中指明的配置或模块,按实际执行命令的约定核对报告指出的选项和值。
项目配置
DescriptorErrorCode.STREAM_LAYOUT
OE_DESCRIPTOR_STREAM_RENDERER
英文源码摘要A stream route reaches an opaque renderer wrapper.
- 检查步骤
打开错误中指明的配置或模块,按实际执行命令的约定核对报告指出的选项和值。
项目配置
DescriptorErrorCode.STREAM_RENDERER
OE_DOCUMENT_HEAD_INVALID
文档 head 字段或结构化数据值未通过校验。
- 检查步骤
找出消息指明的字段,检查页面 head 或文档 head 配置提供的值。
文档 head 条目
DocumentErrorCode.HEAD_INVALID
OE_ISLAND_DESCRIPTOR_SHAPE
Island 声明的结构不正确,或包含未受支持的字段。
- 检查步骤
打开报告指明的模块,核对其 defineIslandConfig 对象中的受支持字段。
Island 声明
IslandErrorCode.DESCRIPTOR_SHAPE
OE_ISLAND_ENTRY_EXPORT_NAME
英文源码摘要The single exportName is malformed.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
IslandEntryErrorCode.EXPORT_NAME
OE_ISLAND_ENTRY_MEDIA
英文源码摘要media presence/absence contradicts the chosen strategy.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
IslandEntryErrorCode.MEDIA
OE_ISLAND_ENTRY_MODULE_PATH
英文源码摘要An island module specifier fails the admission grammar.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
IslandEntryErrorCode.MODULE_PATH
OE_ISLAND_ENTRY_STRATEGY
英文源码摘要The hydration strategy is not one of the delivered strategies.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
IslandEntryErrorCode.STRATEGY
OE_ISLAND_ENTRY_TAG_NAME
英文源码摘要The island tag name is not a valid custom element name.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
IslandEntryErrorCode.TAG_NAME
OE_ISLAND_EXPORT_NAMES
英文源码摘要exportNames is malformed or names a tag outside the delivery set.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
IslandErrorCode.EXPORT_NAMES
OE_ISLAND_HYDRATE
Hydrate 策略不受支持,或与 media 声明不一致。
- 检查步骤
检查对应 island 的 hydrate 值。仅在使用 media 策略时声明 media,并在其中提供查询条件。
Island 声明
IslandErrorCode.HYDRATE
OE_ISLAND_STYLE_LANE_UNSUPPORTED
英文源码摘要styles was declared on a module that is not a light-root generated island: the class lane owns static styles and an island that is not compiled by the generated-element lane has no channel here.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
IslandErrorCode.STYLE_LANE_UNSUPPORTED
OE_ISLAND_STYLE_SHADOW_UNWIRED
英文源码摘要styles was declared on a SHADOW-root generated island that has no compiled DSD host producer AND is not client-only. A server-rendered shadow island needs the producer's template to declare the sheet in; a client-only island (ssr: false / hydrate: 'only') is admitted instead, because the compiler emits the module-graph import the shell adopts (2026-11-20). The code name is historical: the DSD link carrier itself landed in M09-2e.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
IslandErrorCode.STYLE_SHADOW_UNWIRED
OE_ISLAND_TAGS
英文源码摘要tags/tagNames are malformed or contradict each other, or a declared tag contradicts the tag the island's own path derives.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
IslandErrorCode.TAGS
OE_MDX_OPTIONAL_PEER_MISSING
英文源码摘要An .mdx route exists but the optional marked peer is not installed.
- 检查步骤
按照支持的 MDX 输入和构建要求,核对报告指明的路由文件或依赖。
MDX 构建路径
MdxErrorCode.OPTIONAL_PEER_MISSING
OE_MDX_PAGE_UNREADABLE
英文源码摘要The .mdx route file cannot be read from disk.
- 检查步骤
按照支持的 MDX 输入和构建要求,核对报告指明的路由文件或依赖。
MDX 构建路径
MdxErrorCode.PAGE_UNREADABLE
OE_MDX_STATIC_CONTRACT
英文源码摘要The MDX source uses raw HTML, JSX, or ESM outside the static subset.
- 检查步骤
按照支持的 MDX 输入和构建要求,核对报告指明的路由文件或依赖。
MDX 构建路径
MdxErrorCode.STATIC_CONTRACT
OE_PACKAGE_ADMISSION_DYNAMIC_UNPROVEN
英文源码摘要A package element module is reached only through a dynamic import(), which the scan-time reachability contract cannot prove. Declare the package explicitly in packageIslands to admit it.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageAdmissionErrorCode.DYNAMIC_UNPROVEN
OE_PACKAGE_ADMISSION_DYNAMIC_UNRESOLVED
英文源码摘要A dynamic import the derivation reached could not be resolved, so its package attribution is unproven. Non-fatal, reported with the importer named; the admitted set is unchanged.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageAdmissionErrorCode.DYNAMIC_UNRESOLVED
OE_PACKAGE_ADMISSION_MANIFEST_LESS
英文源码摘要A package-owned element module the app imports has no valid OpenElement manifest, so it can never deliver (the one true mistake class the unadmitted-package report keeps under auto). Fix the package (ship a manifest export through its ./manifest subpath) or stop expecting component delivery from it.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageAdmissionErrorCode.MANIFEST_LESS
OE_PACKAGE_ADMISSION_MODULE_BOUND_EXCEEDED
英文源码摘要The derivation's evidence walk stopped at its module bound, so some imported component packages may not be derived. Non-fatal, reported, and graph-level (no single file owns it): the admitted set stays derivable from what the walk did reach. Declare the packages explicitly in packageIslands when certainty matters more than the bound.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageAdmissionErrorCode.MODULE_BOUND_EXCEEDED
OE_PACKAGE_ADMISSION_MODULE_UNREADABLE
英文源码摘要A module the derivation walked could not be read or analyzed (unreadable source, or a semantic-analysis refusal), so it is excluded from the derivation's evidence. Non-fatal, reported: the admitted set stays derivable, and the exclusion is never silent.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageAdmissionErrorCode.MODULE_UNREADABLE
OE_PACKAGE_ADMISSION_TAG_CONFLICT
英文源码摘要Two packages claim the same delivered tag and the derivation cannot pick an owner (neither claimant is explicitly declared). Declare the intended owner in packageIslands — an explicit entry outranks a derived claim.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageAdmissionErrorCode.TAG_CONFLICT
OE_PACKAGE_ISLAND_DELIVERY_WITHOUT_MEDIA
英文源码摘要The declaration carries a media query but does not use media delivery.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageIslandErrorCode.DELIVERY_WITHOUT_MEDIA
OE_PACKAGE_ISLAND_MEDIA_WITHOUT_DELIVERY
英文源码摘要The declaration resolves hydrate: 'media' but declares no media query.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageIslandErrorCode.MEDIA_WITHOUT_DELIVERY
OE_PACKAGE_ISLAND_MODULE_MISSING
英文源码摘要A package manifest declaration carries no openElement.module.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageIslandErrorCode.MODULE_MISSING
OE_PACKAGE_ISLAND_PACKAGE_MISSING
英文源码摘要A package on the scan list is not installed (its import misses entirely).
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageIslandErrorCode.PACKAGE_MISSING
OE_PACKAGE_ISLAND_STYLES_SHAPE
英文源码摘要A declaration's openElement.styles list is not an admissible specifier list.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageIslandErrorCode.STYLES_SHAPE
OE_PACKAGE_ISLAND_TAILWIND_SHAPE
英文源码摘要A declaration's openElement.tailwind block is malformed.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
PackageIslandErrorCode.TAILWIND_SHAPE
OE_PAGE_DESCRIPTOR_SHAPE
英文源码摘要Descriptor is not an object, or carries a field the contract removed.
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
PageErrorCode.DESCRIPTOR_SHAPE
OE_PAGE_FUNCTION_PROPS
英文源码摘要The server function page props carried the reserved children key. The compiled props.children channel is trusted final HTML produced by the COMPILER from the caller's own JSX children; page props come from loader data, so a children key there is an injection attempt and is refused before the render function runs.
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
PageErrorCode.FUNCTION_PROPS
OE_PAGE_FUNCTION_RENDER
英文源码摘要The server function page render seam received a page whose render is not a function (a malformed descriptor, or a route module whose default export never went through definePage's function branch).
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
PageErrorCode.FUNCTION_RENDER
OE_PAGE_NOT_COMPILED_CLASS
英文源码摘要First argument is not the compiled page element class (or component function).
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
PageErrorCode.NOT_COMPILED_CLASS
OE_PAGE_PROJECTOR
英文源码摘要props/error are present but are not projector functions.
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
PageErrorCode.PROJECTOR
OE_PAGE_RENDER_MODE
英文源码摘要renderIntent.mode is neither static nor dynamic.
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
PageErrorCode.RENDER_MODE
OE_PAGE_ROUTE_INTENT
英文源码摘要route intent is unsupported (route.path, mistyped layout).
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
PageErrorCode.ROUTE_INTENT
OE_PRESET_STYLE_DIALECT_UNSUPPORTED
英文源码摘要An admitted component requires a utility dialect the selected provider does not implement. Checked before any compile: the alternative is a half-styled component.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.STYLE_DIALECT_UNSUPPORTED
OE_PRESET_STYLE_PROVIDER_CONFLICT
英文源码摘要The application declares both tailwind and unocss. The style entry has exactly one compiling engine and the winner must not depend on key order.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.STYLE_PROVIDER_CONFLICT
OE_PRESET_TAILWIND_REQUIRED_DISABLED
英文源码摘要The application disabled the entry (tailwind: false) while an admitted component declaration requires the compile. Fails closed: the alternative is a component that ships without its presentation.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.TAILWIND_REQUIRED_DISABLED
OE_PRESET_TAILWIND_SOURCE_UNRESOLVED
英文源码摘要A declaration's declared source is not package-relative, or names a file the installed package does not carry.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.TAILWIND_SOURCE_UNRESOLVED
OE_PRESET_TAILWIND_UNRESOLVABLE
英文源码摘要The entry is enabled but @tailwindcss/vite is not resolvable.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.TAILWIND_UNRESOLVABLE
OE_PRESET_UNOCSS_CONFIG_UNLOADABLE
英文源码摘要The project's own uno.config.ts (or the declared config path) cannot be loaded, or does not export the configuration shape the loader expects.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.UNOCSS_CONFIG_UNLOADABLE
OE_PRESET_UNOCSS_CONFIG_UNRESOLVED
英文源码摘要The declared UnoCSS config path is not app-relative, or names a file the project does not carry.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.UNOCSS_CONFIG_UNRESOLVED
OE_PRESET_UNOCSS_EMPTY_COMPILE
英文源码摘要The UnoCSS compile produced no CSS for a sheet that cannot be empty: the provider is enabled and candidates were admitted, so an empty result is a defect of the adapter, never a silently unstyled document.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.UNOCSS_EMPTY_COMPILE
OE_PRESET_UNOCSS_THEME_SOURCE_INCOMPATIBLE
英文源码摘要A declared UnoCSS theme source carries Tailwind's @theme at-rule, which UnoCSS does not compile: the roles would be silently absent.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.UNOCSS_THEME_SOURCE_INCOMPATIBLE
OE_PRESET_UNOCSS_UNRESOLVABLE
英文源码摘要The UnoCSS entry is enabled but the unocss package is not resolvable from the application.
- 检查步骤
核对消息指明的样式表、提供方或根节点。顺着该声明检查构建生成、浏览器或服务端尝试使用的样式资源。
样式表交付
PresetErrorCode.UNOCSS_UNRESOLVABLE
OE_RENDERER_DEPTH_BOUND
英文源码摘要Nested island expansion exceeded the depth bound (cyclic composition).
- 检查步骤
根据完整服务端消息和堆栈定位出错的组件或渲染输入,再按服务端渲染契约核对该输入。
服务端函数页
RendererErrorCode.DEPTH_BOUND
OE_RENDERER_TAG_INVALID
英文源码摘要A host tag is not a valid custom element name.
- 检查步骤
根据完整服务端消息和堆栈定位出错的组件或渲染输入,再按服务端渲染契约核对该输入。
服务端函数页
RendererErrorCode.TAG_INVALID
OE_RENDERER_TAG_UNREGISTERED
英文源码摘要A host tag is not registered in the SSR registry.
- 检查步骤
根据完整服务端消息和堆栈定位出错的组件或渲染输入,再按服务端渲染契约核对该输入。
服务端函数页
RendererErrorCode.TAG_UNREGISTERED
OE_ROUTE_SCAN_DOCUMENT_STYLE_LINKS_INCOMPLETE
英文源码摘要The per-route document-stylesheet fact for styled light-root generated islands could not be derived completely: the route module walk hit a boundary (module bound, unreadable or unanalysable source) or the build has no bundler resolver. An under-linked page ships a styled island without its sheet, so the build fails closed instead of continuing with a partial map.
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
RouteScanErrorCode.DOCUMENT_STYLE_LINKS_INCOMPLETE
OE_ROUTE_SCAN_EQUIVALENT_FILES
英文源码摘要Two route files fold to the same bracket-grammar shape (#1029).
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
RouteScanErrorCode.EQUIVALENT_FILES
OE_ROUTE_SCAN_TAG_SHADOW
英文源码摘要A content element's tag equals its definePage route's fallback tag (#971).
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
RouteScanErrorCode.TAG_SHADOW
OE_ROUTE_SCAN_VAR_NAME_COLLISION
英文源码摘要Two route files fold to the same generated identifier (#1029).
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
RouteScanErrorCode.VAR_NAME_COLLISION
OE_SCAN_CEM_DETECTION_UNAVAILABLE
英文源码摘要The CEM detection channel itself failed (not one bad manifest).
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
ScanSurfaceErrorCode.CEM_DETECTION_UNAVAILABLE
OE_SCAN_CEM_MANIFEST_SKIPPED
英文源码摘要One package's custom-elements.json is present but unparseable.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
ScanSurfaceErrorCode.CEM_MANIFEST_SKIPPED
OE_SCAN_FOREIGN_TAG_MODULE_UNREADABLE
英文源码摘要One module could not be read during the foreign-tag source scan.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
ScanSurfaceErrorCode.FOREIGN_TAG_MODULE_UNREADABLE
OE_SCAN_FOREIGN_TAG_UNAVAILABLE
英文源码摘要The foreign-tag scan channel itself failed (not one unreadable module).
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
ScanSurfaceErrorCode.FOREIGN_TAG_SCAN_UNAVAILABLE
OE_SCAN_ROUTE_FILE_VANISHED
英文源码摘要A route file vanished between the directory listing and its stat.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
ScanSurfaceErrorCode.ROUTE_FILE_VANISHED
OE_SCAN_ROUTE_MODULE_UNREADABLE
英文源码摘要A route module could not be read (vanished after the listing).
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
ScanSurfaceErrorCode.ROUTE_MODULE_UNREADABLE
OE_SCAN_ROUTE_TAG_NAME_MISSING
英文源码摘要A page route module carries no tagName export. An advisory, not a defect: not every page route defines one (definePage pages resolve their tag from the compiled Part Program).
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
ScanSurfaceErrorCode.ROUTE_TAG_NAME_MISSING
OE_SCAN_ROUTES_DIR_MISSING
英文源码摘要The configured routes directory does not exist.
- 检查步骤
定位报告指明的 island、标签或包。核对它的声明和导入路径,再检查构建实际准入并生成了哪些入口。
Island 声明
ScanSurfaceErrorCode.ROUTES_DIR_MISSING
OE_SERVE_MODE
英文源码摘要--mode is missing a value or names an unknown mode.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
ServeErrorCode.MODE
OE_SSG_APP_MISSING
英文源码摘要The SSR bundle carries no dispatchable default app export.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
SsgRenderErrorCode.APP_MISSING
OE_SSG_CSP_META_UNSUPPORTED
英文源码摘要A CSP policy was asked to ride a <meta http-equiv> in a shape that element cannot carry: the report-only variant (which has no http-equiv pragma at all) or a directive the meta delivery ignores. The static delivery cannot honour it, so the build says which directives and which delivery does instead of shipping a policy that is silently not enforced.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
SsgRenderErrorCode.CSP_META_UNSUPPORTED
OE_SSG_HYGIENE_ARTIFACT_REMOVE_FAILED
英文源码摘要One stale artifact chunk could not be removed.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
SsgHygieneErrorCode.ARTIFACT_REMOVE_FAILED
OE_SSG_HYGIENE_ASSETS_LIST_FAILED
英文源码摘要The dist/assets listing failed; stale artifacts, if any, stay.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
SsgHygieneErrorCode.ASSETS_LIST_FAILED
OE_SSG_HYGIENE_PASS_FAILED
英文源码摘要The hygiene pass itself failed in a way the steps above did not classify.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
SsgHygieneErrorCode.PASS_FAILED
OE_SSG_PARAM_MISSING
英文源码摘要A route parameter has no value to substitute.
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
SsgDynamicErrorCode.PARAM_MISSING
OE_SSG_PARAM_UNSAFE
英文源码摘要A route parameter value fails the traversal/control-character screen.
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
SsgDynamicErrorCode.PARAM_UNSAFE
OE_SSG_PRERENDER_PATH_ESCAPED
英文源码摘要A prerender route path resolves outside the output directory.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
SsgRenderErrorCode.PRERENDER_PATH_ESCAPED
OE_SSG_RENDER_FAILED
英文源码摘要The dynamic render pass failed and the failure policy is fail.
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
SsgDynamicErrorCode.RENDER_FAILED
OE_SSG_RENDER_STATUS
英文源码摘要A rendered page returned a failure status instead of page HTML.
- 检查步骤
按消息中指明的路由、标签或文件定位源码模块,检查文件名、组件入口和报错所涉及的路由选项。
文件路由
SsgDynamicErrorCode.RENDER_STATUS
OE_SSG_ROUTE_INFO_EMPTY
英文源码摘要routeInfo resolved but enumerates no routes.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
SsgRenderErrorCode.ROUTE_INFO_EMPTY
OE_SSG_ROUTE_INFO_MISSING
英文源码摘要The SSR bundle does not export the routeInfo the pipeline requires.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
SsgRenderErrorCode.ROUTE_INFO_MISSING
OE_SSG_STATIC_NON_200
英文源码摘要Prerendered static page routes returned non-200 and were not written.
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
SsgRenderErrorCode.STATIC_NON_200
OE_STREAM_DEFERRED_TIMEOUT
英文源码摘要A deferred field did not settle within the policy timeout.
- 检查步骤
根据消息定位 loader 或请求,核对返回的字段和结构是否符合路由渲染或流式响应的要求。
Loader 数据边界
StreamErrorCode.DEFERRED_TIMEOUT
OE_STREAM_FIELD_MISSING
英文源码摘要A manifest-declared deferred field is absent from the loader data.
- 检查步骤
根据消息定位 loader 或请求,核对返回的字段和结构是否符合路由渲染或流式响应的要求。
Loader 数据边界
StreamErrorCode.FIELD_MISSING
OE_STREAM_LOADER_NOT_OBJECT
英文源码摘要The loader data is not one plain object.
- 检查步骤
根据消息定位 loader 或请求,核对返回的字段和结构是否符合路由渲染或流式响应的要求。
Loader 数据边界
StreamErrorCode.LOADER_NOT_OBJECT
OE_STREAM_MANIFEST_BUDGET
英文源码摘要The route manifest declares past the field/Part budget.
- 检查步骤
根据消息定位 loader 或请求,核对返回的字段和结构是否符合路由渲染或流式响应的要求。
Loader 数据边界
StreamErrorCode.MANIFEST_BUDGET
OE_STREAM_PAYLOAD_BOUND
英文源码摘要A seed attribute or Part frame encodes past the payload bound.
- 检查步骤
根据消息定位 loader 或请求,核对返回的字段和结构是否符合路由渲染或流式响应的要求。
Loader 数据边界
StreamErrorCode.PAYLOAD_BOUND
OE_STREAM_RANGE_BOUND
英文源码摘要A resolved deferred range serializes past the payload bound.
- 检查步骤
根据消息定位 loader 或请求,核对返回的字段和结构是否符合路由渲染或流式响应的要求。
Loader 数据边界
StreamErrorCode.RANGE_BOUND
OE_STREAM_THENABLE_UNDECLARED
英文源码摘要The loader data carries a thenable the manifest does not declare.
- 检查步骤
根据消息定位 loader 或请求,核对返回的字段和结构是否符合路由渲染或流式响应的要求。
Loader 数据边界
StreamErrorCode.THENABLE_UNDECLARED
OE_WORKSPACE_ANCHOR_LOOKUP_FAILED
英文源码摘要The ancestor walk could not probe for the marker (permissions, I/O).
- 检查步骤
检查首条失败消息指明的路径和文件。在同一个源码检出中用构建和运行命令复现,并检查实际生成的产物。
构建并运行产物
WorkspaceAnchorErrorCode.LOOKUP_FAILED