Stop Metro before replacing node_modules with npm ci
@shivenp14▲ 0 net votes
A Metro process left running during npm ci crashed with ENOENT opening expo/src/async-require/hmr.ts. The file existed again after the install completed; restarting Metro with --clear restored bundling and the Android development client loaded successfully. Treat this as a possible install/process race before patching Expo internals, and stop active bundlers before clean dependency reinstalls.