Skip to main content
中文中文View this page in Chinese.
Browse documentation

Error codes

Paste a code or a line from your build or runtime log. This registry documents the v1.0.0-alpha.16 source.

Build diagnostic envelope

Compiler diagnostics

Start with the first error that names a source file. Use its file, line, column, and full message to locate the failing code. The diagnostic envelope also includes a hint when the producer provides one.

OEC9000

Compiler grammar

What it means
TypeScript could not parse the source file.
What to check

Open the file at the line and column in your build output. Use the accompanying TypeScript message to fix the syntax, then rebuild.

Build diagnostic envelope
Compiler source locations

Locations in the source checkout
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

Compiler grammar

What it means
The component render needs a single JSX root.
What to check

Check the returned expression. If there are sibling roots, wrap them in one element and return that element.

Component setup
Message variants and source locations

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

Locations in the source checkout
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

Compiler grammar

What it means
A JSX tag is invalid or unsupported in this position.
What to check

Check the tag named in the message. Use a supported HTML tag or the registered custom-element tag name. Server functions called by identifier follow the server-function composition rules.

JSX composition
Message variants and source locations

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

Locations in the source checkout
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

Compiler grammar

What it means
An attribute or binding does not meet the grammar for that element or scope.
What to check

Check the named attribute or property and its allowed value. Pay attention to whether the message refers to a literal, declared prop, list item, or ref.

Attribute bindings
Message variants and source locations

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

Locations in the source checkout
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

Compiler grammar

What it means
A conditional branch or nested Block cannot be compiled as written.
What to check

Check the named branch for nesting and unsupported text, refs, or handlers. For a text-only choice, derive the text separately and bind it.

Conditional JSX
Message variants and source locations

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

Locations in the source checkout
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

Compiler grammar

What it means
The compiler rejected a JSX child, expression, or list mapper.
What to check

Use the full message to identify the rejected value. For a keyed list, check the mapper parameter and the single JSX item it returns. For a void tag, remove its children.

JSX composition
Message variants and source locations

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

Locations in the source checkout
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

Compiler grammar

What it means
A keyed list item is missing a valid key binding.
What to check

Give each item root one key tied to an item field, such as key={item.id}. Check that the field identifies the same item across updates.

JSX composition
Message variants and source locations

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>}

Locations in the source checkout
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

Compiler grammar

What it means
The compiler could not lower the event action.
What to check

Check the action named in the message. Keep it to one supported operation or move the logic into the handler form admitted by the component.

Event handlers
Message variants and source locations

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>()

Locations in the source checkout
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

Compiler grammar

What it means
The current compiler path refused a handler, ref, or children on a custom-element host.
What to check

Match the fix to the item named in the message. For a handler or ref, check the element or lifecycle placement allowed by that component. For children, verify the host’s slots or props contract.

JSX composition
Message variants and source locations

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)

Locations in the source checkout
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

Compiler grammar

What it means
A computed expression or an assignment to a computed result was refused.
What to check

Follow the exact message. Read or update the declared source properties instead of the computed result. If a nested function is flagged, move it to a supported scope.

Component setup
Message variants and source locations

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>

Locations in the source checkout
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

Compiler grammar

What it means
An innerHTML binding was refused by the compiler’s trusted HTML checks.
What to check

Check the message for the required trusted value, capability declaration, or target shape. For ordinary content, render text or JSX.

HTML safety boundary
Message variants and source locations

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>)

Locations in the source checkout
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

Compiler grammar

What it means
Server function markup includes a client-only handler or ref.
What to check

Keep the server page responsible for HTML. Move the interaction or element access into a compiled island.

Server function pages
Message variants and source locations

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

Locations in the source checkout
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

Compiler grammar

What it means
A server function component uses a signature, prop, composition, or await form this path cannot compile.
What to check

Check the exact reported expression. Verify the inline props type, how the components compose, and whether a parent that awaits an async child is itself async.

Server function pages
Message variants and source locations

"…" 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

Locations in the source checkout
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

Compiler grammar

What it means
The compiler could not recognize the function component’s shape.
What to check

Check the component export, its props parameter, and that its body returns one JSX element.

Component setup
Compiler source locations

Locations in the source checkout
packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:74

OEC9041

Compiler grammar

What it means
A statement in the function component body is outside the supported setup grammar.
What to check

Locate the reported statement and compare it with the supported setup declarations and single JSX return.

Component setup
Compiler source locations

Locations in the source checkout
packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:76

OEC9042

Compiler grammar

What it means
A declaration, intrinsic call, or JSX form is unsupported in this position.
What to check

Check the reported syntax. For a spread attribute, write the individual supported bindings; for an intrinsic, check the required arguments and placement.

Compiler grammar
Compiler source locations

Locations in the source checkout
packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:78

OEC9043

Compiler grammar

What it means
The compiler could not validate a read or expression.
What to check

Use the additional code and text in the full message to identify the refused value. Check where that value is declared and where it is read.

Compiler grammar
Compiler source locations

Locations in the source checkout
packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:80

OEC9044

Compiler grammar

What it means
The function-component compiler does not admit innerHTML output.
What to check

Replace that binding with supported JSX or a text binding for ordinary content.

HTML safety boundary
Compiler source locations

Locations in the source checkout
packages/compiler/src/internal/compiler/semantic-core/function-frontend.ts:82

Runtime and framework error codes

Use the full message and stack trace to find the failing call. The source declaration identifies the code. The check below points to the affected part of the framework.

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.

What to check

Identify the element and operation in the stack. Compare the server HTML and the module loaded by the browser; for mount, claim, or update failures, check where the two diverge.

Hydration boundary

FacadeErrorCode.PROGRAM_MISSING

Source declaration on GitHubBack to error lookup

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.

What to check

Identify the element and operation in the stack. Compare the server HTML and the module loaded by the browser; for mount, claim, or update failures, check where the two diverge.

Hydration boundary

RuntimeErrorCode.STATIC_RANGE_MISMATCH

Source declaration on GitHubBack to error lookup

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.

What to check

Check the named stylesheet, provider, or root. Trace that declaration to the style resource the build emits and the browser or server tries to use.

Stylesheet delivery

StyleErrorCode.INVALID_STYLE_HREF

Source declaration on GitHubBack to error lookup

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.

What to check

Check the named stylesheet, provider, or root. Trace that declaration to the style resource the build emits and the browser or server tries to use.

Stylesheet delivery

StyleErrorCode.SHEET_RULES_UNREADABLE

Source declaration on GitHubBack to error lookup

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.

What to check

Check the named head field, tag, parameter, or data value where it enters the page renderer. Use the source declaration to identify the exact validated value.

Document head entries

AuthoringErrorCode.UNSAFE_ATTRIBUTE_NAME

Source declaration on GitHubBack to error lookup

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.

What to check

Check the named head field, tag, parameter, or data value where it enters the page renderer. Use the source declaration to identify the exact validated value.

Document head entries

AuthoringErrorCode.UNSAFE_URL_SINK

Source declaration on GitHubBack to error lookup

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.

What to check

Open the configuration or module named in the error and compare the reported option and value with the contract for the command you ran.

Project configuration

AdapterErrorCode.HONO_DEV_SERVER_LOAD_FAILED

Source declaration on GitHubBack to error lookup

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.

What to check

Check the paths and files named in the first failure. Reproduce with build and serve commands from the same checkout and inspect the output they actually emitted.

Build and serve the output

ClientBuildErrorCode.ELEMENT_RUNTIME_CHUNK_MISSING

Source declaration on GitHubBack to error lookup

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.

What to check

Check the paths and files named in the first failure. Reproduce with build and serve commands from the same checkout and inspect the output they actually emitted.

Build and serve the output

ClientBuildErrorCode.ELEMENT_RUNTIME_IDENTITY_UNRESOLVED

Source declaration on GitHubBack to error lookup

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.

What to check

Check the paths and files named in the first failure. Reproduce with build and serve commands from the same checkout and inspect the output they actually emitted.

Build and serve the output

ClientBuildErrorCode.ENTRY_STATIC_GRAPH_REACHES_RUNTIME

Source declaration on GitHubBack to error lookup

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.

What to check

Check the paths and files named in the first failure. Reproduce with build and serve commands from the same checkout and inspect the output they actually emitted.

Build and serve the output

ClientBuildErrorCode.PACKAGE_IDENTITY_UNRESOLVED

Source declaration on GitHubBack to error lookup

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).

What to check

Check the paths and files named in the first failure. Reproduce with build and serve commands from the same checkout and inspect the output they actually emitted.

Build and serve the output

ClientBuildErrorCode.STYLE_ASSET_UNREGISTERED

Source declaration on GitHubBack to error lookup

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.

What to check

Check the paths and files named in the first failure. Reproduce with build and serve commands from the same checkout and inspect the output they actually emitted.

Build and serve the output

ClientBuildErrorCode.VITE_HELPER_CHUNK_MISSING

Source declaration on GitHubBack to error lookup

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.

What to check

Open the configuration or module named in the error and compare the reported option and value with the contract for the command you ran.

Project configuration

DescriptorErrorCode.MODULE_IMPORT

Source declaration on GitHubBack to error lookup

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.

What to check

Find the named island, tag, or package. Check its declaration and import path, then verify what the build admits and emits for that entry.

Island declarations

IslandErrorCode.STYLE_SHADOW_UNWIRED

Source declaration on GitHubBack to error lookup

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.

What to check

Find the named island, tag, or package. Check its declaration and import path, then verify what the build admits and emits for that entry.

Island declarations

PackageAdmissionErrorCode.MANIFEST_LESS

Source declaration on GitHubBack to error lookup

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.

What to check

Find the named island, tag, or package. Check its declaration and import path, then verify what the build admits and emits for that entry.

Island declarations

PackageAdmissionErrorCode.MODULE_BOUND_EXCEEDED

Source declaration on GitHubBack to error lookup

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.

What to check

Find the named island, tag, or package. Check its declaration and import path, then verify what the build admits and emits for that entry.

Island declarations

PackageAdmissionErrorCode.MODULE_UNREADABLE

Source declaration on GitHubBack to error lookup

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.

What to check

Find the named island, tag, or package. Check its declaration and import path, then verify what the build admits and emits for that entry.

Island declarations

PackageAdmissionErrorCode.TAG_CONFLICT

Source declaration on GitHubBack to error lookup

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.

What to check

Use the named route, tag, or file to locate the source module. Verify its filename, component entry, and any route options named in the error.

File routes

PageErrorCode.FUNCTION_PROPS

Source declaration on GitHubBack to error lookup

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).

What to check

Use the named route, tag, or file to locate the source module. Verify its filename, component entry, and any route options named in the error.

File routes

PageErrorCode.FUNCTION_RENDER

Source declaration on GitHubBack to error lookup

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.

What to check

Check the named stylesheet, provider, or root. Trace that declaration to the style resource the build emits and the browser or server tries to use.

Stylesheet delivery

PresetErrorCode.TAILWIND_REQUIRED_DISABLED

Source declaration on GitHubBack to error lookup

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.

What to check

Check the named stylesheet, provider, or root. Trace that declaration to the style resource the build emits and the browser or server tries to use.

Stylesheet delivery

PresetErrorCode.UNOCSS_EMPTY_COMPILE

Source declaration on GitHubBack to error lookup

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.

What to check

Check the paths and files named in the first failure. Reproduce with build and serve commands from the same checkout and inspect the output they actually emitted.

Build and serve the output

SsgRenderErrorCode.CSP_META_UNSUPPORTED

Source declaration on GitHubBack to error lookup