mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
update inquirer to v9.x for better windows support
This commit is contained in:
@@ -58,7 +58,7 @@ class ClaudeCodeSetup extends BaseIdeSetup {
|
||||
|
||||
if (config.subagentChoices.install !== 'none') {
|
||||
// Ask for installation location
|
||||
const inquirer = require('inquirer');
|
||||
const inquirer = require('inquirer').default || require('inquirer');
|
||||
const locationAnswer = await inquirer.prompt([
|
||||
{
|
||||
type: 'list',
|
||||
@@ -306,7 +306,7 @@ class ClaudeCodeSetup extends BaseIdeSetup {
|
||||
choices = await this.promptSubagentInstallation(config.subagents);
|
||||
|
||||
if (choices.install !== 'none') {
|
||||
const inquirer = require('inquirer');
|
||||
const inquirer = require('inquirer').default || require('inquirer');
|
||||
const locationAnswer = await inquirer.prompt([
|
||||
{
|
||||
type: 'list',
|
||||
@@ -343,7 +343,7 @@ class ClaudeCodeSetup extends BaseIdeSetup {
|
||||
* Prompt user for subagent installation preferences
|
||||
*/
|
||||
async promptSubagentInstallation(subagentConfig) {
|
||||
const inquirer = require('inquirer');
|
||||
const inquirer = require('inquirer').default || require('inquirer');
|
||||
|
||||
// First ask if they want to install subagents
|
||||
const { install } = await inquirer.prompt([
|
||||
|
||||
Reference in New Issue
Block a user