Skip to content

[Expo] ERROR TypeError: Super expression must either be null or a function, js engine: hermes #186

@geoffcfchen

Description

@geoffcfchen

Describe the bug

I am using the Expo managed workflow and EAS build. After following the installation instructions from (https://docs.livekit.io/home/quickstarts/expo/), I encountered an error. Specifically, when I import { registerGlobals } from @livekit/react-native, I receive the following error:

ERROR TypeError: Super expression must either be null or a function, js engine: hermes

Expected behavior

No error after following installation instructions (https://docs.livekit.io/home/quickstarts/expo/)

Screenshots

IMG_7026

Device Info:

  • Device: iPhone 16
  • OS: 18.2

Dependencies Info (please reference your package-lock.json or yarn.lock file):

packapge.json

  "dependencies": {
    "expo": "~50.0.20",
    "@config-plugins/react-native-callkeep": "^7.0.0",
    "@config-plugins/react-native-pdf": "7.0.0",
    "@config-plugins/react-native-webrtc": "^8.0.0",
    "@livekit/react-native": "^2.5.0",
    "@livekit/react-native-expo-plugin": "^1.0.0",
    "@livekit/react-native-webrtc": "^125.0.6",

app.json

 "plugins": [
  "@config-plugins/react-native-webrtc",
  "@config-plugins/react-native-callkeep",

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions