Error Code Portal
Node.jsNode.jsError code

ERR_PACKAGE_MAP_KEY_NOT_FOUND

package map key not found

Code ERR_PACKAGE_MAP_KEY_NOT_FOUND · An issue reported by Node.js.

A package's dependencies object in the package map references a package key that is not defined in the packages object. In this example, "nonexistent" is referenced as a dependency target but not defined in packages, which will throw this error. To fix this error, ensure all package keys referenced in dependencies values are defined in the packages object.

Troubleshooting and diagnostic links

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