Skip to content

Using in a managed Expo WorkflowΒ #13

@gowedixyz

Description

@gowedixyz

I was wondering if this could be used within Expo or if expo eject is needed. I'm having some troubles integrating this into an expo react native project using development builds (as opposed to expo go). Particularly:

iOS Bundled 30949ms node_modules/expo-router/entry.js (1800 modules)
 ERROR  Invariant Violation: `new NativeEventEmitter()` requires a non-null argument., js engine: hermes 
    at ContextNavigator (http://192.168.1.7:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:149946:24)
    at ExpoRoot (http://192.168.1.7:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:149902:28)
    at App
    at ErrorToastContainer (http://192.168.1.7:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:300373:24)
    at ErrorOverlay
    at withDevTools(ErrorOverlay) (http://192.168.1.7:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:299876:27)
    at RCTView
    at View (http://192.168.1.7:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:41520:43)
    at RCTView
    at View (http://192.168.1.7:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:41520:43)
    at AppContainer (http://192.168.1.7:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:41363:25)
    at main(RootComponent) (http://192.168.1.7:8081/node_modules/expo-router/entry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=src%2Fapp:119719:28)

Is there a workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions