Loading lesson…
Your first red error screen feels like the end of the world. It isn't. Here's the calm, repeatable way to get unstuck with AI help.
The first time Bolt or Lovable shows you a red error screen you will panic. That is normal. Errors are the app's way of telling you exactly what confused it. AI is incredibly good at reading these messages — if you paste the right parts.
My app crashed with this error:
TypeError: Cannot read properties of null (reading 'id')
at Dashboard (app/dashboard/page.tsx:23:18)
at Object.renderWithHooks (...)
This happened right after I added the filter tabs in the last prompt. Before that, the page loaded fine.
What's going on, and what's the smallest change that fixes it?A great debugging prompt: exact error, exact location, what changed, and a request for the smallest fix.| Error | Usually means |
|---|---|
| Cannot read properties of undefined | Data wasn't there when the page tried to use it |
| Module not found | Missing install — ask AI to install the package |
| Hydration mismatch | Server and browser rendered different HTML |
| Unauthorized / 401 | API key missing or wrong env variable name |
The big idea: errors are letters from your app, not insults to you. Read them, paste them, ask for the smallest fix, and you will get unstuck ninety percent of the time.
15 questions · take it digitally for instant feedback at tendril.neural-forge.io/learn/quiz/end-vibecoder-breaking-down-errors
Your app shows a red error screen with the message 'Cannot read properties of undefined (reading 'name')'. What does this error most likely indicate?
When asking an AI for help with an error, which combination of information produces the most useful response?
A 'Module not found' error typically means what?
What is a 'stack trace'?
Your app worked ten minutes ago but now shows an error. What information should you definitely include when asking AI for help?
What does 'hydration mismatch' mean?
You receive a 401 Unauthorized error. What is the most likely cause?
Why might an answer from Stack Overflow from 2021 be less helpful than asking AI?
What does it mean that 'context can get polluted'?
What is an 'env variable'?
You've been stuck on an error for an hour. The AI keeps giving solutions that don't work. What should you try?
The lesson compares errors to 'letters from your app, not insults to you.' What is the intended mindset shift?
A friend who codes is sitting next to you. When should you consider asking them for help?
What does deleting an offending feature and rebuilding it from a cleaner prompt accomplish?
When you paste an error into AI, why should you include the 'scary call stack' even though it looks intimidating?