When working with different SDKs of Expo, switching the existing repo will cause watchman and various caches to be out of sync. Running the various clearing commands doesn’t seem to resolve it.
The build process is best done when you run a cache cleared instance with expo start -c
and then in a separate window, run the build command you need.