-
Notifications
You must be signed in to change notification settings - Fork 329
Closed
Labels
bugSomething isn't workingSomething isn't workingcompiler:coreIssues for @typespec/compilerIssues for @typespec/compiler
Description
Describe the bug
tsp init crashes with the following error message:
TypeError: theme.style.keysHelpTip is not a function
at file:///usr/local/lib/node_modules/@typespec/compiler/node_modules/@inquirer/checkbox/dist/index.js:176:34
at file:///usr/local/lib/node_modules/@typespec/compiler/node_modules/@inquirer/core/dist/lib/create-prompt.js:81:38
at store.handleChange (file:///usr/local/lib/node_modules/@typespec/compiler/node_modules/@inquirer/core/dist/lib/hook-engine.js:23:17)
at cycle (file:///usr/local/lib/node_modules/@typespec/compiler/node_modules/@inquirer/core/dist/lib/hook-engine.js:25:19)
at file:///usr/local/lib/node_modules/@typespec/compiler/node_modules/@inquirer/core/dist/lib/create-prompt.js:79:13
at file:///usr/local/lib/node_modules/@typespec/compiler/node_modules/@inquirer/core/dist/lib/hook-engine.js:27:16
at AsyncLocalStorage.run (node:internal/async_local_storage/async_context_frame:63:14)
at withHooks (file:///usr/local/lib/node_modules/@typespec/compiler/node_modules/@inquirer/core/dist/lib/hook-engine.js:19:24)
at prompt (file:///usr/local/lib/node_modules/@typespec/compiler/node_modules/@inquirer/core/dist/lib/create-prompt.js:72:16)
at checkbox (file:///usr/local/lib/node_modules/@typespec/compiler/dist/src/init/prompts.js:4:12)
Reproduction
Freshly-installed @typespec/compiler, using node v24.11.1 on macOS Tahoe 26.1. No other typespec-related dependencies are installed on this system.
- Run
tsp init - select
Generic REST API - Provide an application name
- 💥
Checklist
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
buzztaiki, mozomig, mwesox and Realmonia
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcompiler:coreIssues for @typespec/compilerIssues for @typespec/compiler