-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Common issues and solutions when using DoPlan CLI.
Symptoms: Terminal cannot find the doplan command after installation.
Solutions:
-
Verify Installation:
# macOS/Linux which doplan # Windows where doplan
-
Check PATH:
- Ensure the binary location is in your PATH
-
macOS/Linux: Add to
~/.bashrc,~/.zshrc, or~/.profile - Windows: Add to System Environment Variables
-
Restart Terminal: Close and reopen your terminal after updating PATH
-
Verify Binary Location:
# macOS/Linux ls -la /usr/local/bin/doplan # Or check your installation directory
-
Reinstall: If still not found, reinstall using one of the methods in the Installation Guide
Symptoms: Cannot execute the binary due to permission errors.
Solutions:
-
Make Binary Executable:
chmod +x doplan
-
If Installed to System Location:
sudo chmod +x /usr/local/bin/doplan
-
Check File Permissions:
ls -la doplan # Should show: -rwxr-xr-x
Symptoms: Binary fails to run or shows architecture mismatch errors.
Solutions:
-
Check Your Architecture:
# macOS/Linux uname -m # Should show: x86_64 (Intel) or arm64 (Apple Silicon/ARM) # Windows echo %PROCESSOR_ARCHITECTURE%
-
Download Correct Binary:
-
macOS Intel:
doplan-darwin-amd64 -
macOS Apple Silicon:
doplan-darwin-arm64 -
Linux amd64:
doplan-linux-amd64 -
Linux arm64:
doplan-linux-arm64 -
Windows:
doplan-windows-amd64.exe
-
macOS Intel:
-
Use npx:
npxautomatically downloads the correct binary for your platform
Symptoms: brew install doplan fails or tap not found.
Solutions:
-
Update Homebrew:
brew update
-
Add Tap:
brew tap doplan-dev/cli
-
Check Tap:
brew tap list | grep doplan -
Try Installing Again:
brew install doplan
-
Check for Errors:
brew install doplan --verbose
Symptoms: go build fails with errors.
Solutions:
-
Check Go Version:
go version # Should be >= 1.23.0 -
Update Go if needed:
# macOS brew upgrade go # Or download from https://golang.org/dl/
-
Check Internet Connection: Building requires downloading dependencies
-
Clean Build:
go clean -cache go build -o doplan ./cmd/doplan
-
Verbose Build:
go build -v -o doplan ./cmd/doplan
Symptoms: npx @doplan-dev/cli fails to download or find binary.
Solutions:
-
Clear npm Cache:
npm cache clean --force
-
Check Internet Connection: First run requires downloading
-
Try Again:
npx @doplan-dev/cli
-
Check npm Version:
npm --version # Should be recent version -
Use Specific Version:
npx @doplan-dev/cli@latest
Symptoms: Binary exists but cannot be executed.
Solutions:
-
Check Permissions:
ls -la doplan
-
Make Executable:
chmod +x doplan
-
Check File Type:
file doplan # Should show: Mach-O binary or ELF binary
Symptoms: DoPlan CLI cannot create files or directories.
Solutions:
-
Check Directory Permissions:
ls -la . -
Fix Permissions:
chmod u+w . -
Check Disk Space:
df -h . -
Run with Appropriate Permissions: Ensure you have write access to the directory
Symptoms: IDE cannot access or read .cursor/ directory.
Solutions:
-
Check Directory Exists:
ls -la .cursor
-
Check Permissions:
ls -la .cursor/agents ls -la .cursor/commands
-
Fix Permissions:
chmod -R u+r .cursor
-
Verify IDE Access: Ensure your IDE has read access to the project directory
Symptoms: npx fails to download the binary.
Solutions:
-
Check Internet Connection:
ping github.com
-
Check npm Registry:
npm config get registry
-
Try Direct Download:
- Visit GitHub Releases
- Download binary manually
-
Check Firewall/Proxy: Ensure npm can access external resources
-
Use Alternative Method: Install via Homebrew, Scoop, or direct binary
Symptoms: npx download is very slow.
Solutions:
-
Check Network Speed: Test your internet connection
-
Use Alternative Method: Download binary directly from GitHub Releases
-
Check npm Registry: Use a faster registry if needed
-
Retry: Sometimes network issues are temporary
Symptoms: Typing /tell or other commands doesn't work in IDE.
Solutions:
-
Verify IDE Support: Ensure you're using a supported IDE:
- Cursor
- Claude Code
- Antigravity
- Windsurf
- Cline
- OpenCode
-
Check Configuration Files: Verify IDE configuration files exist:
ls -la .cursor
-
Restart IDE: Close and reopen your IDE
-
Check IDE Settings: Ensure AI features are enabled
-
See Configuration Guide: Check Configuration for specific setup
Symptoms: Agents don't appear or don't work.
Solutions:
-
Check Agent Files:
ls -la .cursor/agents/ # Should show 18 agent files -
Verify Agent Definitions: Check that agent files contain valid markdown
-
Check Command Files:
ls -la .cursor/commands/
-
Restart IDE: Sometimes IDE needs restart to load new files
-
Check IDE Logs: Look for errors in IDE console/logs
Symptoms: Commands don't execute or produce errors.
Solutions:
-
Check Command Files:
ls -la .cursor/commands/
-
Verify Command Syntax: Ensure commands are defined correctly
-
Check Project State:
cat .plan/active_state.json
-
Verify Dependencies: Ensure required files exist (IDEA.md, PRD.md, etc.)
-
Check IDE Compatibility: Ensure your IDE version supports the command system
Symptoms: DoPlan CLI fails to generate project.
Solutions:
-
Check Project Name:
- Use lowercase letters, numbers, and hyphens
- No spaces or special characters
-
Check Directory Permissions: Ensure you have write access
-
Check Disk Space: Ensure sufficient disk space
-
Check for Existing Directory: Ensure project name doesn't conflict
-
Try Again: Sometimes temporary issues occur
Symptoms: Some files or directories are missing.
Solutions:
-
Check Generation Logs: Look for error messages
-
Verify All Files:
ls -la .cursor/agents/ ls -la .cursor/commands/ ls -la .plan/
-
Regenerate: Delete project and regenerate
-
Check for Errors: Look for permission or disk space issues
Symptoms: Generated structure doesn't match expectations.
Solutions:
-
Check DoPlan CLI Version: Ensure you're using the latest version
-
Verify Generation: Check that generation completed successfully
-
Customize: You can modify the structure after generation
-
Report Issue: If structure is incorrect, open an issue
Solutions:
-
Check File Permissions: Ensure write access to
.plan/00_System/ -
Verify Directory Exists:
ls -la .plan/00_System/
-
Check State File:
cat .plan/active_state.json
-
Try Again: Sometimes temporary issues occur
Solutions:
-
Check Prerequisites: Ensure IDEA.md and BRAINSTORM.md exist
-
Verify Files:
ls -la .plan/00_System/
-
Check Permissions: Ensure write access
-
Try
/improveFirst: Ensure brainstorm is complete
Solutions:
-
Check Tasks Exist:
cat .plan/TASKS.md
-
Verify Plan Approved: Check
active_state.jsonforlocked: true -
Check Task ID: Ensure task ID exists if using
/build <task_id> -
Verify State:
cat .plan/active_state.json
Solutions:
-
Check Git Repository: Ensure project is a git repository
-
Check Git Configuration: Ensure git user.name and user.email are set
-
Check for Changes: Ensure there are changes to commit
-
Check Branch: Ensure you're on a valid branch
-
Manual Commit: You can commit manually if needed
To get more detailed error information:
-
Set Debug Environment Variable:
# macOS/Linux export DOPLAN_DEBUG=1 doplan # Windows set DOPLAN_DEBUG=1 doplan
-
Check Logs: Look for detailed error messages
DoPlan CLI may create log files in:
-
macOS/Linux:
~/.doplan/logs/ -
Windows:
%APPDATA%\doplan\logs\
# macOS/Linux
cat ~/.doplan/logs/doplan.log
# Windows
type %APPDATA%\doplan\logs\doplan.log-
Documentation:
- FAQ - Common questions
- Commands Reference - Command details
- Workflow Guide - Workflow details
-
Community:
- GitHub Issues - Report bugs and ask questions
- GitHub Discussions - Community discussions
-
Support:
- Check existing issues before creating new ones
- Provide detailed information when reporting issues
- Include error messages and logs
When reporting an issue, please include:
-
DoPlan CLI Version:
doplan --version
-
Platform Information:
# macOS/Linux uname -a # Windows systeminfo
-
Error Messages: Copy the full error message
-
Steps to Reproduce: Detailed steps to reproduce the issue
-
Expected Behavior: What you expected to happen
-
Actual Behavior: What actually happened
-
Logs: Include relevant log files (if available)
-
Screenshots: If applicable
Solution: Use lowercase letters, numbers, and hyphens only. No spaces or special characters.
Solution: Ensure you select a supported IDE from the list.
Solution: Check permissions and disk space.
Solution: Reinstall or use npx method.
Solution: Check prerequisites and file permissions.
- Installation - Installation guide
- FAQ - Frequently asked questions
- Commands Reference - Command details
- Configuration - IDE setup and configuration
- Home - Wiki home page
Last Updated: 2025
Maintained By: Documentation Team