MongoDB SyntaxError: missing ; before statement @(shell) January 4, 2024 by Tarik exit from mongoshell with quit() and try to run command in regular command prompt, it will work