Closed rabelais88 closed 1 year ago
by chance, did you update anything?
by chance, did you update anything?
no, this is a clean install.
can you try updating tamagui with "yarn upgrade:tamagui"? Here for some reason it appears to have worked.
Same issue here (I'm a newb) - just tried "yarn ugprade:tamagui" and I get the following:
yarn upgrade:tamagui 13:33 yarn run v1.22.19 $ $npm_execpath up 'tamagui' '@tamagui/*' error Command "up" not found. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I tried "yarn upgrade tamagui" and it seems to have done something, but I still get the same Inter font error.
Okay, so I found a solution. This is a Tamagui issue - the problem is that expo-font is created twice.
You can simply run this to fix it:
rm -rf ./node_modules/expo/node_modules/expo-font
Link to the relevant Tamagui issue: https://github.com/tamagui/tamagui/issues/1448
@DaEMoN33 for the "up" command to be available you must be using yarn v3
Okay, so I found a solution. This is a Tamagui issue - the problem is that expo-font is created twice.
You can simply run this to fix it:
rm -rf ./node_modules/expo/node_modules/expo-font
Link to the relevant Tamagui issue: tamagui/tamagui#1448
thank you @DaEMoN33 . thank you for your assistance @ivopr too. since it is identified as TamaGUI issue, I'll close.
Just did a fresh install of this starter (thanks by the way!) and I get the fontFamily "Inter" is not a system font
error.
Tried all fixes suggested here and in the Tamagui ticket without success. What am I missing?
yeah, I've noticed It came back after upgrading things and no method solved It anymore. honestly, I don't have any Idea why It is happening again, when I yarn why expo-font
It shows only one version
If I remove the SplashScreen
methods from _layout
, and just use if (!loaded) return null
, there's no error.
what If we keep both? did you try?
No, I will.
I tried using @expo-google-fonts/inter
instead of Tamagui Inter, but that didn't work either.
I also found this opened issue about SplashScreen
. Not sure if it's related.
I confirm that simply adding if (!loaded) return null
to _layout
fixes the issue.
@ockam do you want to open a PR with this fix?
@ockam do you want to open a PR with this fix?
PR #45 opened :)
Reproduction
fresh install with latest commit 94dca1d
multiple errors and warnings pop up, hinders debugging with LogBox and console(). however, it does not happen on works based on previous commits of this repository.
Error
the errors below are repeated for multiple times.