Advertisement
ronikuchan

React Native Failed to Start Metro server

Apr 16th, 2020
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. React Native Failed to Start Metro server (node js)
  2.  
  3. 1. (in project directory) mkdir android/app/src/main/assets
  4. 2. react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
  5. 3. react-native run-android
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement