diff --git a/doc/api/errors.md b/doc/api/errors.md index efbf47d6df4b8a..59aa688dc6051e 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2037,7 +2037,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.