openwallet-foundation / bifold-wallet

Aries Mobile Agent React Native - Part of the Aries Bifold effort to provide SSI capabilities in a production ready app.
Apache License 2.0
143 stars 134 forks source link

React dependencies broken in package.json file #669

Closed HiraSiddiqui closed 1 year ago

HiraSiddiqui commented 1 year ago

Steps to reproduce

  1. Follow the installation instructions
git clone https://github.com/hyperledger/aries-mobile-agent-react-native
cd aries-mobile-agent-react-native
npm install
  1. When you do npm install, the following error will be displayed
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: aries-bifold-app@0.0.1
npm ERR! Found: indy-sdk-react-native@0.2.2
npm ERR! node_modules/indy-sdk-react-native
npm ERR!   indy-sdk-react-native@"^0.2.2" from aries-bifold-app@0.0.1
npm ERR!   app
npm ERR!     aries-bifold-app@0.0.1
npm ERR!     node_modules/aries-bifold-app
npm ERR!       workspace app from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer indy-sdk-react-native@"^0.3.0" from @aries-framework/react-native@0.3.3
npm ERR! node_modules/@aries-framework/react-native
npm ERR!   @aries-framework/react-native@"^0.3.2" from aries-bifold-app@0.0.1
npm ERR!   app
npm ERR!     aries-bifold-app@0.0.1
npm ERR!     node_modules/aries-bifold-app
npm ERR!       workspace app from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\xxx\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\xxx\AppData\Local\npm-cache\_logs\2023-03-20T08_28_25_474Z-debug-0.log
  1. Node version installed on the system is 16.15.0
  2. Npm version installed on the system is 8.5.5
cvarjao commented 1 year ago

We have switched to yarn and we are no longer using npm, please check the latest DEVELOPER.md file.