Everything-react-native-expo erne-build-fix
ERNE — Diagnose and fix build failures using the expo-config-resolver agent
install
source · Clone the upstream repo
git clone https://github.com/JubaKitiashvili/everything-react-native-expo
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/JubaKitiashvili/everything-react-native-expo "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/erne-build-fix" ~/.claude/skills/jubakitiashvili-everything-react-native-expo-erne-build-fix && rm -rf "$T"
manifest:
.claude/skills/erne-build-fix/SKILL.mdsource content
/erne-build-fix — Fix Build Failures
You are executing the
/erne-build-fix command. Use the expo-config-resolver agent to diagnose and fix build errors.
Diagnostic Process
- Identify the error — Read build logs, identify the failure point
- Classify the error type:
- EAS Build failure (cloud build)
- Local
failureexpo prebuild - iOS build failure (CocoaPods, Xcode, provisioning)
- Android build failure (Gradle, ProGuard, multidex)
- Metro bundler error
- Config plugin error
- Diagnose root cause — Check common causes per error type
- Apply fix — Make targeted changes
- Verify — Rebuild and confirm fix
Common Fixes
EAS Build
- Validate
build profileseas.json - Check
/app.json
for typosapp.config.ts - Verify Expo SDK compatibility with dependencies
- Check EAS Build logs for native compilation errors
iOS
issues → deletepod install
+Podfile.lockpod install --repo-update- Provisioning → verify Apple Developer account + certificates
- Privacy manifest → add
declarationsPrivacyInfo.xcprivacy - Module not found → check header search paths
Android
- Gradle sync → check
alignmentminSdkVersion - ProGuard → add keep rules for broken classes
- Multidex → enable in
build.gradle - NDK → verify Hermes / JSC compatibility
Output Format
## Error Analysis [Error message and classification] ## Root Cause [Why the build failed] ## Fix Applied [Changes made with file paths] ## Verification [Build command to run, expected result]