'Timeout waiting for modules to be invalidated

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 ?



Solution 1:[1]

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.

Solution 2:[2]

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.

Solution 3:[3]

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

Solution 4:[4]

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.

Solution 5:[5]

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.

Solution 6:[6]

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

Solution 7:[7]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2
Solution 3 Mike M
Solution 4 truchiranga
Solution 5 Bruno Lemos
Solution 6 user3230502
Solution 7 Luis C Cruz