Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid exports in package.json #14

Closed
matthemsteger opened this issue Jun 4, 2020 · 3 comments · Fixed by #16
Closed

Invalid exports in package.json #14

matthemsteger opened this issue Jun 4, 2020 · 3 comments · Fixed by #16

Comments

@matthemsteger
Copy link

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
Copy link
Owner

PR welcome!

@Trukl
Copy link
Collaborator

Trukl commented Nov 4, 2020

here it is : #16

@Download
Copy link
Owner

Download commented Nov 6, 2020

@CorentinMinne Great work and welcome on board!
I leave it to you to merge and create a new release.

@Trukl Trukl linked a pull request Nov 6, 2020 that will close this issue
@Trukl Trukl closed this as completed Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants