I’ve just upgrade react-native version to 0.65.0-rc.3
I’m trying to install react-native-webrtc but there is an npm error.
(base) 192:MyApp user$ npm install react-native-webrtc --save
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: MyApp@0.0.1
npm ERR! Found: react-native@0.65.0-rc.3
npm ERR! node_modules/react-native
npm ERR! react-native@“0.65.0-rc.3” from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@“>=0.60.0” from react-native-webrtc@1.92.0
npm ERR! node_modules/react-native-webrtc
npm ERR! react-native-webrtc@“*” 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 /Users/user/.npm/eresolve-report.txt for a full report.npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2021-08-11T13_38_57_178Z-debug.log
I tried to use npm install react-native-webrtc --save --legacy-peer-deps
then pod install
Installing react-native-webrtc (1.87.2)
Now, I’m having a build error that says 'WebRTC/RTCCameraVideoCapturer.h' file not found