Skip to content

[runtime not ready]: Error: Non-js exception: Compiling JS failed: 176351:20:invalid expression #55366

@arthluije123

Description

@arthluije123

Description

I dont quite get the source of this error. All the dependencies and libraries were properly installed with no problem. But as soon as I run my code on a physical device, this error displays on the device even though the build/installation is successful.

Steps to reproduce

  1. Connect physical android device.
  2. Run with "npm run android"
  3. Error display.

React Native Version

0.83.1

Affected Platforms

Runtime - Android

Output of npx @react-native-community/cli info

System:
  OS: Windows 11 10.0.22631
  CPU: (32) x64 Intel(R) Core(TM) i9-14900HX
  Memory: 1.77 GB / 15.71 GB
Binaries:
  Node:
    version: 24.13.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 11.6.2
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "35"
      - "36"
    Build Tools:
      - 35.0.0
      - 36.0.0
    System Images:
      - android-36.1 | Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-252.28238.7.2523.14688667
  Visual Studio: Not Found
Languages:
  Java:
    version: 17.0.17
    path: C:\Java17\jdk-17.0.17+10\bin\javac.EXE
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 20.0.0
    wanted: 20.0.0
  react:
    installed: 19.2.0
    wanted: 19.2.0
  react-native:
    installed: 0.83.1
    wanted: 0.83.1
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

[runtime not ready]: Error: Non-js exception: Compiling JS failed: 176351:20:invalid expression, sourceURL:http://localhost:8081/index.bundle?platform=android&dev=true&lazy=true&minify=false&app=com.marungkoreading&modulesOnly=false&runModule=true&excludeSource=true&sourcePaths=url-server,stack:

MANDATORY Reproducer

https://github.com/Ji-ru/Fuller-Reading-Application

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions