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

compact.js module issue in React Native #494

Open
fowwest opened this issue Aug 24, 2022 · 1 comment
Open

compact.js module issue in React Native #494

fowwest opened this issue Aug 24, 2022 · 1 comment

Comments

@fowwest
Copy link

fowwest commented Aug 24, 2022

I integrated this library in my React Native app but the RN packager throws the following error when compiling the app bundle.

jsonld/lib/compact.js: Couldn't find a Program.

I tried with various node versions (v14, 16, etc.) as well as different jsonld package versions (2.0.2, 3.0.1, 5.2.0) but no luck.

Any help for fixing this issue would be much appreicated.

@dmitrizagidulin
Copy link
Contributor

@fowwest - try using our fork, https://github.com/digitalcredentials/jsonld.js (we're using it in React Native)

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