-
Notifications
You must be signed in to change notification settings - Fork 12
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
Possible documentation update: EXPO_USE_METRO_WORKSPACE_ROOT=1 to build #109
Comments
Hmm I've been able to build it fine without that command. What command are you adding this to? And from which directory are you running the app? |
Just tested again with a fresh clone of the main branch with the same result - via Android simulator. Node Version: v18.20.2 I followed the Readme:
The same steps after running "export EXPO_USE_METRO_WORKSPACE_ROOT=1" in the shell fixed the error, launching the wallet. This setting is from here: "https://docs.expo.dev/guides/monorepos" - the note on Expo Router. |
Okay thanks for looking into it! @berendsliedrecht something you can add with the restructure soon? |
Yes, I'll pay attention to it! |
I ran into the same issue -- have fixed it locally and will open a PR. Thanks for reporting @timbl-ont |
I was getting a 404 error for the expo-router and was only able to run the app after exporting EXPO_USE_METRO_WORKSPACE_ROOT=1 as per the monorepo instructions.
Should this be added to the build instructions or added automatically in the package.json file?
The text was updated successfully, but these errors were encountered: