🐛

Error Message Decoder

Understand cryptic error messages and stack traces

prompt template
Explain this error and tell me how to fix it:

```
[PASTE_FULL_ERROR_MESSAGE_AND_STACK_TRACE]
```

**My setup:** [FRAMEWORK_AND_VERSIONS — e.g., "Next.js 14, React 18, Node 20"]
**What I was doing:** [ACTION_THAT_TRIGGERED_ERROR]

Please provide:
1. **Plain English explanation** — what this error actually means (no jargon)
2. **Root cause** — why this is happening in my specific context
3. **Fix** — exact code change or command to resolve it
4. **Prevention** — how to avoid this error in the future
5. **Related gotchas** — similar errors I might hit next

If the error could have multiple causes, list them from most to least likely and ask me a clarifying question to narrow it down.

How to Use This Prompt

  1. 1Copy the prompt template above
  2. 2Paste into Claude, ChatGPT, or Cursor
  3. 3Replace [bracketed placeholders] with your specific project details
  4. 4Iterate on the AI output to refine and customize the results