Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Error: spawn node_modules/hermesvm/osx-bin/hermes ENOENT #1886

@MahmonirB

Description

@MahmonirB
  1. At First I clean my build directory and again build:
    cd android & ./gradlew clean

./gradlew assembleStagingRelease

  1. Then, When I use command to deploy code-push, with
    appcenter codepush release-react -a <>/<> -m -d Release

I get this error:

node_modules/hermesvm/osx-bin/hermes -emit-binary -out /var/folders/3q/drghm7cs7gzc1c115xzbyg_00000gn/T/code-push2020524-82974-bg9ddv.b1c1l/CodePush/index.android.bundle.hbc /var/folders/3q/drghm7cs7gzc1c115xzbyg_00000gn/T/code-push2020524-82974-bg9ddv.b1c1l/CodePush/index.android.bundle -w
events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: spawn node_modules/hermesvm/osx-bin/hermes ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
    at onErrorNT (internal/child_process.js:415:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
    at onErrorNT (internal/child_process.js:415:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Environment

  • react-native-code-push version: "^6.2.0",
  • react-native version: "0.63.0-rc.1",
    "hermes-engine": "^0.5.0",
  • iOS/Android/Windows version: MacOS Mojave v10.14.6

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions