Browser
ChunkLoadError: Loading chunk app/page failed.
- 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
.nextwas rebuilt while the browser tab stayed open on an older version. - The
.nextcache folder on your computer got out of sync after switching branches.
- A new deployment went live or
- Prevention
- Refresh your browser tab after switching branches or restarting the local server.
Copy for your agent
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`.
Was this page helpful?