openwallet-foundation/credo-ts

Cannot find module '@aries-framework/react-native'

Pratik-1001 opened this issue · 4 comments

After running the installation steps I am receiving this error in react-native.
Screenshot 2024-04-08 at 1 11 21 PM

Did you add it to your package.json and ran npm/yarn install?

@TimoGlastra I have followed these instructions for React-Native
https://credo.js.org/guides/getting-started/set-up/aries-askar
Screenshot 2024-04-08 at 4 03 25 PM

Aries askar is a package you can setup, but you also need to follow general getting started guide: https://credo.js.org/guides/getting-started/set-up

Error is resolved after this step

yarn add @aries-framework/core@^0.4.0 @aries-framework/react-native@^0.4.0 react-native-fs react-native-get-random-values

mentioned in the above link.
Thanks @TimoGlastra !