Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ &&
- npm cache clean && npm install && npm start -- --reset-cache
- RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* &&
- rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm
- install && npm start -- --reset-cache
- npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ &&
- npm cache verify && npm install && npm start -- --reset-cache
- Windows - del %appdata%Tempreact-native-* & cd android & gradlew clean & cd .. & del
- node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement