Skip to content

Commit

EAS builds of the phone app skip expo doctor. Its one failing check is the second React (the app's 19.2.3 beside the site's 19.3.0 at the root), which metro.config.js already resolves to one copy; the doctor cannot allow a single duplicate, and React Native 0.86 needs 19.2.3 while the site needs 19.2.8 or newer. npm run doctor still runs it.

syntaqxcommitted Parent1daaca6Browse files
2 files+7−10/2 viewed
+3−0
273273 allows, so the app has its own `react` (19.2.3) and `metro.config.js`
274274 resolves every `react` import to it. `expo-doctor` reports the root's
275275 copy as a duplicate; that is expected here, and the bundle has one.
276+ The doctor has no way to allow one duplicate, so EAS builds skip it
277+ (`EAS_BUILD_DISABLE_EXPO_DOCTOR_STEP` in `eas.json`); `npm run doctor`
278+ still runs it.
276279 - **Icons** are drawn from the mark: `npm run icons -w @g1t/mobile`.
277280 - **Versions**: `version` in `app.config.ts` is what people see;
278281 EAS counts build numbers itself (`appVersionSource: remote`). Over-the-air
+4−1
55 },
66 "build": {
77 "base": {
8− "node": "24.21.0"
8+ "node": "24.21.0",
9+ "env": {
10+ "EAS_BUILD_DISABLE_EXPO_DOCTOR_STEP": "1"
11+ }
912 },
1013 "development": {
1114 "extends": "base",