Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/statico/repro-expo-49-expo-router-2-monorepo
This reproduces an issue with expo v49 and expo-router v2 inside an monorepo with Yarn v1 workspaces.
https://github.com/statico/repro-expo-49-expo-router-2-monorepo
Last synced: 4 days ago
JSON representation
This reproduces an issue with expo v49 and expo-router v2 inside an monorepo with Yarn v1 workspaces.
- Host: GitHub
- URL: https://github.com/statico/repro-expo-49-expo-router-2-monorepo
- Owner: statico
- Created: 2023-09-30T01:01:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-21T03:11:10.000Z (about 1 year ago)
- Last Synced: 2024-05-02T06:01:51.183Z (6 months ago)
- Language: TypeScript
- Size: 553 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# expo v49 and expo-router v2 monorepo reproduction
This reproduces an issue with expo v49 and expo-router v2 inside an monorepo with Yarn v1 workspaces.
## Steps to reproduce
1. Clone this repo
1. Run `yarn` to install dependencies
1. `cd packages/mobile`
1. Run `npx expo start --go --ios` to start the expo dev server
1. Observe `Unable to resolve "expo-router" from "../../node_modules/expo-head/build/ExpoHead.ios.js"`## Versions
```
$ uname -a
Darwin macbook.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:53 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6020 arm64
$ node --version
v18.16.0
$ yarn --version
1.19.0
$ npx expo --version
0.10.13
```![CleanShot 2023-09-29 at 18 01 34](https://github.com/statico/repro-expo-49-expo-router-2-monorepo/assets/137158/7d1aac38-6c57-436f-8bd1-8f1da8376686)