Issue when running
Peyoway opened this issue · comments
Peyo commented
Cyril Auburtin commented
Can you add some repro code?
Tony Zimbinski commented
Occurs for me too. I'm running via the Replit.com environment, but that shouldn't make a difference.
var prompt = require('prompt');
//
// Start the prompt
//
prompt.start();
//
// Get two properties from the user: username and email
//
prompt.get(['username', 'email'], function (err, result) {
//
// Log the results.
//
console.log('Command-line input received:');
console.log(' username: ' + result.username);
console.log(' email: ' + result.email);
});