The Prompt BakeryTemplates and prompts

Fix · Problems with AI tools

The AI writes old code that does not match my version

What you may see

  • Functions from tutorials do not exist in my version
  • Deprecated warnings everywhere

Most likely cause

The AI learned from older examples; frameworks change, and old code may not fit the version you installed.

Check first (about two minutes)

  1. Check the exact version of the framework and library in package.json.

The fix prompt

What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.

Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.

Prompt language

Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.

After you tried it, did it work?

Steps

  1. Tell me the exact versions in package.json, then read the official documentation for THOSE versions (or the migration guide) before writing code.
  2. Rewrite the failing code with the current way, and say which source you used.
  3. If you cannot verify a function, say so rather than guessing.

Do not do this

  • Do not trust code from old tutorials.
  • Do not upgrade major versions to match old code.

Related

Try another entry

How can we help?

What do you need?
Your email, so we can reply (optional)Only enter your own email. We reply there.