Skip to content

fix: .npmrc legacy-peer-deps — resolves EAS build UNKNOWN_ERROR#7

Merged
psdjungpulzze merged 1 commit into
mainfrom
chore/fix-peer-deps
Jun 27, 2026
Merged

fix: .npmrc legacy-peer-deps — resolves EAS build UNKNOWN_ERROR#7
psdjungpulzze merged 1 commit into
mainfrom
chore/fix-peer-deps

Conversation

@psdjungpulzze

Copy link
Copy Markdown
Contributor

Every EAS build has been failing at 'Install dependencies' with UNKNOWN_ERROR.

Root cause: expo-router@56.2.11 pulls in vaul → @radix-ui/react-dialog → react-dom@19.2.7, which declares a peer dep on react@^19.2.7. Our scaffold pins react@19.2.3 per Expo SDK 56 requirements. npm ci (which EAS runs) treats this as a hard conflict and exits 1.

Fix: add .npmrc with legacy-peer-deps=true — npm resolves deps with v6 semantics (best-effort, no hard-fail on peer mismatches). Regenerated package-lock.json with that setting. npm ci now passes locally.

@psdjungpulzze psdjungpulzze merged commit 449cc7d into main Jun 27, 2026
@psdjungpulzze psdjungpulzze deleted the chore/fix-peer-deps branch June 27, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant