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

added the package json to exports as it was causing trouble in react … #2043

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haroonzuberi
Copy link

I have got this issue several times in my react-native app while using this package. So, I added the path in my package.json exports to make it work.

_warn Package nft.storage has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Volumes/workplace/www/sandyapps/blockchain/qdex/mobile/node_modules/nft.storage/package.json

@alanshaw
Copy link
Member

alanshaw commented Jul 1, 2022

Why are you trying to import the package.json?

@haroonzuberi
Copy link
Author

haroonzuberi commented Jul 1, 2022 via email

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 this pull request may close these issues.

None yet

2 participants