React Native Cleaning

React Native >= 0.50 ve npm > 5 içindir.

Yarn ile yüklüyorsanız.

watchman watch-del-all &&
rm -rf $TMPDIR/react-native-packager-cache-* &&
rm -rf $TMPDIR/metro-bundler-cache-* &&
rm -rf node_modules/ &&
yarn cache clean &&
yarn install &&
yarn start — –reset-cache

Npm ile yüklüyorsanız.

watchman watch-del-all &&
rm -rf $TMPDIR/react-native-packager-cache-* &&
rm -rf $TMPDIR/metro-bundler-cache-* &&
rm -rf node_modules/
&& npm cache clean –force &&
npm install &&
npm start — –reset-cache