[DOCS-9185] Comment on: "primer/import-data.txt" Created: 21/Oct/16  Updated: 21/Oct/16  Resolved: 21/Oct/16

Status: Closed
Project: Documentation
Component/s: primer
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Docs Collector User (Inactive) Assignee: Allison Reinheimer Moore
Resolution: Done Votes: 0
Labels: bite-sized, collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

O.S Windows 10, MongoDB v3.2

Location: https://docs.mongodb.com/getting-started/shell/import-data/
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Referrer: https://docs.mongodb.com/getting-started/shell/aggregation/
Screen Resolution: 1366 x 768


Participants:
Days since reply: 7 years, 16 weeks, 5 days ago
Story Points: 0.25

 Description   

When I try import data primer-dataset.json in mongo.exe it didn't work.
The error message is "SyntaxError: missing ; before statement @(shell):1:14"



 Comments   
Comment by Allison Reinheimer Moore [ 21/Oct/16 ]

Thanks for your ticket! You need to run mongoimport from a system shell (Command Prompt or Powershell on Windows), not from within the mongo.exe shell – sorry for the confusion!

Generated at Thu Feb 08 07:57:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.