1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

背景

  • Build Success
  • Metro Bundler bundle error

試すこと

  1. watchman watch-del-all
  2. rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf $TMPDIR/haste-map-react-native-packager-*

確認

$ react-native start --reset-cache

こんなのがでてきたら

 ERROR  Metro Bundler can't listen on port 8081

ポートが埋まってるか確認

$ lsof -i:8081

でてきたPIDをことごとくkillして

$ kill 72505

もう一回確認

$ react-native start --reset-cache

エラー出なかったら起動成功する可能性大!

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?