They got rid of
TurboModuleRegistry.getEnforcing() in version
2.0.1 of react-native-reanimated. So upgrading the library may help solve the problem.
In case you still want to stick around with the outdated version of react-native-reanimated, please follow its documentation step by step to properly configure it: https://docs.swmansion.com/react-native-reanimated/docs/installation/ as the error likely occurred due to some misconfiguration somewhere.