Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined #193

Open
kriit24 opened this issue Jan 3, 2022 · 0 comments
Open

TypeError: Cannot read properties of undefined #193

kriit24 opened this issue Jan 3, 2022 · 0 comments

Comments

@kriit24
Copy link

kriit24 commented Jan 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant