Build Issues
swiftc: command not found
Problem: Swift compiler not found when running npm run build:native
Solution:
npm install fails on native modules
Problem: Installation fails with node-gyp or native module errors
Solution:
Apple Silicon (M1/M2/M3) issues
Problem: Build fails or native features don’t work on Apple Silicon Macs Solution:Native features missing after npm run dev
Problem: Native features don’t work in development mode
Solution:
The dev script doesn’t compile Swift binaries. Run this first:
Runtime Issues
App launches but hotkeys don’t work
Problem: Global hotkeys and launcher shortcut don’t respond Solution:Grant Input Monitoring Permission
Go to System Settings → Privacy & Security → Input MonitoringEnsure SuperCmd is checked
Window management doesn’t work
Problem: Window tiling and positioning features fail Solution:Grant Accessibility Permission
Go to System Settings → Privacy & Security → AccessibilityEnsure SuperCmd is checked
Extensions fail to install
Problem: Extension installation fails with git errors Solution:Voice input not working
Problem: Hold-to-speak or Whisper STT doesn’t work Solution:Grant Microphone Permission
Go to System Settings → Privacy & Security → MicrophoneEnsure SuperCmd is checked
Grant Speech Recognition Permission
Go to System Settings → Privacy & Security → Speech RecognitionEnsure SuperCmd is checked
Development Issues
Changes not reflected in app
Problem: Code changes don’t appear after saving Solution:Troubleshooting Steps
Troubleshooting Steps
DevTools won’t open
Problem:Cmd+Option+I doesn’t open Chrome DevTools
Solution:
Ensure you’re running in development mode:
TypeScript errors in editor
Problem: Editor shows TypeScript errors but build succeeds Solution:Check tsconfig.json
Verify you’re using the correct tsconfig:
tsconfig.main.jsonfor main processtsconfig.jsonfor renderer
Extension Compatibility Issues
Extension loads but crashes immediately
Problem: Extension starts then fails with errors Solution:Check for Missing APIs
Look for errors about undefined functions or modules. Check CLAUDE.md for API implementation status.
Verify Extension Bundling
Check that esbuild bundled the extension correctly. Look for bundle errors in console.
Extension preferences not working
Problem: Extension can’t read or save preferences Solution:Debug Steps
Debug Steps
Extension actions don’t fire
Problem: Clicking actions or using shortcuts does nothing Solution:- Check that ActionPanel is rendered
- Verify action callbacks are defined
- Look for JavaScript errors in console
- Test keyboard shortcuts match expected format
- Check action registry is collecting actions correctly
IPC Issues
IPC calls timeout or fail
Problem: Renderer → Main IPC calls fail or hang Solution:AI Feature Issues
AI chat not working
Problem: AI responses don’t stream or fail Solution:Check AI Configuration
Go to Settings → AI and verify:
- AI is enabled
- Provider is selected (OpenAI, Claude, or Ollama)
- API key is set (if using cloud providers)
Ollama not connecting
Problem: Ollama integration fails Solution:Performance Issues
App is slow or laggy
Problem: UI feels sluggish or unresponsive Solution:Performance Optimization
Performance Optimization
Large extension lists are slow
Problem: Scrolling through many items is laggy Solution:- Implement virtual scrolling for long lists
- Add search filtering to reduce visible items
- Check if pagination is working correctly
- Profile render performance in React DevTools
macOS-Specific Issues
Permission dialogs keep appearing
Problem: macOS asks for permissions repeatedly Solution: This happens when the app bundle identifier changes or the app is rebuilt:- Go to System Settings → Privacy & Security
- Remove SuperCmd from all permission lists
- Relaunch SuperCmd
- Grant permissions when prompted
- Restart the app
App crashes on macOS Sonoma
Problem: App crashes or freezes on macOS Sonoma (14.x) Solution:Getting Help
If you’re still stuck:- Search GitHub Issues — Check if someone else has reported the same problem: GitHub Issues
- Ask on Discord — Join our Discord server for real-time help
-
Create an Issue — If it’s a bug, create a new issue with:
- macOS version
- Node.js version (
node -v) - SuperCmd version
- Steps to reproduce
- Console logs (if available)
- Screenshots (if relevant)
- Check Documentation — Read CLAUDE.md for architecture details
Next Steps
- Learn about Contributing to SuperCmd
- Understand Code Organization
- Review Testing strategies