bug: Claude Code process exited with code 1 #366

Closed
opened 2025-10-14 15:51:00 -06:00 by navan · 0 comments
Owner

Originally created by @matt-shearing on 7/6/2025

Description

All AI-powered features in TaskMaster fail with "Claude Code process exited with code 1" error after updating to v0.19.0. This affects task complexity analysis, subtask generation, and all other AI text generation features.

Steps to Reproduce

  1. Initialize TaskMaster in a project
  2. Setup as stdio MCP in Claude Code
  3. Configure models using task-master models --setup (shows successful configuration)
  4. Run any AI-powered command via MCP in Claude Code: - mcp__taskmaster__analyze_project_complexity --ids "25,26" --projectRoot "/path/to/project"
    • mcp__taskmaster__expand_task --id "26" --num "3" --projectRoot "/path/to/project"
  5. All commands fail with the same error

Expected Behavior

AI models should generate text successfully for task analysis, expansion, and other AI-powered features.

Actual Behavior

All AI text generation fails immediately with:

Error: Claude Code API error during text generation: Claude Code process exited with code 1
Version: 0.19.0
Name: task-master-ai
Current Tag: phase-2

Environment

  • Task Master version: 0.19.0
  • Node.js version: v24.3.0
  • Operating system: Linux 6.15.4-zen2-1-zen
  • IDE (if applicable): Claude Code (interacting via MCP)

Additional Context

  • Started after v0.19.0 update
  • Using Claude Code via CLI
  • Models are accessed through the new Claude Max functionality (ie not using the Anthropic API keys, but my Claude Max sub)
  • Claude Code shows as properly configured with API keys available in task-master models (both CLI and MCP)
  • Non-AI functions work normally (get_tasks, set_task_status, etc.)
  • Affects all AI-powered functions: analyze_project_complexity, expand_task, parse_prd, add_task, update_task
*Originally created by @matt-shearing on 7/6/2025* ### Description All AI-powered features in TaskMaster fail with "Claude Code process exited with code 1" error after updating to v0.19.0. This affects task complexity analysis, subtask generation, and all other AI text generation features. ### Steps to Reproduce 1. Initialize TaskMaster in a project 2. Setup as stdio MCP in Claude Code 3. Configure models using `task-master models --setup` (shows successful configuration) 4. Run any AI-powered command via MCP in Claude Code: - `mcp__taskmaster__analyze_project_complexity --ids "25,26" --projectRoot "/path/to/project"` - `mcp__taskmaster__expand_task --id "26" --num "3" --projectRoot "/path/to/project"` 4. All commands fail with the same error ### Expected Behavior AI models should generate text successfully for task analysis, expansion, and other AI-powered features. ### Actual Behavior All AI text generation fails immediately with: ``` Error: Claude Code API error during text generation: Claude Code process exited with code 1 Version: 0.19.0 Name: task-master-ai Current Tag: phase-2 ``` ### Environment - Task Master version: 0.19.0 - Node.js version: v24.3.0 - Operating system: Linux 6.15.4-zen2-1-zen - IDE (if applicable): Claude Code (interacting via MCP) ### Additional Context - Started after v0.19.0 update - Using Claude Code via CLI - Models are accessed through the new Claude Max functionality (ie not using the Anthropic API keys, but my Claude Max sub) - Claude Code shows as properly configured with API keys available in `task-master models` (both CLI and MCP) - Non-AI functions work normally (get_tasks, set_task_status, etc.) - Affects all AI-powered functions: analyze_project_complexity, expand_task, parse_prd, add_task, update_task
Sign in to join this conversation.
No labels
area:ai-models
area:ai-models
area:ai-models
area:ai-models
area:ai-models
area:ai-models
area:ai-models
area:ai-models
area:ai-models
area:ai-models
area:ai-models
area:ai-models
area:cli
area:cli
area:cli
area:cli
area:cli
area:cli
area:cli
area:cli
area:cli
area:cli
area:cli
area:cli
area:cli
area:cli
area:installation
area:installation
area:installation
area:installation
area:installation
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:mcp
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:task-management
area:vscode-extension
area:vscode-extension
area:vscode-extension
area:vscode-extension
area:vscode-extension
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
documentation
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
feedback
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
good first issue
help wanted
help wanted
help wanted
help wanted
help wanted
high-priority
high-priority
high-priority
high-priority
high-priority
high-priority
high-priority
high-priority
high-priority
high-priority
high-priority
high-priority
high-priority
integration request
integration request
integration request
integration request
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
low-priority
low-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
medium-priority
provider:anthropic
provider:anthropic
provider:claude-code
provider:claude-code
provider:claude-code
provider:claude-code
provider:claude-code
provider:claude-code
provider:claude-code
provider:claude-code
provider:claude-code
provider:claude-code
provider:claude-code
provider:gemini-cli
provider:openai
provider:perplexity
question
question
question
question
question
question
question
question
question
question
question
question
question
question
refactor
refactor
wontfix
wontfix
wontfix
wontfix
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/claude-task-master#366
No description provided.