Ultimate

X_TEST_ISLAND_NO_MOUNT

Means

an island chunk exports no mount function

Typical cause

the island compiled, shipped and was served, and the hydration runtime's m.mount(el, props) finds nothing — a renamed export, or a file exporting only its component. Not a build failure: this one passes every gate and throws in the browser, so cause names the exports it does have

Fix

paste into the island the cause names, using the component the cause names: import { render } from 'solid-js/web'; export function mount(el: HTMLElement, props: Parameters<typeof Counter>[0]): () => void { el.textContent = ''; return render(() => <Counter {...props} />, el); } — the error builds that line from the chunk's OWN exports, so the component is a name that resolves in the reader's file; a chunk exporting nothing usable gets x g island <name> --at apps/web/site instead

Listed under Testing

This page as markdown