react-native metro bundle stuck and not running progress bar

3079 views react-native

I work on react-native project on IOS & ANDROID.

On IOS the metro bundler console stuck at

Metro Bundler ready.
Loading dependency graph, done.

Nothing happen even after long delay. It should do the following :

Metro Bundler ready.
Loading dependency graph, done.
BUNDLE  [android, dev] ./ ???????????????? 0.0%       (0/1)Launching Dev Tools...
BUNDLE  [android, dev] ./ ???????????????? 100.0% (982/982), done.
BUNDLE  [android, dev] ./ ???????????????? 100.0% (1/1), done.

Any idea please ?

I try to remove node_modules , clean project via Xcode , run "npm start"

answered question

1 Answer


I have this sentence under scripts on my package.json. Try run it using npm run clear-all.

"clear-all": "watchman watch-del-all; rm -rf ./ios/build;  rm -rf ./ios/Pods; rm -rf $TMPDIR/react-*;rm -rf $TMPDIR/haste-*; rm -rf $TMPDIR/metro-*; rm -rf node_modules/; npm cache verify; npm install; npm start --reset-cache"

after that you have to run pod install and react-native run-ios again. Let me know if this works for you.

posted this

Have an answer?


Please login first before posting an answer.