was missing require('repl')