tamagui: createFont and tamagui.styled is not a function (it is undefined) Expo router v3

Current Behavior

I’m changing my app’s navigation from react-navigation to expo-router v3. I did all the configuration correctly, and it was already working. However, when I add the Tabs, I receive this message and I’ve done everything and I can’t resolve it.

image image

app/_layout.tsx

image

app/(tabs)/_layout.tsx image

Expected Behavior

No response

Tamagui Version

1.88.17

Platform (Web, iOS, Android)

Android, iOS, Web

Reproduction

Create an app with expo 50.0.4, tamagui 1.88.17 with expo-router v3, using tabs layout.

System Info

No response

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

🙋This issue will also happen when following the official Expo Guide After yarn add @tamagui/metro-plugin and editing metro.config.js file, i got this problem too.

Yes. I can probably figure out a patch in the metro plugin but the better solution is probably in the expo default config.

Closing as we have a solution for now, and once Expo fixes its good https://github.com/expo/expo/issues/26580

Anyone found a solution to this yet?