There seems to be a problem with react-router-flux since a few days.
You probably need to roll back to version 3.38.0 before the error was introduced.
yarn add react-native-router-flux@3.38.0
If this does not work, some people also said that you may need to close all your terminals, delete the build folder, and clear the npm cache.
Healthazar
source share