For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/de/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/de/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/de/rules/config/async-boundary-missing.md.

Dies ist die deutsche MFDoctor-Dokumentation. Technische Bezeichner, CLI-Flags, Regel-IDs und Codebeispiele bleiben unverändert, damit die Inhalte zwischen den Sprachen vollständig kompatibel bleiben. Verwenden Sie den Sprachumschalter für die kanonische englische Fassung.

config/async-boundary-missing

  • Kategorie: correctness
  • Standardschweregrad: error

Problem

A host entry that synchronously imports non-eager shared packages can hit RUNTIME-005 (loadShareSync) because Module Federation needs an async boundary before shared negotiation finishes.

So beheben Sie das Problem

Move app startup behind a dynamic import (for example import('./bootstrap')), enable experiments.asyncStartup, or mark those shared packages eager: true when intentional.

Suppress or retarget with rules["config/async-boundary-missing"] set to "off" or a severity — see Suppressions and allowlists.

Quellen