Common Issues
Quick solutions for frequently encountered problems.
App Won't Launch
Symptom: The app opens briefly then closes, or shows a blank window.
Solutions:
- macOS Gatekeeper: Right-click the app → Open (bypasses first-launch block)
- Corrupted state: Delete
~/.config/crab-desktop/and relaunch - GPU issues: Launch with
--disable-gpuflag to skip WebGL rendering - Port conflict: Another Electron app may hold a debug port. Close other Electron apps and retry.
Blank White Screen
Symptom: The window opens but shows nothing.
Solutions:
- Press
Cmd+Shift+Ito open DevTools — check the Console for errors - If you see "Failed to fetch dynamically imported module", the app auto-reloads once. If it persists, clear cache: Settings → Reset → Clear State & Reload
- Try
Cmd+Rto reload the window
Operations Hang or Time Out
Symptom: Clone, push, or hydrate operations never complete.
Solutions:
- Check network connectivity
- Verify cloud credentials haven't expired (Settings → Storage)
- Check the Health view for agent status — if the agent crashed, it auto-restarts within 30 seconds
- Cancel the operation (click the × in the Progress Drawer) and retry
"Stale Hunk" Error When Staging
Symptom: Staging a hunk fails with "stale hunk anchor" error.
Cause: The file was modified after the diff was loaded (by another tool, auto-formatter, or file watcher).
Solution: Click Refresh in the Changes view toolbar to reload the diff, then stage again.
Commit Button Disabled
Symptom: The Commit button is greyed out.
Check the readiness indicator:
- No staged changes → stage files first
- Empty commit message → enter a message
- Merge conflict unresolved → resolve in the Conflicts view
File Tree Not Updating
Symptom: Files created or deleted externally don't appear.
Solutions:
- Click Refresh in the Explorer toolbar
- Check that the file isn't in an ignored directory (
.gitignore,node_modules/) - Verify the file watcher is enabled: Settings → Workspace → File Watcher
Forge Features Missing (No PR View)
Symptom: The Pull Requests view doesn't appear in the activity bar.
Cause: No forge provider detected for the repository.
Solutions:
- Ensure the repo has a remote URL pointing to GitHub, GitLab, or Bitbucket
- Configure authentication: Settings → Integrations
- Check that the remote is reachable:
git ls-remote origin
Terminal Shows Wrong Shell or Missing Tools
Symptom: Terminal doesn't have your usual PATH, or tools like node, python aren't found.
Cause: GUI apps on macOS don't inherit your shell's PATH.
Solutions:
- The app resolves your login shell PATH on startup. If you recently installed tools, restart the app.
- Check that your tools are in standard locations (
~/.cargo/bin,/opt/homebrew/bin,~/.local/bin) - For nvm/mise users: the app detects these automatically, but a restart may be needed after first install.
Auto-Update Fails
Symptom: Update banner appears but download fails or app doesn't restart.
Solutions:
- Download the latest version manually from crab.build/desktop
- On macOS: ensure the app is in
/Applications(not running from DMG) - On Linux AppImage: ensure the file is writable (auto-update replaces the file in place)