Unable to use in React Native application, because package.json missing from exports
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- react-native, typescript
- Domain
- build-system, mobile
Research direction
Locate blockstore-core's package.json and inspect its existing exports map. Add the package.json subpath described in the issue, then verify that a React Native build no longer reports the invalid configuration warning.
Written by the indexing model from the issue text.
Description
When trying to build a React Native application, we get the following warning.
warn Package blockstore-core has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /home/arnold/Projects/ltonetwork/universal-wallet/node_modules/blockstore-core/package.json
This can be solved by adding an export to package.json
"exports": {
...
"./package.json": "./package.json"
}
- Dominant language
- TypeScript
- Stars
- 39
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ipfs/js-stores
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
need/triage
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
need/triage
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
feat: create new core data & blockstore that acts as a cache/buffered storeMay be free again @SgtPooki claimed this 1046 days ago, and no pull request is open. Opendif/medium effort/days kind/enhancement P1 status/in-progress
-
datastore-idb .query doesn't work as expectedMay be free again A pull request for this issue was closed without being merged. Openkind/bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
area:cli area:security bug priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
"code source" and "numerique.gouv" links: "new window" mention duplicated in the accessible nameOpenaccessibility
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
numerique-gouv/lasuite-landingpage#315 ·
Maintainers usually reply within 1 day
-
needs:triage
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
HyeokjaeChoi/vaultme#585 ·
Maintainers usually reply within 1 day
-
enhancement priority/P2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
beettlle/pi-smart-router#200 ·