# MANIFEST_EXTRACTION_FAILED: Component module failed to load

> Component module failed to load

> Esta página ainda não tem tradução para o português; este é o texto em inglês. (This page is not translated yet: the English text follows.)

| Severity | Fault                         | Stage                 |
| -------- | ----------------------------- | --------------------- |
| error    | customer (the source package) | component declaration |

## 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

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.
