Invalid exports in package.json
Closed this issue · 3 comments
matthemsteger commented
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.
Download commented
PR welcome!
Download commented
@CorentinMinne Great work and welcome on board!
I leave it to you to merge and create a new release.