Return an error if launching the REPL fails