react-native-picker / picker

Picker is a cross-platform UI component for selecting an item from a list of options.
MIT License
1.47k stars 277 forks source link

i keep getting this peer dependency ERR , is there a way to fix this ? #465

Open waelbenmustapha opened 1 year ago

waelbenmustapha commented 1 year ago
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR!   react@"18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"16 || 17" from @react-native-picker/picker@2.4.2
npm ERR! node_modules/@react-native-picker/picker
npm ERR!   @react-native-picker/picker@"2.4.2" from the root project
sjprograms commented 1 year ago

I'm also facing this exact issue and haven't found a solution yet.

hugoh59 commented 1 year ago

Same here