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 configuration reported #76

Closed
pke opened this issue Nov 4, 2022 · 1 comment
Closed

Invalid configuration reported #76

pke opened this issue Nov 4, 2022 · 1 comment

Comments

@pke
Copy link

pke commented Nov 4, 2022

I am getting this error when bundling my app

Package pretty-bytes has been ignored because it contains invalid configuration. 
Reason: Package subpath './package.json' is not defined by "exports" in /.../app/node_modules/pretty-bytes/package.json

Not sure if its related to this library or my project setup?

@sindresorhus
Copy link
Owner

This is a problem with your bundler. It should not depends on package.json being exported.

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2022
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