GeekyAnts / NativeBase

Mobile-first, accessible components for React Native & Web to build consistent UI across Android, iOS and Web.
https://nativebase.io/
MIT License
20.17k stars 2.39k forks source link

unmet / incorrect peer dependencies #5681

Open SupriyaPKalghatgi opened 1 year ago

SupriyaPKalghatgi commented 1 year ago

Description

Too many dependency warnings

CodeSandbox/Snack link

https://codesandbox.io/s/gracious-frog-is1o5p

NativeBase Version

3.4.23

Platform

Other Platform

"expo": "~47.0.3", "native-base": "3.4.23", "react": "18.1.0", "react-native": "0.70.5",

Additional Information

image
johncin commented 1 year ago

Also with expo sdk 48, which released recently, there is a warning about @types/react-native being missing. With this expo update they remove this package, because the react-native package itself has typing definitions now.

dhcmega commented 11 months ago

Hi! have you solved this? I have upgraded to expo SDK49 and last native base release:

[INSTALL_DEPENDENCIES] [1/4] Resolving packages... [INSTALL_DEPENDENCIES] [2/4] Fetching packages... [INSTALL_DEPENDENCIES] [3/4] Linking dependencies... [INSTALL_DEPENDENCIES] warning "expo-splash-screen > @expo/prebuild-config@6.2.6" has unmet peer dependency "expo-modules-autolinking@>=0.8.1". [INSTALL_DEPENDENCIES] warning " > native-base@3.4.28" has unmet peer dependency "@types/react-native@". [INSTALL_DEPENDENCIES] warning "native-base > @react-stately/checkbox@3.0.3" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-stately/collections@3.3.0" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-stately/combobox@3.0.0-alpha.1" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-stately/radio@3.2.1" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-stately/slider@3.0.1" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-stately/tabs@3.0.0-alpha.1" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-stately/toggle@3.2.1" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-native-aria/tabs > @react-aria/tabs@3.0.0-alpha.2" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-native-aria/tabs > @react-types/tabs@3.0.0-alpha.2" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-stately/combobox > @react-types/combobox@3.0.0-alpha.1" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "native-base > @react-native-aria/tabs > @react-aria/tabs > @react-stately/tabs@3.0.0-alpha.0" has incorrect peer dependency "react@^16.8.0 || ^17.0.0-rc.1". [INSTALL_DEPENDENCIES] warning "react-native > @react-native/codegen@0.72.7" has unmet peer dependency "@babel/preset-env@^7.1.6". [INSTALL_DEPENDENCIES] warning "react-native > @react-native/codegen > jscodeshift@0.14.0" has unmet peer dependency "@babel/preset-env@^7.1.6". [INSTALL_DEPENDENCIES] warning " > react-native-floating-action@1.22.0" has unmet peer dependency "prop-types@". [INSTALL_DEPENDENCIES] warning "react-native-render-html > @native-html/transient-render-engine@11.2.3" has unmet peer dependency "@types/react-native@". [INSTALL_DEPENDENCIES] warning "react-native-render-html > @native-html/transient-render-engine > @native-html/css-processor@1.11.0" has unmet peer dependency "@types/react-native@". [INSTALL_DEPENDENCIES] warning " > react-native-svg-charts@5.3.0" has incorrect peer dependency "react-native-svg@^6.2.1||^7.0.3".