-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area:cliCLI functionalityCLI functionalityarea:installationInstallation and setup issuesInstallation and setup issuesenhancementNew feature or requestNew feature or requestmedium-priorityImportant but not urgentImportant but not urgent
Description
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-masterwith 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
- feat: Hamster Integration - Cloud Storage, Sentry Telemetry, and Major CLI UX Improvements #1452 - PR that introduced the bug
- Running task-master with no arguments throws 'loadTUI is not defined' error #1589 - Bug report
- fix: Add missing loadTUI function for no-argument invocation #1592 - Fix PR - please merge urgently
Metadata
Metadata
Assignees
Labels
area:cliCLI functionalityCLI functionalityarea:installationInstallation and setup issuesInstallation and setup issuesenhancementNew feature or requestNew feature or requestmedium-priorityImportant but not urgentImportant but not urgent