React Native Vapi dependencies not installing
I am creating a voice agent using Vapi in React Native(versions:- 0.80).
After reading the document, when I am trying to install the dependencies,
npm i @Vapi-ai/react-native
@daily-co/react-native-daily-js
@react-native-async-storage/async-storage@^1.15.7
react-native-background-timer@^2.3.1
react-native-get-random-values@^1.9.0
npm i --save-exact @daily-co/react-native-webrtc@118.0.3-daily.1
i am getting the error
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: sagemediamedia@0.0.1
npm error Found: @react-native-async-storage/async-storage@2.2.0
npm error node_modules/@react-native-async-storage/async-storage
npm error @react-native-async-storage/async-storage@"^2.2.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @react-native-async-storage/async-storage@"^1.24.0" from @daily-co/react-native-daily-js@0.77.0
npm error node_modules/@daily-co/react-native-daily-js
npm error @daily-co/react-native-daily-js@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\subhasish.choudhury\AppData\Local\npm-cache_logs\2025-07-01T06_04_15_087Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\subhasish.choudhury\AppData\Local\npm-cache_logs\2025-07-01T06_04_15_087Z-debug-0.log
After reading the document, when I am trying to install the dependencies,
npm i @Vapi-ai/react-native
@daily-co/react-native-daily-js
@react-native-async-storage/async-storage@^1.15.7
react-native-background-timer@^2.3.1
react-native-get-random-values@^1.9.0
npm i --save-exact @daily-co/react-native-webrtc@118.0.3-daily.1
i am getting the error
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: sagemediamedia@0.0.1
npm error Found: @react-native-async-storage/async-storage@2.2.0
npm error node_modules/@react-native-async-storage/async-storage
npm error @react-native-async-storage/async-storage@"^2.2.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @react-native-async-storage/async-storage@"^1.24.0" from @daily-co/react-native-daily-js@0.77.0
npm error node_modules/@daily-co/react-native-daily-js
npm error @daily-co/react-native-daily-js@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\subhasish.choudhury\AppData\Local\npm-cache_logs\2025-07-01T06_04_15_087Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\subhasish.choudhury\AppData\Local\npm-cache_logs\2025-07-01T06_04_15_087Z-debug-0.log