We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c2504a commit 4889a31Copy full SHA for 4889a31
doc/api/modules.md
@@ -481,7 +481,7 @@ folders as modules, and work for both `require` and `import`.
481
482
If the module identifier passed to `require()` is not a
483
[core](#core-modules) module, and does not begin with `'/'`, `'../'`, or
484
-`'./'`, then Node.js starts at the parent directory of the current module, and
+`'./'`, then Node.js starts at the directory of the current module, and
485
adds `/node_modules`, and attempts to load the module from that location.
486
Node.js will not append `node_modules` to a path already ending in
487
`node_modules`.
0 commit comments