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 56b9aad commit e0a8252Copy full SHA for e0a8252
doc/api/modules.md
@@ -479,7 +479,7 @@ folders as modules, and work for both `require` and `import`.
479
480
If the module identifier passed to `require()` is not a
481
[core](#core-modules) module, and does not begin with `'/'`, `'../'`, or
482
-`'./'`, 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
483
adds `/node_modules`, and attempts to load the module from that location.
484
Node.js will not append `node_modules` to a path already ending in
485
`node_modules`.
0 commit comments