Timeout waiting for modules to be invalidated

Viewed 9442

I've a react-native application which was using v0.43, a few days ago , i've decided to upgrade it to v0.48, and faced a lot of issues but found a solutions for them, and now my application starts and only loading screen it give me this error

Timeout waiting for modules to be invalidated

i've searched for it, but didn't found a solution ? any suggestions ?

8 Answers

This has the exact problem's solutions.

My wifi was off on my iPhone. I just turned on my wifi and connected to the same network as my laptop, fixed my problem.

Saw this issue as well. The problem was that my iPhone's wifi was on a different network than my laptop.

I had the same problem too. In my case, I got it only when I press Reload from the device shake menu. I got it solved by opening a hot spot from my phone and connecting my laptop to that. Apparently, the 2 devices need to be able to communicate via a wifi connection even when the device is connected using the USB cable.

Remove all { display: 'none' } from style

EDIT: The answer was for an old version of react-native (0.43) and won't work for new versions.

I had this issue, it was caused by rendering non-english text with special characters, like جمال.

Removing the letterSpacing style property fixed it for me.

I had this very same issue recently and in my case was that I was working with android emulator and ios emulator on the same computer and using the same react-native server, what I did to fix it was to kill the server and reload in ios without reloading android and it fixed it

I spent hours trying to solve this issue, what worked in the end was disabling my computer firewall.

Had the same problem when solving issues related to the PickeriOS, I just uninstalled the app from the simulator and restarted the simulator and build again.

Related