【メモ】React Native iosのbuild時にerror: bundling failed: Error: ENOENT: no such file or directory, uv_cwd at Object.resolve が出るとき

Buildは成功するけど、エミュレータで上記のエラーが出て怒られてしまうとき。

https://github.com/facebook/react-native/issues/21038#issuecomment-420193598 を参考に、

いったん killall noderm -rf ios/build/ をしてから、 再度 react-native run-ios を実行すると起動できた。

他のnodeのプロセスもkillしちゃうから、本当はちゃんと ps aux | grep node とかで調べてやらないといけないのだけど、現状これで良しとする。