Thanks to visit codestin.com Credit goes to github.com
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 b77e72a commit 20d9c4aCopy full SHA for 20d9c4a
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