Skip to content

CRITICAL: 'task-master' with no arguments crashes for ALL users since v0.42.0 #1598

@bjcoombs

Description

@bjcoombs

Summary

Every user who runs task-master without arguments gets a crash:

ReferenceError: loadTUI is not defined

This affects all installations since Nov 30, 2025 (PR #1452).

Root Cause

PR #1452 added a call to loadTUI() but never defined the function:

// Line 5257 in commands.js - calls undefined function
const tui = await loadTUI();

Impact

  • Who's affected: Everyone with version ≥0.42.0
  • When it started: Nov 30, 2025
  • First thing users try: task-master with no arguments → immediate crash

Fix

PR #1592 adds the missing loadTUI() function with graceful fallback to help.

This should be merged and released ASAP.

Follow-up Question

Once fixed, what should task-master (no args) do?

  • Show help? (current fix behavior)
  • Launch TUI? (requires bundling @tm/tui)

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions