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

Error: Cannot find native module 'ExpoAlarm' #2

Closed
lennertderyck opened this issue Sep 11, 2024 · 2 comments
Closed

Error: Cannot find native module 'ExpoAlarm' #2

lennertderyck opened this issue Sep 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@lennertderyck
Copy link

After installing the package I get the following error in the terminal:

ERROR  Error: Cannot find native module 'ExpoAlarm', js engine: hermes
ERROR  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., js engine: hermes

Is there additional setup required to get it working?

@alperengozum
Copy link
Owner

Hi @lennertderyck,
I investigated the issue but couldn't find the reason. I tried to use New Expo's new Creating a Native Module Tutorial, but unfortunately it gives the same error just after creating a new module.

@alperengozum
Copy link
Owner

I fixed a related issue with merging codes to the new native module structure: #3.
Please use version 0.2.0 and give some comments if this issue is fixed or continuing.
I wish you healthy days! 🪄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants