Troubleshooting Guide
Common problems and solutions compiled here.
Claude Code Related
Claude Code Wonât Start
Symptom: No response or error when running claude command
Solutions:
-
Check if Node.js is installed
node --versionIf not displayed:
brew install node -
Reinstall Claude Code
npm install -g @anthropic-ai/claude-code -
Restart Terminal
Authentication Error
Symptom: âAuthentication requiredâ, âPlease log inâ, etc.
Solutions:
-
Run authentication again
claudeBrowser opens, log in again
-
If that doesnât work, clear cache
rm -rf ~/.claude claude -
Consult a mentor
Response is Slow or Stops
Symptom: Claudeâs response never comes back
Solutions:
- Interrupt with
Ctrl + C - Send the same instruction again
- If frequent,
/clearthen retry
Hit Token Limit
Symptom: âLimit reachedâ message, etc.
Solutions:
- Switch to Max Plan: Ask a mentor (company will cover the cost)
- Temporary fix:
/clearclears history and gives some headroom
Code Execution Related
âFile not foundâ
Symptom: FileNotFoundError, No such file or directory
Solutions:
-
Check current directory
Which folder am I in? -
Check if file exists
Show me the file list with ls -
Specify correct path and run again
âPermission deniedâ
Symptom: Permission denied
Solutions:
-
Grant execute permission
Give the script execute permission with chmod +x -
If that doesnât work
Run it directly with python Example: python script.py
Text is Garbled
Symptom: Garbled characters, âĄâĄâĄ, ????
Solutions:
-
Ask Claude
Unify the character encoding to UTF-8 -
Specify encoding when reading files
Specify encoding='utf-8' when reading the file
Module Not Found
Symptom: ModuleNotFoundError, No module named âxxxâ
Solutions:
-
Ask Claude
Install the required modules -
Install manually
pip install module-name
VS Code Related
Terminal Wonât Open
Solutions:
- From menu: âTerminalâ â âNew Terminalâ
- Shortcut: `Ctrl + â (backtick)
File Changes Not Reflected
Solutions:
- Save file (
Cmd + S) - Reload VS Code window (
Cmd + Shift + Pâ âReload Windowâ)
When Stuck in Development
Donât Know Where to Start
Actions:
- Ask Claude
I want to build X, where should I start? - Start building small pieces
- Consult a mentor
Things Got Too Complex
Actions:
/clearto clear history- Rebuild with only minimal features
Build something simple that only does X from scratch - Add features one by one
Error Wonât Go Away
Actions:
- Show error message directly to Claude
- Say âtry a different approachâ
- If still stuck:
Give up on this approach and achieve X a different way - Consult a mentor
Donât Understand Claudeâs Suggestion
Actions:
- Ask for explanation
Explain in more detail Explain for a beginner - Ask about specific parts
What does this line do? - Ask a mentor to explain
Emergency Contacts
When to Call a Mentor
- Stuck on the same problem for more than 15 minutes
- Donât understand what the error means
- Donât even know what to ask
- Unsure about direction
Raise your hand! Time spent struggling alone is wasted time.
If Still Unresolved
- Take a screenshot: Having a photo of the error makes it easier to explain
- Organize the situation: âI was trying to do X, ran Y command, and got Z errorâ
- Share with mentor: Tell them the above
Letâs solve it together!