vats360
vats360

Reputation: 31

MongoDB Shell SyntaxError: unexpected token: string literal

enter image description here

I’m trying to connect to the sandbox for the MongoDB University into course, but keep getting syntax errors when I use the copied command from Atlas to connect.

MongoDB Shell version 4.2.3 What can I do about this problem?

Upvotes: 0

Views: 996

Answers (1)

D. SM
D. SM

Reputation: 14480

The stuff you typed (which you should provide as text, not as image) is what you would type in a Linux shell like bash. When you type that you get the mongo shell opened (the MongoDB Enterprise > prompt). In the mongo shell prompt, you'd type whatever the next step of the tutorial is.

Upvotes: 1

Related Questions