Repository navigation
Commit 9463123
Raise the Node.js floor to match the driver it tells you to install (#162)
* Raise the Node.js floor to match the driver it tells you to install
The Node.js quick start listed 'Node.js 18 or later' as its prerequisite
and then ran an unpinned 'npm install mongodb'. The current driver
requires Node >=20.19, so a reader on 18 satisfies the documented
prerequisite and then fails at install time with an engine error.
The same floor was corrected in documentdb/docs; this is the website-owned
copy of the same page.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f18515db-c52f-4197-aa50-d81359c7c763
Signed-off-by: Guanzhou Song <guanzhou.song@gmail.com>
* Stop recommending a documented no-op, and finish the sample-data fix
Two findings from the second review pass, both verified against the
shipped image.
The Docker troubleshooting list and the getting-started index both told
readers to restart with --log-level debug for more detail. The site's own
DocumentDB Local page documents that flag as a known issue: the value is
validated at startup but does not change what the container logs, and
DOCUMENTDB_LOG_LEVEL is the control that works. The advice was also
impossible as written for a second reason -- docker restart cannot change
a container's arguments or environment. Point at the env var and say the
container has to be re-created.
The previous round corrected the sample-data claim on the Docker and
mongosh guides but left the Python and VS Code guides saying 'if you
started with DocumentDB Local sample data'. Neither page's docker run
includes --init-data true, so that condition is never true for someone
following those pages, and the reader is left unsure whether an empty
result is a mistake. State that it is opt-in, as the other two guides now
do.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f18515db-c52f-4197-aa50-d81359c7c763
Signed-off-by: Guanzhou Song <guanzhou.song@gmail.com>
---------
Signed-off-by: Guanzhou Song <guanzhou.song@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f18515db-c52f-4197-aa50-d81359c7c7631 parent 01e98fb commit 9463123
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | | - | |
| 540 | + | |
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
| |||
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
741 | | - | |
| 741 | + | |
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
| |||
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
1028 | | - | |
| 1028 | + | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
| |||
0 commit comments