Both of these import methods are throwing the error message ERR_PACKAGE_PATH_NOT_EXPORTED
import eachDeep from 'deepdash-es/eachDeep';
and
import {eachDeep} from 'deepdash-es/standalone';
Details:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './standalone' is not defined by "exports" in ...node_modules/deepdash-es/package.json
$ node --version
v14.17.4
$ yarn --version
1.22.11
$ npm --version
7.21.1
$ npx tsc --version
Version 4.4.3
It's obviously not a problem with deepdash but a problem with npm's new export interface and compatibility. But it is a barrier to using deepdash.
Both of these import methods are throwing the error message
ERR_PACKAGE_PATH_NOT_EXPORTEDand
Details:
It's obviously not a problem with deepdash but a problem with npm's new
exportinterface and compatibility. But it is a barrier to using deepdash.