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.