Readline-sync works then doesn't

const readline = require(‘readline-sync’);
undefined
let name = readline.question("What’s your name? ");
What’s your name? undefined
let age = readline.question("What’s your age? ");
TypeError: readline.question is not a function

Never mind, my confusion over a node command line and terminal.