MANIFEST_EXTRACTION_FAILED: Component module failed to load
| Severity | Fault | Stage |
|---|---|---|
| error | customer (the source package) | component declaration |
What it means
Section titled “What it means”The builder loads the component module, without a browser, to read its declaration, and the module threw or exited. Usual cause: code at the top level of a module that uses browser globals (window, document, localStorage, navigator), which do not exist while the declaration is read.
How to fix
Section titled “How to fix”Do not touch window, document, localStorage or other browser globals at the top level of a module: use them inside render, an event handler or useEffect.