Skip to content
JS
Node.js error

ERR_PACKAGE_PATH_NOT_EXPORTED

The package.json "exports" field does not export the requested subpath. Because exports are encapsulated, private internal modules that are not exported cannot be imported through the package resolution, unless using an absolute URL.

Reference entryNode.jsFetched

Node.js documentation lists the code ERR_PACKAGE_PATH_NOT_EXPORTED without the printed message text.

Category
Node.js error codes
Severity
error
Runtime
node
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: Node.js documentation. Data fetched 2026-09-25T01:43:12.380Z.