## The problem

Reported in Amplitude: TypeError: Cannot read property 'BEFORE' of undefined.

## The fix

This TypeError about reading BEFORE of undefined came from a version mismatch during install. Reinstalling node_modules from scratch cleared it. If you hit this in an Expo development build with the Amplitude React Native SDK, wipe node_modules and reinstall so everything resolves to matching versions, and double check you followed the SDK install steps for dev builds rather than Expo Go.