ERR_PACKAGE_PATH_NOT_EXPORTED


package.json"exports" 字段未导出所请求的子路径。由于导出是封装的,未导出的私有内部模块不能通过包解析进行导入,除非使用绝对 URL。

【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.】