Skip to content

Cannot convert undefined value to object, js engine: hermes #25634

Closed
@xxRockOnxx

Description

@xxRockOnxx

Setting enableHermes to true would cause Cannot convert undefined value to object, js engine: hermes.

Confirmed it by setting the value to false and rebuilding.

React Native version:
System:
OS: Linux 5.0 Antergos Linux undefined
CPU: (8) x64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Memory: 2.91 GB / 7.77 GB
Shell: 5.7.1 - /usr/bin/zsh
Binaries:
Node: 11.14.0 - /usr/bin/node
Yarn: 1.16.0 - /usr/bin/yarn
npm: 6.9.0 - /usr/bin/npm
SDKs:
Android SDK:
API Levels: 28
Build Tools: 28.0.3
IDEs:
Android Studio: 3.3
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.3 => 0.60.3

Steps To Reproduce

  1. Follow upgrade guide from 0.60.0 to 0.60.3
  2. enable enableHermes in app/build.gradle
  3. ./gradlew clean
  4. react-native run-android

Describe what you expected to happen:
Should work just fine as before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPlatform: LinuxBuilding on Linux.StaleThere has been a lack of activity on this issue and it may be closed soon.Tech: HermesHermes Engine: https://hermesengine.dev/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions