Hanging on 2 prompts
Creative-Difficulty opened this issue · 1 comments
Creative-Difficulty commented
I*m using a M2 Pro MacBook Pro and this code (ran with bun) doesn't work:
import inquirer from "inquirer";
const uuidToModify = await inquirer.prompt([{
type: "list",
name: "uuid",
message: "Select user's UUID to modify permissions of:",
choices: ["1", "12", "324"]
}]);
const editConfirmation: { edit_access_confirmation: boolean } = await inquirer.prompt([{
type: "confirm",
name: "edit_access_confirmation",
message: `Are you sure you want to change API access permission for uuid ${uuidToModify.uuid}?`,
}]);
console.log("ok");
"ok" never gets logged
SBoudrias commented
Try running it with Node. If it works, then open a bug against Bun I guess?