Skip to content

Crash on startup after upgrading to React Native 0.82.1 – TypeError: Cannot read property 'prototype' of undefined #55530

@MuraliJms77

Description

@MuraliJms77

Description

After upgrading my existing React Native project to 0.82.1, the application crashes immediately on startup on Android with a red screen error:

[runtime not ready]: TypeError: Cannot read property 'prototype' of undefined

Steps to reproduce

Upgrade an existing React Native project to 0.82.1

Run the app using:

yarn android

App launches
App crashes immediately with a red screen

React Native Version

0.82.1

Affected Platforms

Runtime - Android

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

System:
  OS: macOS 14.x
  CPU: Apple Silicon
  Memory: XX GB
  Shell: zsh

Binaries:
  Node: 22.x
  Yarn: 1.22.x
  npm: 10.x

SDKs:
  Android SDK: Installed

Stacktrace or Logs

[runtime not ready]: TypeError: Cannot read property 'prototype' of undefined
stack:
anonymous@111327:104
loadModuleImplementation@275:13
guardedLoadModule@182:37
metroRequire@96:91
anonymous@148097:30
loadModuleImplementation@275:13
guardedLoadModule@182:37
metroRequire@96:91
anonymous@172102:48
loadModuleImplementation@275:13
guardedLoadModule@182:37
metroRequire@96:91
global@345973:3

MANDATORY Reproducer

https://github.com/facebook/react-native/issues

Screenshots and Videos

Image

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