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

react-native-dynamic-app-icon plugin not compatible with Expo 48 #163

Closed amerikan closed 1 year ago

amerikan commented 1 year ago

Summary

I'm on Expo 47 and the plugin works. When I tried to install it on Expo 48, I get the error below. Needs peer deep updated.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: my-project@1.0.0
npm ERR! Found: expo@48.0.4
npm ERR! node_modules/expo
npm ERR!   expo@"^48.0.4" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer expo@"^47.0.3" from @config-plugins/react-native-dynamic-app-icon@4.0.0
npm ERR! node_modules/@config-plugins/react-native-dynamic-app-icon
npm ERR!   @config-plugins/react-native-dynamic-app-icon@"*" 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/erikmontes/.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/2023-03-01T18_52_51_934Z-debug-0.log

Config Plugin

@config-plugins/react-native-dynamic-app-icon

What platform(s) does this occur on?

Android, iOS

SDK Version

48

Reproducible demo