-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
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
Trouble getting "expo-router" installed + starting #97
Comments
Hey @owen-duncan-snobel I went down this rabbit hole as well. I've finally been able to somewhat figure it out by:
// #3 - Force resolving nested modules to the folders below
config.resolver.disableHierarchicalLookup = true;
The main issue I've been having is Metro not being able to resolve "expo-router/entry". I guess the resolution process is different for imports and the "main" field in I can provide you with an example project setup later if you want. Btw I'm using the official tabs template for my app workspace and I'm also using pnpm with hoisted node-linker (as this repo does). |
Ya if you were able to post an example of the setup later that would be amazing! |
@owen-duncan-snobel Sorry it took so long. I got distracted by Diablo 4 lol. Here you go https://github.com/tichopad/expo-monorepo-example/tree/main/apps/mobile-with-router. It should work out of the box. Although I haven't tested EAS Build. |
Sorry it took a while! Next time, do ping me on Twitter @cedric_dev. Yep, @tichopad is right, I also updated this monorepo to use Expo SDK 51, and removed this property. Hope this helps! |
Description of the bug
Is there an example of getting "expo-router" working with this repo? I have been trying to add it but I am getting errors when trying to install it.
The text was updated successfully, but these errors were encountered: