In the context of Inquirer.js, one of my question-prompts involves a validation function to check if the user-supplied Github username exists. This va ...
In the context of Inquirer.js, one of my question-prompts involves a validation function to check if the user-supplied Github username exists. This va ...
I'm trying to mock method inquirer.prompt in a unit testing, which has several questions (in the example I put only two examples). I need to reach ...
I have a basic function im trying to run with node js and inquirer, and when i run it console log gives me this error. TypeError: inquirer.createPromp ...
I'm making a README generator for a school project, and my inquirer prompts are all functioning fine, but when I call the data from this prompt: { ...
I don't know why am I getting the following error which say: Error: Debug Failure. False expression: Non-string value passed to `ts.resolveTypeRefere ...
I am attempting to write a command line app that uses inquirer to display and eventually update a mysql database. My db files appear to be in order wh ...
I have an array of changes to apply to the database and for every change I need user confirmation. Therefore I'm using inquirer js to ask the user if ...
. Answers to this question are eligible for a +50 reputation bounty. Vi ...
This code comes from an inquirer statement. The roleID, val.firstname, and val.lastName are good variables because they are tested elsewhere in the ...
I am attempting to create a command line interface that prompts users to enter or retrieve data from a database. So far the only methods I have writt ...
I am trying to figure out how to use a function to return choices in an inquirer prompt but I can't seem to find any examples or explanations on how t ...
I'm using this code in a nodejs script to push some elements inside an array for list question type of inquirerjs. for (let [index, torrent] of resul ...
I'm using inquirer.js to create a simple prompt for a CLI script. I'm trying to set a variable value inside a switch statement then use this variariab ...
I"m using inquirer.js to build a commandline employee database. Is it possible to populate the choices array dynamically from a sql database in inquir ...
I am running a Node.js script in Linux that prompts (via lib) user for a code. I get the process id of the script: and then pass it the code with a ...
Here is the code in question: The problem that I'm running into is that it is attempting to open/start scriptsPath/Hotfix.sql before anything has b ...
I'm trying to pull in SQL query results and populate choices in inquirer prompt. When console logging 'choices,' it displays an array of objects from ...
I was wondering if anybody could help me out with an explanation as to why the below code would cause the command line to exit without waiting for an ...
const inquirer = require("inquirer") var questions = [ { type: "number", name: "name", message: "Please the number of players", val ...
I want to user commander.js and inquirer.js to ask questions and collect the answer to create a User instance: When I run it with node index.js ad ...