expo / config-plugins

Out-of-tree Expo config plugins for packages that haven't adopted the config plugin system yet.
427 stars 91 forks source link

Expo Version 48.0.5 is not supported #164

Closed KyrolosMagdy closed 1 year ago

KyrolosMagdy commented 1 year ago

Summary

Hey,

I'm trying to install your package to work with Expo version 48.0.5, yet it gives me this error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: testing1@1.0.0
npm ERR! Found: expo@48.0.5
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/react-native-ble-plx@5.0.0
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-04T01_29_41_869Z-debug-0.log
Error: npm exited with non-zero code: 1

Config Plugin

@config-plugins/react-native-ble-plx

What platform(s) does this occur on?

Android, iOS

SDK Version

6.0.0

Reproducible demo

First, make sure you update expo to meet my version, 48.0.5,

initiate a new expo app with this command npx expo create-expo-app -t expo-template-blank-typescript expotest

try installing the package using this command:

npx expo install react-native-ble-plx @config-plugins/react-native-ble-plx