Errors
Error codes
Every next-federation error carries a code, NF-001 and up, and links to a page that says what happened, why and how to fix it.
Every error message from next-federation carries a code and links to a page for it. Each page says
what happened, why, and how to fix it.
Good to know: The code is also on the error object: error.code is
NF-001 and error.docs is the page URL.
- NF-001: Unknown remote
- NF-002: Invalid federation configuration
- NF-003: Unsupported island protocol version
- NF-004: Invalid island envelope
- NF-005: Envelope URL is outside the remote's origins
- NF-006: Island server and client bundle run different React modes
- NF-007: Island fetch failed
- NF-008: Island fetch timed out
- NF-009: Island props are not plain JSON
- NF-010: Envelope was rendered by a different build than this bootstrap
- NF-011: Island bootstrap failed to load
- NF-012: Uncaught error inside an island
- NF-013: Private island used without identity configuration
- NF-014: Identity token rejected
- NF-015: Issuer JWKS could not be fetched
- NF-016: Token issuer is not in the remote's issuer map
- NF-017:
withNextFederationis missing from next.config - NF-018: Island rendered a script or hoistable element
- NF-019: This remote build does not support island Server Actions
- NF-020: Remote
basemust be an absolute URL - NF-021: Unknown island
- NF-022: Request origin is not an allowed host
- NF-023: Remote build has been retired
- NF-024: Island envelope exceeds the size warning threshold
- NF-025: Unsupported
@vitejs/plugin-rscversion - NF-026: Unsupported
@module-federation/viteversion - NF-027: Remote component server code failed its integrity check
- NF-028: Remote component rendered in the browser only
- NF-029: Remote component failed to load
- NF-030: Remote component server code required a module the host does not provide
- NF-031: Server Action not found
- NF-032: Server Action request is invalid
- NF-033: Server Action threw an error
- NF-034: A client module imports a 'use server' file
- NF-035: Island form uses a raw
actioninstead of<Form> - NF-036: Host does not provide a shared module version the remote component accepts
- NF-037: Under
next dev, private island values may reach the browser - NF-038: Server Action request failed
- NF-039: Remote component deferred to request time
- NF-040: Remote component threw while rendering
- NF-041: Installed
react-server-dom-webpackhas a known security advisory
@next-federation/vite
Vite 8 plugins that build an island remote (nextFederationIslands) or a remote components build (nextFederationComponents). Requires Node ^20.19.0 ||...
NF-001: Unknown remote
A host asked for a remote name that is not declared in defineFederation(). The cause is a typo, a missing entry, or a config that was not loaded on this...