react-native init manager
cd manager
- npm install --save react-redux redux
- npm install --save redux-thunk
- npm install --save react-native-router-flux
- npm install --save lodash
- npm install --save firebase
- npm install react-native-communications
- Create project on https://console.firebase.google.com
- Setup email authentication
- Copy web app configuration and include in project
react-native run-ios
This might be related to facebook/react-native#4968
To resolve try the following:
- Clear watchman watches:
watchman watch-del-all
. - Delete the
node_modules
folder:rm -rf node_modules && npm install
. - Reset Metro Bundler cache:
rm -rf /tmp/metro-bundler-cache-*
ornpm start -- --reset-cache
. - Remove haste cache:
rm -rf /tmp/haste-map-react-native