I'm trying to start repl with following configuration: repl.start({prompt: '>' ,useGlobal: true, tty: true});