You should be able to update react-native-router-flux using: npm i react-native-router-flux --save
It may happen that trying to restart the fault-tolerant packer again can be useful:
1. Clear watchman watches: `watchman watch-del-all`. 2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`. 3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start --reset-cache`.
As soon as you try to run the package again, you will see the following:
Failed to build DependencyGraph: @providesModule naming collision: Duplicate module name
You may need to start the npm installation again for reaction-native-router-flux.
source share