Finally solved the build issue after 3 days o_O
Three days. That's how long a single build error held up shipping the next version of Lifelong Habit.
What went wrong
The short version: a native dependency mismatch between Expo's prebuild output and a Supabase client package that assumed a Node environment. The long version involves a lot of rm -rf node_modules and staring at stack traces that pointed nowhere useful.
What actually fixed it
It wasn't a quick fix, and that's the point. The real fix was pinning the dependency graph properly instead of patching around the symptom:
npx expo install --fixThat single command resolved version drift across the whole Expo SDK, instead of me hand-editing three different package.json entries and hoping.
What I'd tell past-me
Quick fixes are just debt with a delay timer. When a build breaks like this, it's almost always the dependency tree, not your code. Check that first.