The error message
is typical to the mongo shell javascript interpreter.
Most likely scenario, he did a first mongo -nodb or mongosh --nodb and then try to start mongod at the mongo or mongosh prompt. He has to exit the current javascript interpreter and return to the bash interpreter from the in browser IDE.
It is specific to the M103 course and it is best to have this discussion over there.