I am currently trying to install a package in order to utilize react-native-ble-plx on an expo app. However, I am encountering a dependency issue. Can anyone provide assistance with the following:
npx expo install
› Installing using npm
> npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="6e0b161e01430c020b431d0f031e020b2e5f405e405e">[email protected]</a>
npm ERR! Found: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="204558504f6014180e100e15">[email protected]</a>
npm ERR! node_modules/expo
npm ERR! expo@"~48.0.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer expo@"^47.0.3" from @config-plugins/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="eb998e8a889fc6858a9f829d8ec689878ec69b8793abdec5dbc5db">[email protected]</a>
npm ERR! node_modules/@config-plugins/react-native-ble-plx
npm ERR! @config-plugins/react-native-ble-plx@"*" 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/macbook/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/macbook/.npm/_logs/2023-03-03T13_38_55_583Z-debug-0.log