We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got this error after attempting to upgrade my NWUI app to SDK 52, and was able to reproduce it with a minimal Expo example.
Here are my approximate reproduction steps:
npx create-expo-app sdk-test --template tabs
cd sdk-test
app/(tabs)/index.ts
npx expo prebuild --clean
npm run ios
When the ios simulator starts up, the app crashes with Error: Cannot read property 'regular' of undefined.
Error: Cannot read property 'regular' of undefined
The text was updated successfully, but these errors were encountered:
Hey @h14h , I think this has to do with https://github.com/roninoss/nativewindui/blob/main/theme/index.ts where the navigation theme now has a font in react-navigation7. You can spread ...DefaultTheme and ...DarkTheme at the top of the light and dark objects respectively.
font
...DefaultTheme
...DarkTheme
Sorry, something went wrong.
@mrzachnugent Thanks! That did it 👍
In that case, I think this issue can be (at least partially) resolved by tweaking the theme/color.ts example in the manual installation instructions.
theme/color.ts
If I get around to making a PR for the issues I noted in #20, I'll address this there too.
No branches or pull requests
I got this error after attempting to upgrade my NWUI app to SDK 52, and was able to reproduce it with a minimal Expo example.
Here are my approximate reproduction steps:
npx create-expo-app sdk-test --template tabs
cd sdk-test
app/(tabs)/index.ts
with the "Usage Example" in Step 8npx expo prebuild --clean
followed bynpm run ios
When the ios simulator starts up, the app crashes with
Error: Cannot read property 'regular' of undefined
.The text was updated successfully, but these errors were encountered: