Skip to content

TypeError: Cannot read properties of undefined #193

@kriit24

Description

@kriit24

TypeError: Cannot read properties of undefined (reading 'UNMETERED')

Invariant Violation: "main" has not been registered. This can happen if:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called.

Installed with "yarn add react-native-background-job"
react-native link not needed because yarn adds automatic linking

also tried manual installation - same thing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions