With recent NPM and node updates, for example node 12.18.0 and npm 6.14.4, there is a more strict check on the package.json.
Error [ERR_INVALID_PACKAGE_TARGET] [ERR_INVALID_PACKAGE_TARGET]: Invalid "exports" main target "MemoryStorage" defined in the package config /var/www/restref-site/node_modules/memorystorage/package.json; targets must start with "./"
This prevents the use of this package.
With recent NPM and node updates, for example
node 12.18.0andnpm 6.14.4, there is a more strict check on thepackage.json.This prevents the use of this package.