Development Troubleshooting
This guide covers common issues you might encounter during FindU development and how to resolve them.Setup Issues
Repository Clone Failures
Problem: Can’t clone repositories- Ensure you have GitHub organization access
- Use HTTPS clone if SSH isn’t set up
- Check with team lead for repository access
Missing Environment Files
Problem: No.env file in repository
Solution: Create from example or get from team
Component-Specific Issues
Web App
”Cannot find module” errors
Port already in use
iOS App
”No such module ‘Supabase’”
Solution: Install CocoaPods dependenciesMissing Secrets.xcconfig
Solution: Copy example and add credentialsDatabase Issues
Connection refused
Problem: Can’t connect to Supabase Solution: Check your credentials- Verify
.envhas correct Supabase URL and keys - Test connection in Supabase dashboard
- Check if using dev or prod credentials
- Ensure no typos in environment variables
Permission denied errors
Problem: RLS policies blocking access Solution:- Check if using correct user role (anon vs service)
- Verify RLS policies in Supabase dashboard
- Use service role key for admin operations
Python/ML Environment
Module import errors
Solution: Create and activate virtual environmentEnvironment Configuration
Missing credentials errors
Problem:.env.local has placeholder values
Solution: Get real credentials from team lead
- Required: Supabase project ID, URL, and anon key
- Optional: Service keys, OAuth credentials
Wrong environment credentials
Problem: Using wrong Supabase instance Solution: Update your.env files
- Get correct credentials from team lead
- Update
.envin each repository - Restart your development servers
- Verify by checking data in Supabase dashboard
Git & GitHub Issues
Permission denied (publickey)
Problem: SSH key not configured Solution: Use HTTPS or setup SSHPre-commit hook failures
Problem: Code doesn’t pass linting Solution: Fix issues or skip temporarilyPerformance Issues
Slow dependency installation
Solution: Use faster registryHigh memory usage
Solution: Limit concurrent processesGetting Help
Check Documentation
- Repository
CLAUDE.mdfiles - Internal docs
- Component-specific READMEs
Ask the Team
- Search Slack history in #dev
- Post specific error messages
- Include steps to reproduce
Debug Commands
Common Fixes Checklist
When something’s not working, try these in order:- ✓ Is Docker running?
- ✓ Are you in the right directory?
- ✓ Did you run
npm install? - ✓ Is
.env.localconfigured? - ✓ Did you pull latest changes?
- ✓ Did you restart the service?
- ✓ Check Slack for known issues
Most issues are solved by one of: installing dependencies, starting Docker, or configuring environment variables.