gluestack / gluestack-ui

React & React Native Components & Patterns (copy-paste components & patterns crafted with Tailwind CSS (NativeWind))
https://gluestack.io/
MIT License
2.71k stars 120 forks source link

Gluestack V2 Wants React-Native-SVG 13 But Expo 51 Wants 15 #2552

Open mikecfisher opened 1 week ago

mikecfisher commented 1 week ago

Description

When initializing a new gluestack config it installs v13 Expo SDK 51 needs 15. When using 13 npx expo run:ios crashes

CodeSandbox/Snack link

unnecessary

Steps to reproduce

  1. Go to '...'

  2. Click on '...'

  3. Scroll down to '...'

  4. See error

  5. npx create-expo-app

  6. npx gluestack-ui init

  7. npx expo run:ios

  8. task crashes complaining about react-native-svg

  9. npx expo install react-native-svg (svg gets upgraded to 15)

  10. npx expo run:ios - app works perfectly

gluestack-ui Version

v2

Platform

Other Platform

No response

Additional Information

No response

Viraj-10 commented 1 week ago

@mikecfisher, This will be fixed in upcoming support of nativewind v4.1 support