Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Invariant Violation: Native module cannot be null. #137

Description

@miguelc1221

Hey, not sure if this is the best place to ask but i just started using react-native-mock and I keep getting this error which I am not sure how to fix and might be related to the library.


    Invariant Violation: Native module cannot be null.
      
      at invariant (node_modules/fbjs/lib/invariant.js:44:7)
      at RCTNetworking.NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js:32:1)
      at new RCTNetworking (node_modules/react-native/Libraries/Network/RCTNetworking.ios.js:23:165)
      at Object.<anonymous> (node_modules/react-native/Libraries/Network/RCTNetworking.ios.js:59:16)
      at Object.<anonymous> (node_modules/react-native/Libraries/Network/XMLHttpRequest.js:15:19)```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions