Next.js page missing · Usually quick to fix
NEXT_NOT_FOUND in Next.js
Next.js can’t find the page. Check your file structure in the app/ directory.
What the error looks like
Error: NEXT_NOT_FOUND
Why it happens
The route doesn’t have a matching page.tsx file, or the file isn’t in the right folder inside app/.
How to fix it
- Make sure you have a page.tsx file in the right folder (e.g., app/about/page.tsx for /about)
- Check for typos in the folder name
- If it’s a dynamic route, make sure the [slug] folder exists
Ask your AI coding tool to fix it
Paste this prompt into Claude Code, Cursor, Bolt or Lovable, with your own error in place of the example.
I'm getting this error and I need help understanding and fixing it:
```
Error: NEXT_NOT_FOUND
```
Please:
1. Explain what this error means in plain English
2. Tell me the most likely cause
3. Give me the exact code changes or commands I need to fix it
4. Show me how to prevent this error in the future
Got a different error?
Paste any error into the free Error Decoder and get it explained in plain English, with a fix prompt.
Decode my error