diff --git a/doc/api/errors.md b/doc/api/errors.md index f9d75a8cf0726f..c152e86d0935f7 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2067,7 +2067,7 @@ signal (such as [`subprocess.kill()`][]). ### `ERR_UNSUPPORTED_DIR_IMPORT` -`import` a directory URL is unsupported. Instead, you can +`import` a directory URL is unsupported. Instead, [self-reference a package using its name][] and [define a custom subpath][] in the `"exports"` field of the `package.json` file.