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

Package "extract-files" exists but package.json "exports" does not include entry for "./public/extractFiles" #18

Closed
opusmagnum opened this issue May 1, 2021 · 2 comments

Comments

@opusmagnum
Copy link

Hi,

 npx snowpack dev --polyfill-node
...
[22:24:01] [snowpack] Package "extract-files" exists but package.json "exports" does not include entry for "./public/extractFiles".

The recommendation from Snowpack common errors page --
Package exists but package.json “exports” does not include entry :

If you see this error message, that means that you’ve imported a file path not allowed in the export map. If you believe this to be an error, reach out to the package author to request the file be added to their export map.

In my yarn.lock:

apollo-upload-client@^14.1.3:
...
  dependencies:
    ...
    extract-files "^9.0.0"

Node version: v14.16.1
Snowpack version: 3.3.6

Thanks in advance,
Alexander

@jaydenseric
Copy link
Owner

See jaydenseric/apollo-upload-client#257 (comment) . Hopefully issues like this will be resolved soon when I publish everything.

@jaydenseric
Copy link
Owner

Please check everything works ok now that extract-files v10 has been published, along with apollo-upload-client v15 (if that's how you were using it) 🙏

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

No branches or pull requests

2 participants