-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Labels
Description
I've been following the other Expo 54 thread but I wanted to start a new one specifically for fresh, brand-new installs. Here's a repro:
https://github.com/t3db0t/expo54-gluestack3-test
This repo is the result of:
pnpx create-expo-app@latest expo54-gluestack3-testcd expo54-gluestack3-testpnpx gluestack-ui init
During gluestack-ui init, you'll see:
Initializing gluestack-ui v3...
│
◇ Repository already cloned.
│
◇ Git pull successful.
│
○ ⏳ Installing dependencies. This might take a couple of minutes
WARN 3 deprecated subdependencies found: glob@7.2.3, inflight@1.0.6, rimraf@3.0.2
WARN Issues with peer dependencies found
.
└─┬ expo-router 6.0.6
└── ✕ unmet peer react-native-safe-area-context@">= 5.4.0": found 4.14.1
And then trying to run the app in Expo Go:
Logs for your project will appear below. Press Ctrl+C to exit.
| [Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.
| [Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.
| [Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.
| [Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.
| [Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.
| [Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.
| [Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.
| [Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.
iOS Bundled 4890ms node_modules/expo-router/entry.js (1582 modules)
WARN SafeAreaView has been deprecated and will be removed in a future release. Please use 'react-native-safe-area-context' instead. See https://github.com/th3rdwave/react-native-safe-area-context
ERROR [Error: Unable to manually set color scheme without using darkMode: class. See: https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually]
Code: index.tsx
19 |
20 | useEffect(() => {
> 21 | setColorScheme(mode);
| ^
22 | // eslint-disable-next-line react-hooks/exhaustive-deps
23 | }, [mode]);
24 |
Call Stack
useEffect$argument_0 (components/ui/gluestack-ui-provider/index.tsx:21:19)
Code: _layout.tsx
17 | return (
18 |
> 19 | <GluestackUIProvider mode="light">
| ^
20 | <ThemeProvider value={colorScheme === 'dark' ? DarkTheme : DefaultTheme}>
21 | <Stack>
22 | <Stack.Screen name="(tabs)" options={{ headerShown: false }} />
Call Stack
RootLayout (app/_layout.tsx:19:5)
I've started investigating what's going on; it wasn't clear from the other thread if work is ongoing to support Expo 54 or what. Thanks all for your help!