Repository navigation
chore: fix expo-router not found at the root of app-sandbox - #949
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Hoisting introduces different root and sandbox react-native-screens versions, requiring a clean native sandbox build to verify consistent Metro resolution and Expo autolinking, which cannot be validated from this snapshot.
No open issues 🎉
What changed in this PR
Addresses the sandbox module-resolution failure reported after #938 by making expo-router available to root-installed Expo tooling.
Changes:
- Adds
expo-router~57.0.29to root development dependencies. - Updates the lockfile to place the router and related dependencies at the workspace root and remove stale entries.
| File | Description |
|---|---|
package.json |
Declares expo-router at the workspace root. |
package-lock.json |
Records the root-level router installation and resulting dependency layout changes. |
Review effort: Balanced
|
gamegee
approved these changes
Nov 2, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixing a potential side-effect of #938 that prevents the sandbox app from compiling with error:
Context
On
main,expo-routerwas only installed inside the sandbox app's own folder. Tools installed at the root, likeexpoand the Babel preset, look upexpo-routerfrom the root so they couldn't find it.