# `ChunkLoadError: Loading chunk app/page failed.`

**Where it appears:** Browser

**What it means:** The browser tried to load a piece of your app's code that was rebuilt or replaced since the page was opened.

## Likely causes

- A new deployment went live or `.next` was rebuilt while the browser tab stayed open on an older version.
- The `.next` cache folder on your computer got out of sync after switching branches.

## Message for your agent

```text
I get `ChunkLoadError` in the browser. Hard-refresh the page, and if it still happens locally, stop the server, clear the `.next` build cache, and restart `npm run dev`.
```

**Prevention:** Refresh your browser tab after switching branches or restarting the local server.

---
Source: [Agentic Makers](https://agenticmakers.app/en/help/errors/chunkloaderror-loading-chunk-failed) · License: CC BY 4.0
