I am trying to work through exercises in Mongodb university. One of the issues I came across is that when I use mongosh it always gives me an Syntax error, please see below:
mongod --port 27000
SyntaxError: Unexpected token, expected “;” (1:9)
1 | mongod --port 27000
Does anyone know how to fix it? The customer support is not helping at all except for suggesting to post a question on this forum.