npm install fails right after a fresh clone of the repository:
$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: Voiceit-React-Native-Demo@1.0.2
npm ERR! Found: react@16.13.1
npm ERR! node_modules/react
npm ERR! react@"16.13.1" from the root project
npm ERR! peer react@"^16.8.1" from react-native-voiceit@1.3.0
npm ERR! node_modules/react-native-voiceit
npm ERR! react-native-voiceit@"1.3.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"17.0.1" from react-native@0.64.1
npm ERR! node_modules/react-native
npm ERR! react-native@"0.64.1" 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 /home/daniel/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/daniel/.npm/_logs/2022-03-21T13_54_30_146Z-debug-0.log
npm install
fails right after a fresh clone of the repository:This is with version 1.0.2 (according to
package.json
) and release 1.1 (according to https://github.com/voiceittech/VoiceIt2-React-Native-Demo/releases).npm: 8.5.0