Skip to content

Runtime error: Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'Haptics' could not be found. #1

@cheezytony

Description

@cheezytony

First things first. I like your package. Clean and structured codebase. The customisation is superb.
But I can't run my app when I use the <Switch /> component.

I get this error that crashes my expo app even with all dependences installed.
[Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'Haptics' could not be found. Verify that a module by this name is registered in the native binary.]

I also tried installing using npx expo install <package-name> but that didn't fix the issue.

Can you help provide a solution or a suggestion.

I don't want to have to make mine from scratch.

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