question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React native: Veramo requires @mattrglobal/node-bbs-signatures which does not compile on RN (without expo)

See original GitHub issue

Bug severity 3

Describe the bug Trying to get Veramo running on React native, getting `Error: Unable to resolve module @mattrglobal/node-bbs-signatures`` Tried installing it explicit, but then it fails to compile with call to undefined module

To Reproduce Steps to reproduce the behaviour:

  1. Clone branch veramoProvider https://github.com/symfoni/identity-wallet/tree/veramoProvider
  2. npm install
  3. npm run ios
  4. See error: Error: Unable to resolve module @mattrglobal/node-bbs-signatures
  5. npm i @mattrglobal/node-bbs-signatures --save
  6. See error: Error: Requiring unknown module "undefined". If you are sure the module exists, try restarting Metro. You may also want to run yarnornpm install. VeramoProvider@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.identityWallet:263487:41 ContextProvider@http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.identityWallet:139237:41 See image below.

Observed behaviour A clear and concise description of what you observe.

Expected behaviour Could BBS-signatures be optional? Else, any had this issue before and a way to either get it working or circumvent it for now.

Details Error without BBS signatures 12-08-2021 at 13 26 00 Error after installing BBS signatures 12-08-2021 at 13 36 21

Versions (please complete the following information):

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
RobertoSnapcommented, Aug 24, 2021

We are useing @veramo/did-provider-key for some services and without it we cant resolves does DIDs in the react native client. So its actually a blocker for us.

We could port those services to Ethr, but have a problem there as described in https://github.com/uport-project/veramo/issues/677

1reaction
mirceaniscommented, Aug 12, 2021

This is strange. That dependency should not be required in this version of veramo. Can you list the dependencies and devdependencies you have in package.json? Nevermind, I saw you linked your source. We’ll take a look

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building React Native Apps — Expo or not?
1. Fastest way to build React Native Apps · 2. You don't need to know Native Mobile coding · 3. No Xcode, No...
Read more >
react native project not build on MacBook M1 - expo
I found one solution. Firstly I clean project and install everything again, then start building. Commands: watchman watch-del-all && rm -rf ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found