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

npm install fails #65

Open
AlexAndrei98 opened this issue Nov 28, 2022 · 3 comments
Open

npm install fails #65

AlexAndrei98 opened this issue Nov 28, 2022 · 3 comments

Comments

@AlexAndrei98
Copy link

After doing an npm install and adding the boilerplate code to the App file I get the following error:

TypeError: null is not an object (evaluating 'DIDCommResolversProxyModule.getConstants')
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:17 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:141:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:39 in handleError
at node_modules/expo/build/errors/ExpoErrorManager.js:25:19 in errorHandler
at node_modules/expo/build/errors/ExpoErrorManager.js:30:24 in <anonymous>
at node_modules/@react-native/polyfills/error-guard.js:49:36 in ErrorUtils.reportFatalError
at node_modules/metro-runtime/src/polyfills/require.js:203:40 in guardedLoadModule
at http://192.168.1.71:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false:null in global code

It looks like it is complaining that DIDCommResolversProxyModule is not getting found

@dmitry-vychikov
Copy link
Contributor

@AlexAndrei98

Did you try steps mentioned here? https://docs.expo.dev/workflow/using-libraries/#installing-a-third-party-library

Like

npx expo install @sicpa_open_source/didcomm-react-native

@AlexAndrei98
Copy link
Author

@dmitry-vychikov I gave it a try but now I am having issues with ⠦ Couldn't install: didcomm-react-native » DidcommSDK. Updating the Pods project and trying again... which I saw that someone opened an issue here but seems like that they passed forward.

@emenocal07
Copy link

I added the following line to podfile and worked just fine:

source 'https://github.com/sicpa-dlab/didcomm-rust.git'
   pod 'DidcommSDK', '0.3.4'

Now stucked here like @Yorik0512 last year:

 LOG  Resolvers unregistered: 4afc3a26-8b76-4edf-86df-64613e0d4857
 LOG  [Error: The operation couldn’t be completed. (DidcommSDK.ErrorKind error 2.)]

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

3 participants