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)
- 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
- Tell me the exact versions in package.json, then read the official documentation for THOSE versions (or the migration guide) before writing code.
- Rewrite the failing code with the current way, and say which source you used.
- 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.