出だしのreact-native init <project名>
からハマった。
─ resolve@1.3.2
├─ rimraf@2.6.1
├─ semver@5.3.0
├─ shellwords@0.1.0
├─ source-map@0.5.6
├─ sprintf-js@1.0.3
├─ string-length@1.0.1
├─ strip-bom@3.0.0
├─ symbol-tree@3.2.2
├─ test-exclude@4.0.3
├─ tough-cookie@2.3.2
├─ tr46@0.0.3
├─ type-check@0.3.2
├─ uglify-js@2.8.21
├─ webidl-conversions@4.0.1
├─ whatwg-encoding@1.0.1
├─ whatwg-url@4.6.0
├─ which@1.2.14
├─ wordwrap@1.0.0
├─ xml-name-validator@2.0.1
└─ yargs@6.6.0
✨ Done in 6.40s.
上記のようにDoneとでてからフリーズ状態になりました。
結論から言うとwatchmanがフリーズしていた模様
対応策
以下のコマンドを実行
launchctl unload ~/Library/LaunchAgents/com.github.facebook.watchman.plist
watchman version
で versionが出ればok.
watchman version /Users/m0a/Library/LaunchAgents/com.github.facebook.watchman.plist: Could not find specified service
{
"version": "4.7.0"
}