ipfs / ipfs/js-stores

Unable to use in React Native application, because package.json missing from exports

Open
#230 1 comment 1 reaction 0 assignees View on GitHub
need/triage
Dominant language
TypeScript
Stars
38
Forks
27
PR merge metrics
No merged PRs in 30d

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"
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.