Installation Issues
Sharp/Python Build Errors
If you seegyp ERR! find Python or Sharp build errors during installation:
Error: Cannot find module 'sharp'
Error: Cannot find module 'sharp'
Symptoms:Solution 1: Use prebuilt binaries (recommended)Solution 2: Install Python (if you prefer building from source)
The
postinstall script in package.json automatically runs npm rebuild sharp with the ignore flag, so this should be handled automatically.General Installation Errors
Application Startup Issues
Port 5180 Already in Use
Error: Port 5180 is already in use
Error: Port 5180 is already in use
Symptoms:Windows:
- App fails to start
- Error message about port 5180
- Vite dev server won’t start
App Window Doesn’t Appear
App starts but window is invisible
App starts but window is invisible
Symptoms:
- Process is running in Activity Monitor/Task Manager
- No window visible on screen
- No errors in terminal
- Press
Cmd + B(macOS) orCtrl + B(Windows/Linux) - This toggles window visibility
- Look for “IC” in your system tray/menu bar
- Right-click and select “Show Interview Coder”
- Or double-click the tray icon
Electron Crashes on Startup
Electron app crashes immediately
Electron app crashes immediately
AI Provider Issues
Ollama Connection Failed
Error: Failed to connect to Ollama
Error: Failed to connect to Ollama
Symptoms:Solution:If not installed, download from ollama.ai
Verify Ollama is installed
Cluely automatically detects the first available Ollama model if your specified model isn’t found.
Gemini API Key Errors
Error: 401 Unauthorized or Invalid API Key
Error: 401 Unauthorized or Invalid API Key
Error: 429 Rate Limit Exceeded
Error: 429 Rate Limit Exceeded
Symptoms:Solution:Cluely automatically switches to your fallback API key if configured:Rate limit details:
- Gemini free tier has usage quotas
- Cluely implements exponential backoff (1s, 2s, 4s delays)
- Automatic failover to fallback key
From
electron/LLMHelper.ts:139-146, Cluely detects rate limits and switches keys automatically.Error: 503 Model Overloaded
Error: 503 Model Overloaded
Symptoms:Automatic handling:
- Cluely retries automatically (up to 3 attempts)
- Uses exponential backoff: 1s → 2s → 4s
- Usually resolves within a few seconds
- Wait a few minutes and try again
- Google’s servers may be experiencing high load
- Consider switching to Ollama for offline usage
OpenRouter Issues
OpenRouter API errors
OpenRouter API errors
Common errors:1. Invalid API Key2. Model not foundVerify model name at openrouter.ai/models3. Insufficient credits
- Check your OpenRouter account balance
- Add credits if needed
Platform-Specific Issues
Windows Issues (Fixed)
Recent updates have fixed common Windows issues:
- ✅ UI not loading (port mismatch resolved)
- ✅ Electron crashes (improved error handling)
- ✅ Build failures (production config updated)
- ✅ Window focus problems (platform-specific fixes applied)
Ubuntu/Linux Issues (Fixed)
Recent updates have fixed common Linux issues:
- ✅ Window interaction (fixed focusable settings)
- ✅ Installation confusion (clear setup instructions)
- ✅ Missing dependencies (all requirements documented)
Missing system dependencies
Missing system dependencies
macOS Issues
macOS Gatekeeper warnings
macOS Gatekeeper warnings
Symptoms:
- “App is damaged and can’t be opened”
- “App is from an unidentified developer”
Window Management Issues
Can’t Close the App
Solutions:- Keyboard Shortcut
- Activity Monitor/Task Manager
Press
Cmd + Q (macOS) or Ctrl + Q (Windows/Linux) to quit.Window Focus Problems
Window doesn't stay on top
Window doesn't stay on top
Expected behavior:
- Window should always stay on top of other windows
- Configured with
alwaysOnTop: trueinelectron/main.ts
- Toggle window visibility:
Cmd/Ctrl + B - This resets the window state
- Platform-specific fixes have been applied in recent updates
Screenshot Issues
Screenshots Not Saving
Screenshot taken but not visible in app
Screenshot taken but not visible in app
Check screenshot directories:If empty:
- Check disk space
- Verify write permissions
- Check console for error messages
Screenshot Keyboard Shortcut Not Working
Cmd/Ctrl + H doesn't take screenshot
Cmd/Ctrl + H doesn't take screenshot
Troubleshooting:
Check for conflicts
Another app may be using the same shortcut.macOS: System Preferences → Keyboard → Shortcuts
Windows: Check other running applications
Performance Issues
Slow AI Responses
AI takes too long to respond
AI takes too long to respond
Factors affecting speed:
Optimization tips:For Ollama:For all providers:
| Provider | Speed | Notes |
|---|---|---|
| Gemini | Fast (1-3s) | Cloud AI, requires internet |
| Ollama | Varies | Depends on your CPU/GPU |
| OpenRouter | Medium (2-5s) | Depends on selected model |
| K2 Think | Slower | Local OCR adds processing time |
- Take fewer screenshots (each image adds processing time)
- Keep prompts concise
- Close other resource-intensive apps
High Memory Usage
App uses too much RAM
App uses too much RAM
Expected memory usage:2. Clear screenshot queues:
- Without Ollama: 200-500 MB
- With Ollama: 2-8 GB (depending on model size)
- Delete old screenshots from the app
- Each screenshot is stored in memory as base64
- Gemini has much lower local memory requirements
- Trade-off: Privacy vs performance
Build and Distribution Issues
Build Fails
npm run dist fails
npm run dist fails
Common errors:1. Missing build tools:2. Clean build:3. Check disk space:
- Building requires 2-5 GB free space
- Output goes to
release/directory
Debug Mode
Enable Verbose Logging
Run in development mode to see detailed logs:- Press
Cmd/Ctrl + Shift + Ito open DevTools - Check Console tab for errors
- Check Network tab for API calls
- Check Application tab for local storage
Getting Help
Reporting Issues
If you encounter an issue not covered here:Gather information
- Operating system and version
- Node.js version (
node --version) - Electron version (
npm list electron) - Error messages from console
- Steps to reproduce
System Requirements Check
Verify your system meets minimum requirements
Verify your system meets minimum requirements
Minimum:
- 4GB RAM
- Dual-core CPU
- 2GB free storage
- Internet connection (for cloud AI)
- 8GB+ RAM
- Quad-core CPU
- 5GB+ free storage
- High-speed internet
- 16GB+ RAM
- 8+ core CPU or dedicated GPU
- 10GB+ free storage
- SSD storage