expo-troubleshooting

expo-troubleshooting is a skill for Claude Code from fatihkan/badi. It costs 0 tokens per session (2,081 once invoked), scanned C, original, MIT.

A troubleshooting guide for Expo, a framework for building React Native mobile apps, covering JavaScript bundling, native iOS and Android builds, and package compatibility.

In plain words
What is it for?
Use it for Metro cache errors, Expo health checks, CocoaPods and Gradle failures, EAS Build logs, and monorepo dependency issues.
Why use it?
It helps diagnose common mobile build problems such as stale caches, mismatched versions, native modules, and dependency conflicts.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is config.watchFolders = [path.resolve(__dirname, "../..")];.

Part of the badi plugin — 81 skills, 86 commands, 30 agents, 7 hooks shipped together

Good fit Use it for Metro cache errors, Expo health checks, CocoaPods and Gradle failures, EAS Build logs, and monorepo dependency issues.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/fatihkan/badi
agentmods
npx agentmods add skills/fatihkan/badi/expo-troubleshooting

Made for: Claude Code.

Or install badi, the plugin that ships this one along with the rest of its 81 skills, 86 commands, 30 agents, 7 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for expo-troubleshooting

README.md
[![agentmods](https://agentmods.dev/badge/skills/fatihkan/badi/expo-troubleshooting/github.svg)](https://agentmods.dev/skills/fatihkan/badi/expo-troubleshooting)
Your own site
<a href="https://agentmods.dev/skills/fatihkan/badi/expo-troubleshooting"><img src="https://agentmods.dev/badge/skills/fatihkan/badi/expo-troubleshooting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for expo-troubleshooting

Your own site · 80×15
<a href="https://agentmods.dev/skills/fatihkan/badi/expo-troubleshooting"><img src="https://agentmods.dev/badge/skills/fatihkan/badi/expo-troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,081 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02081
Opus 5 $0.00000 $0.01040
Sonnet 5 $0.00000 $0.00416
Haiku 4.5 $0.00000 $0.00208

Measured 4d ago against content hash a80a692342cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

expo-troubleshooting scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules/.cache .expo
.claude/skills-vault/expo-troubleshooting/SKILL.md · 344 lines

How it starts

The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.

expo-troubleshooting

Common error patterns and fix recipes in Expo + React Native projects. Metro cache, version mismatch, native build errors, reading EAS Build logs, and dependency conflicts.

What It Does

  • Metro bundler cache-clearing recipe
  • Health check with expo-doctor and expo install --check
  • iOS Pod install errors (mismatch, cache, deployment target)
  • Android Gradle daemon, cache, multiDex
  • Native module conflicts and autolinking problems
  • A guide to reading EAS Build logs
  • Monorepo dependency hoisting problems

Quick Health Check

npx expo-doctor
npx expo install --check
npx expo install --fix       # auto-fix incompatibilities

expo-doctor checks these areas:

  • SDK version compatibility
  • Package version mismatch
  • Plugin configuration
  • Network access
  • Native file consistency

Metro Cache Problems

Symptom: "Module not found", stale JS, a new file isn't picked up.

# Quick
npx expo start --clear

# Deeper
rm -rf node_modules/.cache .expo
watchman watch-del-all
npm cache clean --force
rm -rf $TMPDIR/metro-*
rm -rf $TMPDIR/haste-map-*

# Reset
rm -rf node_modules
npm install
npx expo start --clear

watchman problem:

watchman shutdown-server
brew install --HEAD watchman    # macOS

Version Mismatch

Symptom: "[email protected] is not compatible with expo@51"

npx expo install --check
# > "[email protected] is incompatible. Expected: X.Y"

npx expo install --fix
# or by hand
npx expo install react-native react react-dom

Manual inspection:

npx expo install --check --json

iOS Pod Install Errors

Error: "CocoaPods could not find compatible versions"

cd ios
pod repo update
pod deintegrate
rm -rf Pods Podfile.lock
pod install --repo-update

Error: "Deployment target ... but pod requires iOS 15.1"

app.json:

{
  "expo": {
    "plugins": [
      ["expo-build-properties", {
        "ios": { "deploymentTarget": "15.1" }
      }]
    ]
  }
}

Read the full file on GitHub · 344 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 344 lines · 0 tokens per session scan C a80a692342cd

Subscribe to this mod's changes

expo-troubleshooting is a skill published in the GitHub repository fatihkan/badi (7 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,081 tokens. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.