Skip to content

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

Open
haroonzuberi wants to merge 1 commit intonftstorage:mainfrom
haroonzuberi:main
Open

added the package json to exports as it was causing trouble in react …#2043
haroonzuberi wants to merge 1 commit intonftstorage:mainfrom
haroonzuberi:main

Conversation

@haroonzuberi
Copy link
Copy Markdown

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
Copy Markdown
Contributor

alanshaw commented Jul 1, 2022

Why are you trying to import the package.json?

@haroonzuberi
Copy link
Copy Markdown
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.

2 participants