I Have Been trying to run a simple program
const prompt = require('prompt-sync')({sigint: true});
let me = prompt('Name :');
console.log(me);
Expected output
Name : [input]
But it just gets stuck and hangs (have a glitch) at Name : and not accepting any input
Any Solution to this?
I Have Been trying to run a simple program
const prompt = require('prompt-sync')({sigint: true});
let me = prompt('Name :');
console.log(me);
Expected output
Name : [input]
But it just gets stuck and hangs (have a glitch) at Name : and not accepting any input
Any Solution to this?