Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Built stuck at 0.0% while bundling index.ios.js

I don't know exactly why but all my react-native projects cannot build anymore today and I'm stuck with a the Bundling of index.ios.js at 0.0%.

I tried a couple of things but all my projects got the same issue.

like image 286
pfmaggi Avatar asked Dec 02 '22 11:12

pfmaggi


1 Answers

NOTE: This workaround is for macOS.

Found out that the culprit was watchman 4.7.0.
My issues started after having upgraded to watchman 4.7.0 using brew.

Looks like there's an issue in this new version of watchman: watchman issues 358.

At the end I solved my issue removing the content of the /usr/local/var/run/watchman/ folder.

like image 117
pfmaggi Avatar answered Dec 03 '22 23:12

pfmaggi