Error Code Portal
Node.jsNode.jsError code

ERR_PACKAGE_PATH_NOT_EXPORTED

package path not exported

Code ERR_PACKAGE_PATH_NOT_EXPORTED · An issue reported by Node.js.

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.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.