4.8 KiB
Troubleshooting Guide - Technical Writing Expansion Pack
Common issues and solutions for the BMad Technical Writing Expansion Pack.
Installation Issues
Issue: "Expansion pack not found"
Symptom: Cannot activate agents, "bmad-technical-writing not found" error
Cause: Expansion pack not installed or not in correct location
Solution:
# Verify installation
ls ~/.bmad-method/expansion-packs/bmad-technical-writing
# If missing, reinstall
npx bmad-method install
# Select "Technical Book Writing Studio"
Issue: "Dependencies not resolving"
Symptom: Agent activation fails with missing template/task errors
Cause: Incomplete installation or corrupted files
Solution:
# Reinstall expansion pack
npx bmad-method install --force
Agent Activation Issues
Issue: "Agent not responding"
Symptom: Agent activates but doesn't respond to commands
Cause: AI context limit reached or agent definition not loaded
Solution:
- Check agent loaded correctly (should show persona description)
- Try
*helpcommand to see available commands - If still unresponsive, re-activate agent
Issue: "Commands not recognized"
Symptom: Agent doesn't recognize *command-name
Cause: Typo in command or command doesn't exist for this agent
Solution:
- Run
*helpto see valid commands for current agent - Check command spelling (commands are case-sensitive)
- Verify you're using correct agent for the task
Issue: "Agent dependencies missing"
Symptom: Agent can't find templates, tasks, or checklists
Cause: Files not in expected location
Solution:
# Verify file structure
ls expansion-packs/bmad-technical-writing/templates/
ls expansion-packs/bmad-technical-writing/tasks/
ls expansion-packs/bmad-technical-writing/checklists/
Workflow Execution Issues
Issue: "Workflow fails at step X"
Symptom: Workflow stops mid-execution with error
Cause: Missing prerequisite or validation failure
Solution:
- Check workflow prerequisites (see workflow YAML file)
- Verify previous steps completed successfully
- Review quality gates - ensure they passed
Issue: "Inputs not accepted"
Symptom: Workflow rejects provided inputs
Cause: Invalid format or missing required fields
Solution:
- Check template requirements (see template YAML file)
- Ensure all required fields provided
- Verify format matches expected structure
Issue: "Outputs not produced"
Symptom: Workflow completes but output file not created
Cause: File path issue or write permissions
Solution:
# Check directory exists
mkdir -p docs/planning docs/sections docs/chapters
# Check write permissions
ls -la docs/
Build/Validation Errors
Issue: "npm run validate fails"
Symptom: Validation command reports errors
Cause: Invalid YAML syntax or missing required fields
Solution:
# See specific errors
npm run validate
# Common fixes:
# - Check YAML indentation (use spaces, not tabs)
# - Verify all required fields present
# - Check for typos in agent/workflow references
Issue: "YAML syntax error"
Symptom: Parse error when loading configuration
Cause: Invalid YAML formatting
Solution:
- Check indentation (2 spaces per level)
- Verify no tabs used (YAML requires spaces)
- Check quotes around special characters
- Use YAML validator online
Integration Issues
Issue: "Conflicts with core BMad"
Symptom: Agents or commands conflict
Cause: Name collision or incompatible versions
Solution:
- Use full agent IDs:
/bmad-tw:agent-name - Update both core and expansion pack to latest versions
Issue: "Multi-expansion conflicts"
Symptom: Multiple expansion packs interfere with each other
Cause: Agent name collisions
Solution:
- Use full qualified names:
/bmad-tw:agentvs/bmad-cw:agent - Activate only needed agents
General Troubleshooting Tips
Check Logs
# View debug logs if available
cat .ai/debug-log.md
Verify Installation
# Check all required files present
npm run validate
Update to Latest Version
# Pull latest changes
git pull origin main
# Rebuild
npm run build
Clear Cache
# Remove dist files and rebuild
rm -rf dist/
npm run build
Getting Help
If your issue isn't listed here:
-
Check Documentation
- User Guide - System overview
- FAQ - Common questions
-
Community Support
- Discord - Real-time help
- GitHub Discussions - Q&A
-
Report Bugs
- GitHub Issues - Bug reports
- Include: Error message, steps to reproduce, environment details
Troubleshooting Guide - Technical Writing Expansion Pack v1.1.0