question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS]: Time out waiting for modules to be invalidated!

See original GitHub issue

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

  1. react-native -v: 0.48.3
  2. node -v: v6.8.1
  3. npm -v: 3.10.8
  4. yarn --version:

Then, specify:

  • Target Platform: iOS
  • Development Operating System: macOS 10.12.4
  • Build tools: Xcode

Steps to Reproduce

(Write your steps here:)

  1. create a component, like this
class Root extends React.Component {
    render() {
        return (
            <View style={{display: 'none'}}>
                <Text>这是一个测试!</Text>
            </View>
        );
    }
}

If the ‘<Text>’ contains any Chinese characters, an exception is thrown.

Expected Behavior

Actual Behavior

(Write what happened. Add screenshots!) image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:12

github_iconTop GitHub Comments

3reactions
Mubashirkhancommented, Mar 30, 2018

was anyone able to fix this issue i’m facing the same issue on iOS everything works fine on android

3reactions
moughxyzcommented, Oct 4, 2017

In my case the issue was using react-native-vector-icons, then display a component that has an icon and then removing the component from display really quickly.

i.e

<Icon name={"icon"} size={25} color={color} />

Seems like it might be a memory access issue where where the component is loaded, the icon begins loading, the component is removed, the icon finishes loading, and that error occurs. That’s just my theory.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Timeout waiting for modules to be invalidated - Stack Overflow
It's on both android and ios? Have you tried to delete your node_modules and npm install? Also try closing your packager and run...
Read more >
Timeout waiting for modules to be invalidated - react-native
Timeout waiting for modules to be invalidated - react-native ios error is a very common error one encounter. Let's see how to overcome...
Read more >
TimeoutError: Timed out waiting fo… | Apple Developer Forums
1. I have shutdown and restarted XCode. I have uninstalled and reinstalled Xcode. Tried multiple simulators. An iPhone 8 worked once or twice,...
Read more >
Timeout waiting for modules to be invalidated-React Native
[Solved]-Timeout waiting for modules to be invalidated-React Native. EDIT: The answer was for an old version of react-native (0.43) and won't work for...
Read more >
iOS Native Modules
You can find your iOS project here within a React Native app: ... Test that out by accessing the native module and invoking...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found